Solved

EthX don't become up during startup

Posted on 2008-10-21
3
283 Views
Last Modified: 2013-12-15
In my envirnment with RedHat Linux the eth0 and arh1 are configured in bonding in bond0.

here the configuration:
# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.130.15.22
NETMASK=255.255.255.192
GATEWAY=10.130.15.1
# cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
# cat ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
ETHTOOL_OPTS="autoneg off speed 100 duplex full"


When the operating system startup the eth0 and eth1 don't come up and I need to give the command:
ifconfig eth0 up
ifconfig eth1 up
to make it working.

in boot.log i see:
Oct 20 12:14:14 t1nlas2a sysctl: net.ipv4.ip_forward = 0
Oct 20 12:14:14 t1nlas2a sysctl: net.ipv4.conf.default.rp_filter = 1
Oct 20 12:14:14 t1nlas2a sysctl: kernel.sysrq = 0
Oct 20 12:14:14 t1nlas2a sysctl: kernel.core_uses_pid = 1
Oct 20 12:14:14 t1nlas2a network: Setting network parameters:  succeeded
Oct 20 12:14:14 t1nlas2a network: Bringing up loopback interface:  succeeded
Oct 20 12:14:17 t1nlas2a ifup: Enslaving eth0 to bond0
Oct 20 12:14:17 t1nlas2a ifup: Enslaving eth0 to bond0
Oct 20 12:14:17 t1nlas2a ifup: Enslaving eth1 to bond0
Oct 20 12:14:18 t1nlas2a ifup: Enslaving eth1 to bond0
Oct 20 12:14:18 t1nlas2a network: Bringing up interface bond0:  succeeded
Oct 20 12:14:18 t1nlas2a tune_vm: Setting the VM Inactive Clean Percent value to 100
Oct 20 12:14:18 t1nlas2a rc: Starting tune_vm:  succeeded
Oct 20 12:17:39 t1nlas2a ntpd:  failed
Oct 20 12:17:40 t1nlas2a ntpd: ntpd startup succeeded

in
messages:
Oct 20 12:16:25 t1nlas2a kernel: ip_tables: (C) 2000-2002 Netfilter core team
Oct 20 12:16:25 t1nlas2a kernel: Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)
Oct 20 12:16:25 t1nlas2a kernel: bonding: MII link monitoring set to 100 ms
Oct 20 12:16:25 t1nlas2a kernel: ip_tables: (C) 2000-2002 Netfilter core team
Oct 20 12:16:25 t1nlas2a kernel: tg3.c:v3.52RH (Mar 06, 2006)
Oct 20 12:16:25 t1nlas2a kernel: eth0: Tigon3 [partno(349321-001) rev 2100 PHY(5704)] (PCIX:66MHz:64-bit) 10/100/1000BaseT Ethernet 00:17:a4:a9:d5:f0
Oct 20 12:16:25 t1nlas2a kernel: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1] TSOcap[0]
Oct 20 12:16:25 t1nlas2a kernel: eth0: dma_rwctrl[769f0000]
Oct 20 12:16:25 t1nlas2a kernel: eth1: Tigon3 [partno(349321-001) rev 2100 PHY(5704)] (PCIX:66MHz:64-bit) 10/100/1000BaseT Ethernet 00:17:a4:a9:d5:ef
Oct 20 12:16:25 t1nlas2a kernel: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
Oct 20 12:16:25 t1nlas2a kernel: eth1: dma_rwctrl[769f0000]
Oct 20 12:16:25 t1nlas2a kernel: bonding: bond0: enslaving eth0 as a backup interface with a down link.
Oct 20 12:16:25 t1nlas2a kernel: bonding: bond0: enslaving eth1 as a backup interface with a down link.


How could I solve the problem?
Thanks
0
Comment
Question by:nokiamobile
3 Comments
 
LVL 3

Expert Comment

by:Ricardo Elena
ID: 22768252
An easy way is to write:
ifconfig eth0 up
ifconfig eth1 up

in the file /etc/rc.local and restart
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 22768854
did you put the bond parameters in the modprobe.conf?

also I like to put the mac addresses in
ifcfg-eth0
ifcfg-eth1
0
 

Accepted Solution

by:
nokiamobile earned 0 total points
ID: 22840933
The correct solution was to delete al
ifcfg-eth0*
ifcfg-eth1*
files
there was some ifcfg-ethX.orig in the directory.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now