LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-03-2010, 12:20 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question Why changing of mac address isn't recommended ?


Hi all,


Why changing of mac address isn't recommended ?

The possible reasons that i can find is

1) it can break firewalls
2) it can break some DHCP implementations ?


Is there any other reasons that i have missed ?
 
Old 09-03-2010, 01:51 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I don't think you're likely to break a firewall or dhcp but you could stop your machine, another machine or all machines from communicating within or outside the network.

cheers
 
Old 09-03-2010, 08:59 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
it could break the firewall or DHCP on the user end. If static DHCP is used a MAC address change could prevent the proper IP from being assigned, and again some firewalls, and access point use MAC address filtering, changing it would prevent that from working properly, most likely resulting in no Internet connection on the affected computer. But other than for spoofing for penetration testing, security testing, or for nefarious purposes why would someone change the MAC address?

Oh yea forget udev also relies on the MAC address to assign the proper device name to the NIC i.e. eth0, eth1, etc....
 
Old 09-04-2010, 12:37 AM   #4
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Red face

Quote:
Originally Posted by kbp View Post
I don't think you're likely to break a firewall or dhcp but you could stop your machine, another machine or all machines from communicating within or outside the network.

cheers
An example situation is given in the book "Linux system administration book" by evi nemeth et al as follows


At one time , 3com duplicated ethernet numbers among cards with different types of network connectors; they assumed that customers would order only a single type, this shortcut raised havoc at sites that were transitioning bw media and even caused problems on 3coms own internal network. mac address conflicts are deadly on the same nw
 
Old 09-04-2010, 03:50 AM   #5
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Question

Quote:
Originally Posted by scheidel21 View Post

Oh yea forget udev also relies on the MAC address to assign the proper device name to the NIC i.e. eth0, eth1, etc....
Does that mean if we cahnge the mac address udev will assign a new device name to the NIC ?
 
Old 09-04-2010, 05:18 PM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by sulekha View Post
Does that mean if we cahnge the mac address udev will assign a new device name to the NIC ?
Yes it does, trust me I learned that one the hard way. Using a virtual machine the VM description got corrupted so I had to create a new VM description. The MAC address was not the same and when I tried to bring up eth0 the device was not found...WTF After some research and looking through a few files I found that indeed it was because the MAC address was different. When udev ran at boot it didn't find the MAC address associated with eth0 and created a new eth1. This is required or your eth devices would be all mixed up and static entries would end up on the wrong NIC.
 
  


Reply



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
changing mac address ashruf Linux - Networking 1 05-02-2010 05:49 PM
Changing MAC address help darkstar01 Debian 5 08-11-2009 11:41 AM
Changing MAC address. vigneshke Linux - Networking 5 06-20-2009 05:08 PM
Changing your MAC address kamransoomro84 Linux - General 3 04-22-2006 06:42 AM
Changing my Mac address griggt Linux - Networking 3 07-26-2005 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration