LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 01-20-2017, 09:35 AM   #1
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Rep: Reputation: Disabled
Question Same MAC for Multiple computers on same network


Can i run multiple computers/servers having same MAC address on same network?? Is it possible in centos or any other distro?
Any help in this regard will be highly appreciated.
Thank you
 
Old 01-20-2017, 10:59 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,113

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
No - your switch would not accept the conflict and either disconnect the currently connected computer before connecting the new one or just refuse to connect the new one. My memory ( ... yowch - so long ago ...) of the OSI networking model is that MAC is controlled at the physical sublevel of level 2 ... So it's OS-independant - wouldn't work in any environment.

I'm curious, though, under what conditions would you want this to happen ? I assume you're talking about virtual machines, since no 2 network interface adapters / chips would have the same physical MAC address.

Last edited by Rickkkk; 01-22-2017 at 12:22 PM. Reason: Typos
 
Old 01-20-2017, 11:15 AM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,554

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
See http://xmodulo.com/spoof-mac-address...ace-linux.html
For physical MAC address spoofing.
I've not tried it.

Note that IPV6 (as implemented by some ISP's) incorporates your routers internet facing MAC address into the internet IP address.
 
Old 01-20-2017, 11:50 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
I've used some embedded systems with software defined MAC addresses, right out of the gate they're all defined with the same MAC. It's a networking nightmare until you split them up. It has nothing to do with the OS running on the system.
 
1 members found this post helpful.
Old 01-20-2017, 11:57 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,045
Blog Entries: 13

Rep: Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491
Yes you can change your MAC address, however as pointed out, having them on the same network will cause conflicts.

The MAC address is the physical address as far as the network cares. Literally CSMA-CD is used where a frame is sent to that physical address and CSMA-CD means "Carrier Sense Multiple Access, with Collision Detect" where the address in question which responds first to the frame for it, will then result in the device obtaining network bandwidth in order to talk. Thus you'll have conflicting devices attempting to speak on the line at the same time. This will not be helpful for your network, it will be a very blocking issue due to interference from all the duplicate stations.

Look up how MAC physical access works in networks.
 
Old 01-22-2017, 10:39 AM   #6
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
I'm curious, though, under what conditions would you want this to happen ? I assume you're talking about virtual machines, since no 2 network interface adapters / chips would have the same physical MAC address.
We have purchased very costly software for one MAC only, so the idea is to run it on multiple computers on the same network with same MAC but different IP addresses for test purpose.
 
Old 01-22-2017, 10:43 AM   #7
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Note that IPV6 (as implemented by some ISP's) incorporates your routers internet facing MAC address into the internet IP address.
We are currently using this method of MAC spoofing, and using this technology now two computers on our offline-network (Not connected to internet) having same MAC. Is there anyway to run them both on same Network without messing the whole network?
 
Old 01-22-2017, 10:46 AM   #8
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
I've used some embedded systems with software defined MAC addresses, right out of the gate they're all defined with the same MAC. It's a networking nightmare until you split them up. It has nothing to do with the OS running on the system.
Can you play explain this in a little bit detail, as my problem is i have purchased license for 1 MAC only, but i want it to run it on 2 MAC addresses on the same network, is there any way to achieve that goal?
 
Old 01-22-2017, 10:53 AM   #9
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Yes you can change your MAC address, however as pointed out, having them on the same network will cause conflicts.

The MAC address is the physical address as far as the network cares. Literally CSMA-CD is used where a frame is sent to that physical address and CSMA-CD means "Carrier Sense Multiple Access, with Collision Detect" where the address in question which responds first to the frame for it, will then result in the device obtaining network bandwidth in order to talk. Thus you'll have conflicting devices attempting to speak on the line at the same time. This will not be helpful for your network, it will be a very blocking issue due to interference from all the duplicate stations.

Look up how MAC physical access works in networks.
Lets say my Computer is originally having MAC (A) but i want it to use MAC (B) because i have purchased license for this MAC but the problem is there is already a computer using MAC (B), so definitely my switch will create alot of networking problems for me if i put them both on the same network at the same time. Because switch use MAC addresses for data transmission.
Is there a way to bypass this, i mean can i use two MAC addresses, original MAC MAC (A) to pass my traffic to the switch without causing any network issues and MAC (B) to run my software at computer level?
 
Old 01-22-2017, 11:25 AM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,554

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
https://en.wikipedia.org/wiki/Addres...ution_Protocol
has a some details on how a network uses MAC addresses.
 
Old 01-22-2017, 11:31 AM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,365

Rep: Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258
I would suggest asking the people you bought the software from whether it's possible to have an evaluation copy at either no cost or a lower cost. If it's possible that you'll end up purchasing more copies depending upon the results of your tests they should want to accommodate you in order to win future business.
 
Old 01-22-2017, 12:01 PM   #12
zaheerabbas1988
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
I would suggest asking the people you bought the software from whether it's possible to have an evaluation copy at either no cost or a lower cost. If it's possible that you'll end up purchasing more copies depending upon the results of your tests they should want to accommodate you in order to win future business.
I have talked with their support team, they are asking for to buy full license which is about 60K $. So...
 
Old 01-22-2017, 12:06 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,365

Rep: Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258
Quote:
Originally Posted by zaheerabbas1988 View Post
I have talked with their support team, they are asking for to buy full license which is about 60K $. So...
Hmm, sounds a little unreasonable behaviour towards a potential customer, shame you can't go elsewhere.
If you're willing to buy a router or have one lying around you might be able to get away with having the same MAC address on two devices if they're on different LANs since the router will move packets based upon IP subnet and not MAC address like a switch would.
 
Old 01-22-2017, 12:17 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,029

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
Is there a license agreement that you are only allowed to run the program on one computer only or one computer on the network? I assume the software company is using the MAC as some form of licensing measure and I consider this a violation of the LQ rules.

Quote:
Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
 
Old 01-22-2017, 12:34 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,135

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
wouldn't having the same MAC for two or more be an violation of Logic? (for lack of better term)
Because a MAC address is just that an address. it is like a address to a house, if two houses have the same address then a confusion is a result of it because one would not know which house is suppose to actually get the mail.

If the intent is to confuse a receiver when it asks, where did this come? then having to trace back to find out. Well then ....
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
check disk space of multiple computers in a network linuxque Linux - Newbie 5 01-22-2013 12:45 PM
[SOLVED] SSH on multiple computers in the same network Choragos Linux - Server 8 12-30-2010 10:52 AM
ANNOYING FREEZES: Happens on multiple distributions on multiple computers. keithieopia Linux - Software 26 02-23-2009 02:36 PM
Same MAC with Multiple IP address: Network slow debyani Linux - Server 2 08-04-2007 10:24 AM
Four computers through one MAC address. marcusshirley Linux - Networking 12 08-01-2006 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration