Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2008, 05:49 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
Network Interfaces wont take proper IP assignment

When I reboot my server both eth0 and eth1 have the same ip address. A clip of my dmesg shows:

eth0: RealTek RTL8139 at 0xf88c4c00, 00:0e:2e:5a:33:52, IRQ 19
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

forcedeth 0000:00:07.0: ifname eth1, PHY OUI 0x20 @ 1, addr 00:1d:92:e1:9d:2d

udev: renamed network interface eth1 to eth0
udev: renamed network interface eth0_rename to eth1

why is my eth1 being forced, and causing the interfaces to be renamed.

Traffic seems to move normal but both eth0 and eth1 are reporting as the same IP address
Old 07-24-2008, 06:09 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
What distribution? Do you have the HWADDR specified in the ifcfg scripts for each device?
Old 07-24-2008, 08:45 PM   #3
LQ Newbie
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
New Install Fedora 9

I've tried it with and without HWADDR specified, either way Both eth0 and eth1 have the same ip address. It is a clean install of Fedora 9 running openvpn and shorewall
Old 07-25-2008, 08:07 AM   #4
LQ Newbie
Registered: Feb 2008
Posts: 9

Rep: Reputation: 0
Does your system having 2 NIC cards ?
Try moving /etc/network-scripts/ifcfg-eth1 to some other and then restart restart network service. See if it still detects second NIC card which you moved.

- nilesh
Old 07-25-2008, 09:28 AM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Check the udev rules for your network interfaces...

you can use rules to force a specific name to a specific interface, which may help resolve your IP addressing issue.
There is probably a dynamically generated rule in place that is causing the interface rename currently.

You may want to take a look at /etc/udev/rules.d/z25_persistent-net.rules
Old 07-25-2008, 03:33 PM   #6
LQ Newbie
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Just when you think you've got it....

Well this is new to me. It seems anaconda wrote to /etc/udev/70-persistent-net.rules rules that are causing the interfaces to reassign after boot which was causing the issue, I fixed the rules all is well now. Thanks for help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
two nics; inconsistent network interface number assignment schatoor Linux - General 2 02-14-2007 10:25 AM
Realtek Network Card - IP Assignment Problem qs_tahmeed Solaris / OpenSolaris 13 02-02-2006 02:38 AM
network interface assignment, how? Oxyacetylene Linux - Networking 0 06-18-2004 11:47 AM
S/W Packaging wont show proper rpm DB pgmer6809 Mandriva 0 05-01-2004 07:57 PM
Network interfaces assignment problem Perdido Linux - Networking 5 04-24-2004 04:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:06 AM.

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