Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

EthX don't become up during startup

Posted on 2008-10-21
3
285 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

839 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