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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: