Link to home
Start Free TrialLog in
Avatar of c_hockland
c_hocklandFlag for Greece

asked on

how to add a secondary IP on a linux server with bonding card

Hi ,

I need to add a secondary IP on the linux server but here is what the bond file ifcfg-bond0
 has :
DEVICE=bond0
BONDING_OPTS="mode=1 miimon=100 downdelay=200 updelay=200"
IPADDR=10.58.20.81
NETWORK=10.58.20.0
NETMASK=255.255.255.0
BROADCAST=10.58.20.255
IPV6INIT=yes
IPV6_AUTOCONF=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

the eth0 and eth1 looki like this :

#Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes
ETHTOOL_OPTS="speed 1000 duplex full"


Any ideas how to add the secondary IP ? I suspect it has to be added to the bond file.

Oh , btw, i am  talking about RHEL here..

thanks.
ASKER CERTIFIED SOLUTION
Avatar of nmitev
nmitev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial