I would like to add a virtual interface to an existing bonded interface. Can I accomplish by modifying the configuration file as shown below? If not, how do I do it? Also, is there a way to ifup this virtual interface independent of bond0 itself?
Thanks.
more /etc/sysconfig/network/ifcfg-bond0
BONDING_MASTER=‘yes’
BONDING_MODULE_OPTS=‘mode=active-backup miimon=100’
BONDING_SLAVE0=‘eth0’
BONDING_SLAVE1=‘eth2’
BOOTPROTO=‘static’
BROADCAST=’’
ETHTOOL_OPTIONS=’’
IPADDR=‘192.168.1.7/24’
MTU=’’
NAME=’’
NETWORK=’’
REMOTE_IPADDR=’’
STARTMODE=‘auto’
USERCONTROL=‘no’
# new virtual interface
IPADDR_V1=Â192.168.1.8′
NETMASK_V1=Â255.255.255.0′
BROADCAST_V1=Â192.168.1.255′