Computing.Net > Forums > Linux > How do I find out my Linux gateway

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How do I find out my Linux gateway

Reply to Message Icon

Name: Lamy (by Nyrop)
Date: December 20, 2008 at 12:37:29 Pacific
OS: Debian Linux Etch
CPU/Ram: Pentium 4 , 1 GB
Product: Hewlett-packard / COMPAQ
Comment:


I set up my Linux computer to obtain an IP address, a gateway an a DNS server from a dhcp server.

I tested the configuration and every thing is OK. I can ping www.yahoo.com.

Now, I would like to find out the gateway and the DNS that the dchp has given to my computer.




Sponsored Link
Ads by Google

Response Number 1
Name: paulsep
Date: December 21, 2008 at 10:27:47 Pacific
Reply:

Use the following command at a command prompt:

ifstatus <interface>


0

Response Number 2
Name: unixmen
Date: January 6, 2009 at 09:20:29 Pacific
Reply:


[root@Unixmen_net ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.33.24.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.33.24.1 0.0.0.0 UG 0 0 0 eth0


Regards
http://WWW.unximen.net Team


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Ubuntu 8,.10 questions & ... opensuse spash



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How do I find out my Linux gateway

How do I check my modem config? www.computing.net/answers/linux/how-do-i-check-my-modem-config/131.html

external IP ? how do I find it? www.computing.net/answers/linux/external-ip-how-do-i-find-it/21280.html

How do I compile things in Linux?? www.computing.net/answers/linux/how-do-i-compile-things-in-linux/26778.html