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]#
|