Tuesday, November 27, 2012

How do I find out my Linux gateway / router IP address?

http://www.cyberciti.biz/faq/how-to-find-gateway-ip-address/

$ route -n


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 ra0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 ra0

No comments:

Post a Comment

Popular Posts