LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2009, 12:53 AM   #1
kanth001
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Not able to detect slave interface


Hi please give me suggestion why it is failing to detect slave interfaces and DHCP is failing to allocate IP for bond interface, why?

[root@localhost network-scripts]# cat /etc/modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 ata_piix
alias scsi_hostadapter3 ahci
alias scsi_hostadapter4 usb-storage
alias peth0 e1000
alias peth2 e1000
options e1000 RxDescriptors=4096,4096,4096,4096 TxDescriptors=4096,4096,4096,4096
alias eth4 e1000
alias eth5 e1000
alias eth6 e1000
alias eth7 e1000

alias bond0 bonding
options bond0 miimon=100 mode=4 lacp_rate=1

[root@localhost network-scripts]# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
TYPE=Bonding
#XMIT_HASH_POLICY=layer2
[root@localhost network-scripts]# cat ifcfg-eth4
# Intel Corporation 82571EB Gigabit Ethernet Controller (Copper)
DEVICE=eth4
ONBOOT=yes
BOOTPROTO=dhcp
MASTER=bond0
#HWADDR=00:15:17:8a:37:c8
TYPE=Ethernet
USERCTL=no
SLAVE=yes
#IPV6INIT=no
#PEERDNS=yes
#ETHTOOL_OPTS="speed 1000 duplex full"
[root@localhost network-scripts]# cat ifcfg-eth5
# Intel Corporation 82571EB Gigabit Ethernet Controller (Copper)
DEVICE=eth5
ONBOOT=no
BOOTPROTO=dhcp
MASTER=bond0
SLAVE=yes
#HWADDR=00:15:17:8a:37:c9
TYPE=Ethernet
USERCTL=no
#IPV6INIT=no
#PEERDNS=yes
#ETHTOOL_OPTS="speed 1000 duplex full"
[root@localhost network-scripts]#


[root@localhost network-scripts]# /sbin/modprobe bonding
[root@localhost network-scripts]# service network restart
Shutting down interface eth1: [ OK ]
Shutting down interface eth2: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface bond0: e1000 device eth4 does not seem to be present, delaying initialization.
e1000 device eth5 does not seem to be present, delaying initialization.
Determining IP information for bond0... failed; no link present. Check cable?
[FAILED]
Bringing up interface eth1: [ OK ]
Bringing up interface eth2:
Determining IP information for eth2... done.
[ OK ]
[root@localhost network-scripts]#
 
Old 12-18-2009, 09:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Very similar to your other post about channel bonding...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How NET_TX_SOFTIRQ select network interface when multiple interface exits Mr.J Linux - Kernel 0 06-02-2009 11:17 AM
WPA support through 'ndiswrapper' interface is deprecated; use 'wext' interface lavie Linux - Wireless Networking 1 12-04-2006 11:13 AM
my system can't detect my wireless interface emanresu Linux - Wireless Networking 2 07-19-2006 01:18 PM
How to detect an interface is DHCP enabled ? manishpatidar Linux - Networking 3 07-06-2006 06:15 PM
CentOS can't detect my slave HDD twysm cAos 1 05-05-2005 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration