Virtual networking with 2 Servers

The idea is to have 2 servers each with 2 ethernetcards and a ilo interface, that can be switched manually by bringing the inferface eth1 up on 1 side and down on the other side.

All looks good i can switch from system1 tot system2 and backwards without any problems, all networkinterfaces can be reached with ssh.

However after a period of network inactivity the virtual interface cannot be reached anymore with a ssh session, but iam still able to ping all interfaces
i thougt in stead of ssh lets try telnet on the virtual ip that gives me login, if anyone has a idea it would help me allot.’

This is what i did to get this up and running:
On Linux are no extra packages installed
This is the configuration

System1
HP Proliant DL360 G6
Virtual Status inactive

system1:/etc/sysconfig/network # cat routes
default 10.76.35.10 - -

added the following lines to /etc/sysctl.conf

for the VIP Interface

net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2

contents of the /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO=‘static’
BROADCAST=‘10.76.35.255’
ETHTOOL_OPTIONS=’’
IPADDR=‘10.76.35.42’
MTU=’’
NAME=’’
NETMASK=‘255.255.255.0’
NETWORK=‘10.76.35.0’
REMOTE_IPADDR=’’
STARTMODE=‘onboot’
UNIQUE=‘rBUF.E2l3+2nwDtC’
USERCONTROL=‘no’
_nm_name=‘bus-pci-0000:02:00.0’

contents of the /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO=‘static’
BROADCAST=‘10.76.35.255’
ETHTOOL_OPTIONS=’’
IPADDR=‘10.76.35.41’
MTU=’’
NAME=’’
NETMASK=‘255.255.255.0’
NETWORK=‘10.76.35.0’
REMOTE_IPADDR=’’
STARTMODE=‘off’
USERCONTROL=‘no’

=================================
System2
HP Proliant DL360 G5
Virtual Status Active

system2:/etc/sysconfig/network # cat routes
default 10.76.35.10 - -

added the following lines to /etc/sysctl.conf

for the VIP Interface

net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2

contents of the /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO=‘static’
BROADCAST=‘10.76.35.255’
ETHTOOL_OPTIONS=’’
IPADDR=‘10.76.35.44’
MTU=’’
NAME=’’
NETMASK=‘255.255.255.0’
NETWORK=‘10.76.35.0’
REMOTE_IPADDR=’’
STARTMODE=‘onboot’
UNIQUE=‘rBUF.sWQdX4kVaYC’
USERCONTROL=‘no’
_nm_name=‘bus-pci-0000:03:00.0’

contents of the /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO=‘static’
BROADCAST=‘10.76.35.255’
ETHTOOL_OPTIONS=’’
IPADDR=‘10.76.35.41’
MTU=’’
NAME=’’
NETMASK=‘255.255.255.0’
NETWORK=‘10.76.35.0’
REMOTE_IPADDR=’’
STARTMODE=‘onboot’
USERCONTROL=‘no’
LLADDR=‘D8:D3:85:E1:B4:E1’

The Hardware LLADDR is the physical from system1 eth1, if switching is being done the interface eth1 of system1 will set down the next step is to
bring interface1 of system 2 up.