Difference between revisions of "Unbinding MAC Addresses on Fedora"

From CDOT Wiki
Jump to: navigation, search
Line 9: Line 9:
 
# Select the '''Hardware''' tab and uncheck the box labeled '''Bind to MAC address''', then click '''Ok'''.<br />[[Image:Ops235-network-mac-3.png]]
 
# Select the '''Hardware''' tab and uncheck the box labeled '''Bind to MAC address''', then click '''Ok'''.<br />[[Image:Ops235-network-mac-3.png]]
 
# Select File>Save.
 
# Select File>Save.
 +
# Delete the file <code>/etc/udev/rules.d/70-persistent-net-rules</code> by entering this command as root: <code>rm /etc/udev/rules.d/70-persistent-net.rules</code>
 
# Reboot your system.
 
# Reboot your system.

Revision as of 08:53, 20 September 2010

Note.png
Fedora 12
These instructions are written for Fedora 12 but should apply to other Fedora releases.

By default, Fedora binds ethernet interfaces (such as eth0) to a MAC address (specific network interface card/NIC). This is useful, because if a NIC is added, it will be assigned a new ethernet interface (instead of bumping the existing eth0 to eth1). However, this causes problems when you use a removable disk drive and move it from one computer to another.

To unbind the interace from the MAC address:

  1. Start the system-config-network tool (on the menus under System>Administration>Network).
    Ops235-network-mac-1.png
  2. Double-click on the eth0 device.
    Ops235-network-mac-2.png
  3. Select the Hardware tab and uncheck the box labeled Bind to MAC address, then click Ok.
    Ops235-network-mac-3.png
  4. Select File>Save.
  5. Delete the file /etc/udev/rules.d/70-persistent-net-rules by entering this command as root: rm /etc/udev/rules.d/70-persistent-net.rules
  6. Reboot your system.