Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-22-2005, 06:11 AM   #1
LQ Newbie
Registered: Sep 2004
Distribution: Fedora 4
Posts: 27

Rep: Reputation: 15
eth0 / 1 confused over MAC address??


I'm using Fedora 4 on a firewall box. Had a network problem the other day getting access to the internet.

After pulling my hair out for while I finally managed to sort out the problem. It seemed the two ethernet interfaces confused each others MAC address. I think they may have loaded in a different order.

Anyway, to solve the problem i just clicked the 'probe' using the system-config-network tool. I presume this updated the MAC addresses.

Can anyone shed any light on why this may have occured in the first place and can I hard code the MAC address and interface order to stop this problem reocurring?

Cheers guys,

Old 08-22-2005, 11:41 AM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
# ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
will set the MAC address...just change eth0 to eth1 for the second nic.

Not familiar with Fedora, but you will have to hack your network initscripts to save from doing this manually at boot.
Old 08-22-2005, 12:10 PM   #3
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
The first network module to load gets to be eth0
Depending on your scripts and when the modules are loaded it is possible one could beat the other sometimes and swap the eth order..
If they are different, make sure they are defined in /etc/modules.conf, eg
alias eth0 8139too
alias eth1 via-rhine

If both cards use the same module it gets interesting..
Old 08-22-2005, 12:36 PM   #4
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
And this link has some answers..


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
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 08:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 11:21 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 09:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:12 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