Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-09-2005, 05:42 PM
|
#1
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Rep:
|
How can I tell what my default gateway is currently set as?
How can I tell what my default gateway is currently set as?
|
|
|
09-09-2005, 06:11 PM
|
#2
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
exemple:
ip adress is : 135.100.100.20
gateway is 135.100.100.1
just replace the last number of your ip adress by 1
|
|
|
09-09-2005, 06:59 PM
|
#3
|
Member
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100
Rep:
|
Quote:
Originally posted by mrcheeks
exemple:
ip adress is : 135.100.100.20
gateway is 135.100.100.1
just replace the last number of your ip adress by 1
|
for a senior member this is a poor reply.. :/
dude, have a look at "man route" "ifconfig" and "/etc/network/interfaces"
|
|
|
09-09-2005, 07:01 PM
|
#4
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
it is a simple answer...yes i know the ifconfig, but it is usually that unless someone specify it...
|
|
|
09-09-2005, 11:50 PM
|
#5
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
can route show all gateways on my box?
|
|
|
09-10-2005, 11:53 AM
|
#6
|
Member
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197
Rep:
|
Quote:
Originally posted by abefroman
can route show all gateways on my box?
|
Yes. In essence, route will show where any packet delivered to your system is supposed to go to.
|
|
|
09-10-2005, 12:15 PM
|
#7
|
Member
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Ubuntu, Slax, Kali
Posts: 95
Rep:
|
Use command /sbin/route
the entry with the UG on the flag columm is the gateway
|
|
|
All times are GMT -5. The time now is 07:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|