Skip to main content

Source MAC address

More
17 years 2 months ago #23329 by skepticals
I wanted to clarify something.

What would the source mac address be when a frame leaves a router with two interfaces? Let's say that the frame entered S0 and left E1. Would it have S0's or E1's MAC address? I took a simulator test and it said S0, but that doesn't seem right.

Thoughts?
More
17 years 2 months ago #23332 by toddwoo
Replied by toddwoo on topic Re: Source MAC address
Thats not right at all...

Fire up ethereal, (wireshark) then ping your local gateway, then ping something on the other side of the gateway.

Your notice that the source mac address is the same, even though the packets are coming from the gateway, or a device beyond the gateway.

Todd
More
17 years 2 months ago #23333 by skepticals
Replied by skepticals on topic Re: Source MAC address
Humm, maybe I did not explain my question well enough or I just don't understand your response.

To my knowledge - between hops - the MAC addresses are stripped from the frame. So, if I send a frame to my gateway router and my router sends it to the next hop, my gateway router would strip my computer's MAC address out of the frame and put its MAC address in for the source. Is this incorrect?
More
17 years 2 months ago #23335 by toddwoo
Replied by toddwoo on topic Re: Source MAC address
Yes... the router would put the MAC address of the outgoing interface as the new source address.

Strictly speaking the frame is discarded once it enters the incoming interface, and a new frame is created on the outgoing interface.

One "sticky" point is that most serial interfaces don't use MAC on layer 2.
More
17 years 2 months ago #23337 by skepticals
Replied by skepticals on topic Re: Source MAC address
If most Serial connects don't use MAC at layer 2, what would the source MAC address be? The MAC address of the Ethernet interface that originally received the packet? or would it be the sending computer?
More
17 years 2 months ago #23358 by toddwoo
Replied by toddwoo on topic Re: Source MAC address
Ok my boss said my visio skills are lacking... so to pratice I made up a qukck visio doc...



Here is the docs on a frame relay frame.. notice no mac address.

www.cisco.com/univercd/cc/td/doc/cisintw.../frame.htm#wp1020669
Time to create page: 0.130 seconds