IP Packet Delivery process
fluk3d
Member Posts: 141 ■■■□□□□□□□
in CCNA & CCENT
just a quick question I have about routing. Maybe someone can shed some light on this.
Let's say Host A would like to send a packet to Host B, and host a determines that Host B is not local, it would then attach its Source/Destination IP, as well Source/Destination(default gatway) MAC
At this point, if R1 determines that the "packet" is not local would it then replace the destination mac with the mac of R2, or would it replace both source, and destination mac with its own info, and then pass it on to R2
Host A
R1
R2
R3
Host B
I probably made that sound complicated, wondering if any of the gurus out there can confirm if I have the logic correct?
Let's say Host A would like to send a packet to Host B, and host a determines that Host B is not local, it would then attach its Source/Destination IP, as well Source/Destination(default gatway) MAC
At this point, if R1 determines that the "packet" is not local would it then replace the destination mac with the mac of R2, or would it replace both source, and destination mac with its own info, and then pass it on to R2
Host A
R1
R2
R3
Host B
I probably made that sound complicated, wondering if any of the gurus out there can confirm if I have the logic correct?
"Imagination is more important than knowledge." - Albert Einstein
Comments
-
networker050184 Mod Posts: 11,962 ModIt replaces the L2 source to its out going interface and the destination to the next hop.An expert is a man who has made all the mistakes which can be made.
-
fluk3d Member Posts: 141 ■■■□□□□□□□perfect, thanks for the info!"Imagination is more important than knowledge." - Albert Einstein
-
Pash Member Posts: 1,600 ■■■■■□□□□□networker050184 wrote:It replaces the L2 source to its out going interface and the destination to the next hop.
This is all assuming that they are connected via ethernetDevOps Engineer and Security Champion. https://blog.pash.by - I am trying to find my writing style, so please bear with me.