Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

routing a packet through network

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?

2 REPLIES
Cisco Employee

Re: routing a packet through network

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Re: routing a packet through network

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.

212
Views
0
Helpful
2
Replies
CreatePlease to create content