06-12-2007 05:01 AM - edited 03-05-2019 04:39 PM
Hi all, when a packet goes from a source to a destination, at each hop towards the destination, does the source ip address or mac address change to the previous hops router?
06-12-2007 05:06 AM
Carl,
Generally speaking, only the destination MAC address would change from hop to hop. The source and destination IP adddresses would remain the same from source to destination (given that NAT is not used).
Hope this helps,
06-12-2007 05:22 AM
Hi,
When a packet is routed via a router or Layer 3 switched from a source in one subnet to a destination in another subnet, the router/L3 Switch performs a packet rewrite at the egress port:
Packet rewrite alters five fields:
Layer 2 (MAC) destination address
Layer 2 (MAC) source address
Layer 3 IP Time to Live (TTL)
Layer 3 checksum
Layer 2 (MAC) checksum (also called the frame checksum or FCS)
Note: Packets are rewritten with the encapsulation appropriate for the next-hop subnet.
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide