How to read the route table?

Posted on

Problem :

Host: win8 ip:

Virtual Machina: gentoo ip:

I type the command route -n to see the route table.

The route table is :

root@gentoo-jl ~ # route -n    
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    1      0        0 eth0       UG    0      0        0 lo   U     1      0        0 eth0

and I don’t know how to read the route table.

Can anybody tell me how to read the table?

And when I ping my host( in my vm machina(, what is the path from source to the destination?

Solution :

man route and see the OUTPUT section.

Because the and are in the same subnet. The ping packet will go to directly.

Leave a Reply

Your email address will not be published. Required fields are marked *