networking - about IP packet through router -


I have just finished a phone interview The interviewer asked me a question:

Tell me what is going on through the router about the IP packet.

Unless I study networking and I only say something about the router transmission list and there are many router protocols such as OSPF etc. Bus. Can anyone give a good answer on this? Or led me to investigate some resources? Thanks!

The router is a network layer device. Therefore, when it receives an IP packet, the IP packet is set to the current destination that router, so the router does this:

  1. Checks the final destination of the packet.
  2. From its routing table, it finds the next half router to reach that destination.
  3. Adds the address of the next hop router on that pack, That adds the frame header and the trailer)
  4. Again, that packet is closed on that next hop router.

    PS: I took computer networking course in the last quarter

Comments