Understanding Routing table entry

前端 未结 3 1111
温柔的废话
温柔的废话 2021-01-30 02:39

I want to ask a question about route command in Linux. I have enter following command in Linux terminal

> route

and got the output:

3条回答
  •  隐瞒了意图╮
    2021-01-30 02:59

    192.168.1.0(-255) is the local destination, once it reaches its local destination (most likely 192.168.1.1, your router) it will be rerouted to the external IP destination. This shows how your computer chooses to send its packets which is relatively simple because most if not all of the packets leaving your computer travel to your router before they are sent to their destination.

    A much more interesting routing table would be that of your router which would deal with many of both external and internal destinations. If you investigate this you will be able to learn a lot more about routing.

提交回复
热议问题