Re: bonded nic not starting at boot

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

 



  On 09/01/2010 04:39 PM, aragonx@xxxxxxxxxx wrote:
> Hello all,
>
> I am running fedora 12 and have two bonded interfaces.  Everything 
> works fine if I manually start my bonded interface (bond0).  It also 
> works fine if I put (ifup bond0) in /etc/rc.d/rc.local.  However, it 
> refuses to start on boot otherwise and rc.local is kinda late in the 
> boot sequence.  Things that require the network to be running become 
> very unhappy.
>
> NM is not running so that can not be interfering.  I have three 
> systems all using Intel NICs but otherwise different hardware.  They 
> are all having this issue.  What am I missing (ID 10 T error 
> probably)?  As always, any help would be appreciated.
>
> Here is some system information:
>
> # chkconfig|grep Network
> NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
>
> # uname -a
> Linux test 2.6.32.19-163.fc12.x86_64 #1 SMP Wed Aug 18 11:38:54 UTC 
> 2010 x86_64 x86_64 x86_64 GNU/Linux
>
> # cat /etc/modprobe.conf
> alias bond0 bonding
> options bond0 miimon=100 mode=4
>
> # cat ifcfg-bond0
> DEVICE=bond0
> IPADDR=10.64.236.67
> NETMASK=255.255.255.0
> NETWORK=10.64.236.0
> BROADCAST=10.64.236.255
> ONBOOT=yes
> BOOTPROTO=none
> USERCTL=no
> BONDING_OPTS="miimon=100 mode=4"
> NM_CONTROLLED=no
> GATEWAY=10.64.236.1
> TYPE=Ethernet
> IPV6INIT=no
> NAME="system bond0"
> IPV4_FAILURE_FATAL=yes
>
> # cat ifcfg-eth0
> # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
> DEVICE=eth0
> USERCTL=no
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes
> BOOTPROTO=none
> HWADDR=00:14:4F:78:4D:64
> TYPE=Ethernet
> NM_CONTROLLED=no
> IPV6INIT=no
> NAME="system eth0"
> UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
>
> # cat ifcfg-eth1
> # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
> DEVICE=eth1
> USERCTL=no
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes
> BOOTPROTO=none
> HWADDR=00:14:4F:78:4D:65
> NM_CONTROLLED=no
> TYPE=Ethernet
> IPV6INIT=no
> NAME="system eth1"
>
>
> # ifconfig
> bond0     Link encap:Ethernet  HWaddr 00:14:4F:78:4D:64
>           inet addr:10.64.236.67  Bcast:10.64.236.255  Mask:255.255.255.0
>           inet6 addr: fe80::214:4fff:fe78:4d64/64 Scope:Link
>           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
>           RX packets:1097 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:658 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:141477 (138.1 KiB)  TX bytes:137257 (134.0 KiB)
>
> eth0      Link encap:Ethernet  HWaddr 00:14:4F:78:4D:64
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:582 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:77525 (75.7 KiB)  TX bytes:56514 (55.1 KiB)
>
> eth1      Link encap:Ethernet  HWaddr 00:14:4F:78:4D:64
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:516 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:388 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:64012 (62.5 KiB)  TX bytes:80977 (79.0 KiB)
>
> ---
> Will Y.
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean. 

Here is sample from a system here.  Looks very close to yours.  We have 
never had a problem with them coming up ...

[root@kvm1 network-scripts]# cat *bond0
DEVICE=bond0
IPADDR=172.20.17.1
NETMASK=255.255.240.0
MTU=9000
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
BONDING_MASTER="yes"
BONDING_MODULE_OPTS="mode=802.3ad miimon=100"
BONDING_SLAVE0="eth2"
BONDING_SLAVE1="eth3"

[root@kvm1 network-scripts]# cat *eth2
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
MTU=9000

[root@kvm1 network-scripts]# cat *eth3
DEVICE=eth3
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
MTU=9000

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux