Results 1 to 5 of 5
My eth0 is used DHCP,I want to know my gateway and DNS,Which command should I use?
thanks...
- 01-29-2009 #1Just Joined!
- Join Date
- Jan 2009
- Location
- China
- Posts
- 11
How canI find my eth0´s details?
My eth0 is used DHCP,I want to know my gateway and DNS,Which command should I use?
thanks
- 01-29-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 47
use ifconfig
- 01-29-2009 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
...and you can run man ifconfig for more info on the command itself.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 01-29-2009 #4
not sure about you two, but ifconfig tells me none of those things.
will definitely tell you the default gatewayCode:route -n
should tell you your dns serversCode:cat /etc/resolv.conf
- 01-30-2009 #5Just Joined!
- Join Date
- Jan 2009
- Location
- China
- Posts
- 11
You are right,Thank you


Reply With Quote