Home
Certification Preparation
CompTIA
Linux+
Ifconfig
gravyjoe
this may be a stupid question, but when using the infconfig command, I don't see the default gateway like I do when I use ipconfig on windows. Maybe I'm just missing it or something. I see an IP address, subnet mask, and broadcast, but not the DG.
Find more posts tagged with
Comments
lordy
It's in fact not there.
The default gateway is not an attribute of the interface but a part of the routing table and can therefore be checked with any of the following commands:
route -n
netstat -rn
See the man pages of these commands for more information
Regards,
Lordy
gravyjoe
Thanks for the help. I woulda been there forever trying to figure it out.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of