Is there a way to “Pass through” a MAC address on a Cisco Switch?

Is there a way to “Pass through” a MAC address on a Cisco Switch?



We have two systems connected together, and the end system (system 2) relies on differentiating packets via MAC address from system 1 (it has two routes).



For testing purposes, we want to put a Cisco switch in the middle. But doing so obviously changes the MAC address presented to system 2.



System 2 cannot be changed to RX a different MAC address.



Is there a way to "pass through" the MAC address on the switch from system 1 to 2, or is it possible to spoof the address on the port facing system 2?






Sounds like the words "switch" and "router" are getting mixed up. Maybe in your lab you're actually using a router with some features turned off to make it seem like a switch, but they are different devices with different characteristics.

– JPhi1618
Sep 7 '18 at 18:26






What model of switch do you have? If it's a so-called "layer 3" switch, you might have a switch with routing facilities enabled, with the same effect as @JPhi suggests.

– jonathanjo
Sep 8 '18 at 10:33






No, definitely a switch, and I cleared up what the request was. Like I mentioned below, it was being tee'd off to something else.

– user10021657
Sep 10 '18 at 14:51






Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.

– Ron Maupin
Dec 25 '18 at 9:22




1 Answer
1



We hope you will become a contributing member of this community.



Switches do not change MAC addresses, so your application, if it is on the same subnet, will see the sender's MAC address.



If you the application is on a different subnet, then I'm afraid you can't see the sender's MAC. It is stripped off by the router.






hmmm, that's what I thought. So either system 1's MAC is wrong, or it's being tee'd off to something else first in the switch, before being sent to system 2

– user10021657
Sep 7 '18 at 14:16






As I said, switches do not change MAC addresses.

– Ron Trunk
Sep 7 '18 at 15:06






Not only do switches not change MAC addresses, they work based on MAC addresses, so they are crucially reliant on correct MAC addresses. A switch that changes MAC addresses would be so completely, utterly, fundamentally broken that it would never get into the hands of a customer.

– Jörg W Mittag
Sep 7 '18 at 17:57






@JörgWMittag I think that's a bit extreme. Routers don't typically change IP addresses, but they can when doing NAT. Similarly, switches can do layer 2 NAT of MAC addresses. Among other things, that capability is sometimes used to bridge wireless LANs at layer 2 when, for one reason or another, WDS is not an option. It's definitely not typical though.

– David Schwartz
Sep 7 '18 at 19:06







@JörgWMittag Plenty of experience with MOXA equipment begs to differ.

– chrylis
Sep 7 '18 at 21:40



Thanks for contributing an answer to Network Engineering Stack Exchange!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)