LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2007, 05:17 AM   #1
sklnner
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
linxu command: router ip


hello again, another very easy question for you
[edit]: g i mispelled linux, god they re gonna eat me alive for this..i hear them coming!
---
question:
- what command can i use (in xterm maybe? i dont know) to find the router ip address that is connected to the system? its running suse linux
---
- possible next question: from the command results, where exactly is the router ip address (in case it has more than one ips listed)
---
hint:
- the pc is configured and running linux and its not mine
- i dont know anything about linux, just yesterday i tried to identify what version is running for a start, with the help of some nice people here
- i dont know a lot about networking either, but i try to learn
(unfortunately all guides are too theoritical and hardly explain the practical part...)
---
thnx

Last edited by sklnner; 10-11-2007 at 05:46 AM.
 
Old 10-11-2007, 08:00 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Quote:
what command can i use (in xterm maybe? i dont know) to find the router ip address that is connected to the system?
These commands will show the gateway IP, which is usually a router:
Code:
# route
or
Code:
# netstat -r
The "Gateway" column will show the gateway IP. Here's an example of a simple routing table:
http://support.novell.com/techcenter...c2006_0406.gif

Here's some helpful info:

Understand the basics of Linux routing
http://articles.techrepublic.com.com...5-1052888.html

Last edited by bsdunix; 10-11-2007 at 08:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linxu Beginner no-von LinuxQuestions.org Member Intro 2 03-10-2007 01:07 PM
Playing online radio in Suse Linxu linuxRunner Linux - Software 2 01-31-2006 05:02 PM
Linxu Script ! kjsubbu Linux - Networking 3 03-01-2005 01:35 AM
linxu temp monitor/sensors k3v0 Linux - Software 1 11-29-2002 11:01 PM
Linxu vs. Windows XP Breezwell Linux - General 15 07-04-2001 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration