Difference between revisions of "Unbinding MAC Addresses on Fedora"

From CDOT Wiki
Jump to: navigation, search
(Created page with '{{Admon/note|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...')
 
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Admon/note|Fedora 12|These instructions are written for Fedora 12 but should apply to other Fedora releases.}}
+
[[Category:Fedora]][[Category:OPS235]][[Category:OPS335]]{{Admon/note|Fedora 12/13/14|These instructions are written for Fedora 12 and 13 but should apply to earlier Fedora releases. Fedora 15 utilizes a new persistent naming scheme, and interfaces may be named differently than in previous 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.
 
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.
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.

Latest revision as of 16:27, 6 September 2011

Note.png
Fedora 12/13/14
These instructions are written for Fedora 12 and 13 but should apply to earlier Fedora releases. Fedora 15 utilizes a new persistent naming scheme, and interfaces may be named differently than in previous 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.