# Virtual networking with 2 Servers

**URL:** <https://forums.suse.com/t/virtual-networking-with-2-servers/24020>\
**Category:** SLES High Availability Extension\
**Created:** [May 31, 2013, 1:45pm UTC](https://forums.suse.com/t/virtual-networking-with-2-servers/24020 "2013-05-31T13:45:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheoV](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@TheoV](https://forums.suse.com/u/TheoV)\
**Post date:** [May 31, 2013, 1:45pm UTC](https://forums.suse.com/t/virtual-networking-with-2-servers/24020/1 "2013-05-31T13:45:28Z")

</div>

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.
