Find the answer to your Linux question:
Results 1 to 3 of 3
I'm having an issue with dual networking on RHEL 5, would love some advice/guidance. My initial question is can the order the ethx (0,1) devices are brought up be changed ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    4

    RHEL 5 dual networking issue...solved

    I'm having an issue with dual networking on RHEL 5, would love some advice/guidance.

    My initial question is can the order the ethx (0,1) devices are brought up be changed at boot time, so I could bring up eth1 before eth0?


    Some background:
    eth0 is DHCP'd and using DNS, basically this is my primary network.
    eth1 is an isolated subnet, with a manually configured IP which has no connection to eth0 or the outside world.

    When I bring up networking it first brings up eth0 and then eth1, what happens is eth1 becomes the 'primary' network of the host and I lose my connection to DNS/NFS/NIS and the outside world.

    If I login and manually bring up eth1 first, then eth0 everyone is happy and connections work.


    So, I'm looking for a solution to either bring up eth1 before eth0 or somehow make eth0 my primary IP and not have it be clobbered by eth1.

    Any ideas? Thanks in advance.

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Location
    Edmonton, Canada
    Posts
    34
    The problem you are seeing is likely caused by the gateway and possibly dns entries defined for eth1 is overriding the DHCP info that was received by eth0 .

    Check your configs for eth1 and see if you have either a gateway and/or dns entries defined. If you do, try removing those entries and reboot.

    Use the route command to view your routing table. From it, you can determine which interface is your 'Primary' and why it is.

    Hope it helps

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    4
    Quote Originally Posted by jselover View Post
    The problem you are seeing is likely caused by the gateway and possibly dns entries defined for eth1 is overriding the DHCP info that was received by eth0 .

    Check your configs for eth1 and see if you have either a gateway and/or dns entries defined. If you do, try removing those entries and reboot.

    Use the route command to view your routing table. From it, you can determine which interface is your 'Primary' and why it is.

    Hope it helps
    Ah-hah! You my friend are a genius.

    Removing the gateway entry resolved the problem.

    Thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...