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

G.6.1 Network address

Check that the network address has been set correctly. The virtual IP addresses of the local system and the communication target should be different network addresses.

Figure G.1 Adjacent configuration

Confirmation method

# /opt/FJSVhanet/usr/sbin/hanetconfig print
snip..
 Name        Hostname        Mode Physical ipaddr   Interface List
+-----------+---------------+----+-----------------+---------------------------+
 sha0        192.168.110.10   c                     eth0,eth1

# /opt/FJSVhanet/usr/sbin/hanetobserv print
snip..
 Destination Host Virtual Address     (Router Address+)NIC Address
+----------------+-------------------+--------------------------------+
 GS               192.168.120.20      192.168.10.20,192.168.20.20

# /opt/FJSVhanet/usr/sbin/hanetmask print
 network-address netmask
+---------------+---------------+
 192.168.110.0   255.255.255.0

# /opt/FJSVhanet/usr/sbin/hanetgw print
ifname  GW Address
+------+----------------+
 sha0   192.168.110.254

# cat /etc/sysconfig/network-scripts/route-sha0
GATEWAY0=192.168.110.254
NETMASK0=255.255.255.255
ADDRESS0=192.168.120.20

Figure G.2 Remote configuration

Confirmation method

# /opt/FJSVhanet/usr/sbin/hanetconfig print
snip..
 Name        Hostname        Mode Physical ipaddr   Interface List
+-----------+---------------+----+-----------------+---------------------------+
 sha0        192.168.110.10   c                     eth0,eth1

# /opt/FJSVhanet/usr/sbin/hanetobserv print
snip..
 Destination Host Virtual Address     (Router Address+)NIC Address
+----------------+-------------------+--------------------------------+
 GS               192.168.120.20      192.168.30.20,192.168.40.20

# /opt/FJSVhanet/usr/sbin/hanethvrsc print
 ifname     takeover-ipv4    takeover-ipv6     logical ip address list
+----------+----------------+----------------+--------------------------------+
 sha0:65    192.168.110.10   -                192.168.10.11,192.168.20.11

# /opt/FJSVhanet/usr/sbin/hanetmask print
 network-address netmask
+---------------+---------------+
 192.168.110.0   255.255.255.0
 192.168.10.0    255.255.255.0
 192.168.20.0    255.255.255.0

# /opt/FJSVhanet/usr/sbin/hanetgw print
 ifname  GW Address
+------+----------------+
 sha0   192.168.110.254

# cat /etc/sysconfig/network-scripts/route-sha0
GATEWAY0=192.168.110.254
NETMASK0=255.255.255.255
ADDRESS0=192.168.120.20
# cat /etc/sysconfig/network-scripts/route-eth0
GATEWAY0=192.168.10.254
NETMASK0=255.255.255.0
ADDRESS0=192.168.30.20
# cat /etc/sysconfig/network-scripts/route-eth1
GATEWAY0=192.168.20.254
NETMASK0=255.255.255.0
ADDRESS0=192.168.40.20

Note that if you want to use multiple virtual interfaces, you need to set different network addresses between virtual IP addresses.

Confirmation method

# /opt/FJSVhanet/usr/sbin/hanetconfig print
snip..
 Name        Hostname        Mode Physical ipaddr   Interface List
+-----------+---------------+----+-----------------+---------------------------+
 sha0        192.168.110.10   c                     eth0,eth1
 sha1        192.168.111.10   c                     eth0,eth1

# /opt/FJSVhanet/usr/sbin/hanetmask print
 network-address netmask
+---------------+---------------+
 192.168.110.0   255.255.255.0
 192.168.111.0   255.255.255.0

# /opt/FJSVhanet/usr/sbin/hanetgw print
 ifname  GW Address
+------+----------------+
 sha0   192.168.110.254
 sha1   192.168.111.254