old blog,

Binding eth device to a MAC address

Izhar Firdaus Izhar Firdaus Follow Support Jul 10, 2006 · 1 min read
Binding eth device to a MAC address
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Having multiple network cards can be a little confusing. The device associated with an eth device might got mixed up when you change your kernel. Here is a little guide to overcome this.

1st : Getting the MAC address

run /sbin/ifconfig , copy HWaddr value and figure out which network card it belongs to.

eth0 Link encap:Ethernet HWaddr 00:E0:4C:43:D8:80

2nd : Edit the conf

as root, open /etc/sysconfig/networking/devices/ifcfg-ethN (N is the number of your eth device) using your favourite text editor. Add this key into the configuration:

HWADDR=device-MAC-address
3rd : Restart computer

restart the computer to apply the bind. (if you are very good in kernel modules, you can try to apply the setting without restarting)



Reference

http://www.redhat.com/archives/redhat-list/2003-August/msg00817.html
Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

MyOSS July Meetup

Just returned from MyOSS July Meetup at SEACEM, Bangsar. The main topic for this meetup is the OLPC project (a.k.a MIT's USD$100 Lapt...

In old blog, Jul 07, 2006

« Previous Post

Ks-X LiveCD - Build Start

(the title is a little bit out-of-sync ... bcoz i've started this a few days ago)I'm creating a liveCD based on Fedora 5 ( http://fed...

In old blog, Jul 14, 2006

Next Post »