Re: Re: NIC Bonding: Slaves don't come up on network restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Duran,

    Suppose 192.168.0.88 is the bonding ip, and 192.168.0.1 is your gateway,
the script is :

/sbin/modprobe bonding miimon=100 mode=1 
/sbin/ifdown eth0 
/sbin/ifdown eth1 
/sbin/ifconfig bond0 192.168.0.88 
/sbin/ifenslave bond0 eth0 eth1 
/sbin/route add default gw 192.168.0.1 


======= 2003-12-19 16:49:00 Quote from your mail =======

>This doesn't work for us. We have the following configuration:
>
>/etc/modules.conf -
>alias parport_lowlevel parport_pc
>alias eth0 e1000
>alias eth1 e1000
>alias eth2 tg3
>alias eth3 tg3
>alias scsi_hostadapter aic7xxx
>alias scsi_hostadapter1 megaraid
>alias usb-controller usb-ohci
>alias bond0 bonding
>
>/etc/sysconfig/network -
>NETWORKING=yes
>GATEWAY=10.1.1.1
>GATEWAYDEV=bond0
>
>/etc/sysconfig/network-scripts/ifcfg-bond0 -
>DEVICE=bond0
>BOOTPROTO=none
>ONBOOT=yes
>BROADCAST=10.1.255.255
>IPADDR=10.1.5.1
>NETMASK=255.255.0.0
>NETWORK=10.1.0.0
>
>/etc/sysconfig/network-scripts/ifcfg-bond0:9 -
>DEVICE=bond0:9
>BOOTPROTO=none
>ONBOOT=yes
>IPADDR=10.1.5.52
>NETMASK=255.255.0.0
>GATEWAY=10.1.1.1
>
>/etc/sysconfig/network-scripts/ifcfg-bond0:110 -
>DEVICE=bond0:110
>BOOTPROTO=none
>ONBOOT=yes
>IPADDR=10.1.5.53
>NETMASK=255.255.0.0
>GATEWAY=10.1.1.1
>
>/etc/sysconfig/network-scripts/ifcfg-eth0 -
>DEVICE=eth0
>BOOTPROTO=none
>ONBOOT=yes
>MASTER=bond0
>SLAVE=yes
>USERCTL=no
>
>/etc/sysconfig/network-scripts/ifcfg-eth1 -
>DEVICE=eth1
>BOOTPROTO=none
>ONBOOT=yes
>MASTER=bond0
>SLAVE=yes
>USERCTL=no
>
>(eth2 and eth3 aren't in use).
>
>"service network restart" doesn't bring up the slaves.
>
>regards,
>-richard
>
>
>On Fri, 2003-12-19 at 16:03, Bill Nottingham wrote:
>> Richard Duran (rduran@xxxxxxxxxxxxxxxxxxx) said: 
>> > Is it expected behavior for the slave NICs not to be ifup'ed at restart?
>> > The loop in /etc/rc.d/init.d/network that iterates over the NICs
>> > "continues" over the slaves, but they don't seem to be activated later
>> > in the script.
>> 
>> The ifup for the master brings up the slaves.
>> 
>> Bill
>> 
>> 
>> --
>> fedora-list mailing list
>> fedora-list@xxxxxxxxxx
>> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
>--
>fedora-list mailing list
>fedora-list@xxxxxxxxxx
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

==================================================


hutuworm








[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux