Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-24-2005, 04:07 AM   #1
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Strange ip from the result of tracert command

In my LAN, client workstations connect to the internet through a linux system. the linux has 2 network interfaces.
one connect to the local LAN and the other one connect to the isp. i haved checked both network interface ip address. it is
and the other one is 203.X.X.X.

when i use command "tracert" from a workstation within the LAN, it shows lines below:

more ............................
more ...........................

from the result, the first line is my linux internal ip. and the second line should be my linux external ip but it's not.
So what's wrong?

Can somebody explain me why it shows this ip "" instead of my linux external ip?

Old 01-24-2005, 05:42 AM   #2
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
thats the router by the looks of things.
Old 01-24-2005, 06:19 AM   #3
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
thats the router by the looks of things.
not really, unless you use an unusual netmask. Router's local ip address and PC's local ip address must be in the same network.
Also, you're saying that the 2nd interface takes the isp address, so you're using a modem or a router with traditional bridging.
It might that your provider uses a class C gateway for internal use.

Last edited by TheIrish; 01-24-2005 at 06:22 AM.
Old 01-24-2005, 11:44 PM   #4
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
But i wonder why i don't see the ip of my external network interface from the result of tracert command?

I use linux as gateway/router.

Old 01-25-2005, 07:49 AM   #5
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
You should only get 1 reply per router. Your Linux machine will send back an ICMP message from the interface since that's the interface it received the packet on.

I'm not sure where the is coming from. The next step should be your ISP but that address doesn't make sense at all. What's in the route table on the Linux machine(execute route -n)?


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
How to set PATH variable for command tracert? princegbenga Linux - Software 2 06-14-2007 08:48 AM
really strange glxgears result... ganja_guru Linux - Software 8 02-16-2005 04:27 AM
BASH Command Result redhatnoob Programming 2 08-19-2004 07:25 PM
command ifconfig, route, tracert... missing in /bin mae Red Hat 2 09-18-2003 10:08 AM
Strange CD Burning Result liaohaohui Linux - Hardware 6 08-28-2003 02:58 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 PM.

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