Where is route table stored in Linux?

Ẽm Thư

New member
Where is route table stored in Linux?
Answer
It is normally mounted under /proc . There is a file called
/proc/net/route
, where you can see the kernel’s IP routing table. You can print the routing table with cat instead, but the route utility formats the output human readable, because the IP adresses are stored in hex.
 

Tìm kiếm

Back
Top