cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
324
Views
0
Helpful
2
Replies

routing a packet through network

carl_townshend
Spotlight
Spotlight

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 2

Harold Ritter
Cisco Employee
Cisco Employee

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

mohammedmahmoud
Level 11
Level 11

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.

Getting Started

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:

Review Cisco Networking products for a $25 gift card