Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function

G.2.6 Subnet mask settings

Execute the "hanetmask" command for the IP address used by GLS to check that the subnet mask has been set.

Confirmation method

Check that the subnet mask for the IP address that is displayed with the "hanetconfig print" command and "hanethvrsc print" command has been set correctly. Otherwise, the net mask that matches the class of each IP address will be set. For example, 255.0.0.0 is assigned to a Class A IP address.

# /opt/FJSVhanet/usr/sbin/hanetconfig print
[IPv4,Patrol / Virtual NIC]

 Name        Hostname        Mode Physical ipaddr   Interface List
+-----------+---------------+----+-----------------+---------------------------+
 sha0        192.168.10.10    t                     eth1,eth2
 sha1        192.168.11.10    d   192.168.11.10     eth3,eth4
 sha2        192.168.100.10   c                     eth5,eth6

# /opt/FJSVhanet/usr/sbin/hanethvrsc print
 ifname     takeover-ipv4    takeover-ipv6     logical ip address list
+----------+----------------+----------------+--------------------------------+
 sha0:65    192.168.10.110   -                -
 sha1:65    192.168.11.10    -                -
 sha2:65    192.168.100.10   -                192.168.12.1,192.168.14.1

# /opt/FJSVhanet/usr/sbin/hanetmask print
network-address netmask
+---------------+---------------+
 192.168.10.0    255.255.255.0
 192.168.11.0    255.255.255.0
 192.168.100.0   255.255.255.0
 192.168.12.0    255.255.255.0
 192.168.14.0    255.255.255.0