how to find out the gateways IP?
Hi!
ifconfig doesn't list the gateway's IP? How can I found out gateways IP? Thank you! |
use the route command
Code:
route http://whatismyip.com or use tracepath Code:
tracepath google.com |
Code:
netstat -ran If you're asking "how do I find out what my gateway should be" then you need to ask your network administrator. There's no way to find out what you should set it to if it's not already set and/or cannot be discovered with DHCP. |
Thanks! it's working!
Quote:
|
Quote:
Code:
chort@twdemos:~> netstat -ran |
All times are GMT -5. The time now is 03:11 PM. |