NIC Card Mapping
Hi all,
I have two NIC cards in my system. However, NIC1 is assigned to eth1 and NIC2 is assigned to eth0. Beside manually swap MAC address from /etc/udev/rules.d/70-persistent-net.rules to make it change NIC1 to eth0 and NIC2 to eth2, there is another way? When and where the system detect the nic card at boot up and assign to the port? I am running Fedora 10. Thanks in advance. |
I don't know what you have against udev, but if you the two nics use different drivers, you would try modprobe'ing the drivers in the order that you want the devices named. Another option is a tool called ifrename: that is what I used to use back in the dark ages.
Evo2. |
I just reread your post:
Quote:
Evo2. |
The udev way is the easiest one, it can't get easier than that. Just edit a text file, and reboot (rebooting perhaps not needed?). Or you're looking for a point-and-click interface for that?
|
Just restarting udev should be enough.
Cheers, Evo2 |
Quote:
|
Set the MAC addresses in the eth cfg files. What distro is this?
|
Quote:
Code:
ifconfig eth0 hw ether 00:11:22:33:44:55 Evo2. |
I finally use ifrename with specific config. The reason I like to setup this way is because I am going to setup multiple units having the same hardware. Thanks all for your comments and suggestions.
-nodopro |
All times are GMT -5. The time now is 07:35 AM. |