Traceroute doesn't show gateway as hop


 
Thread Tools Search this Thread
Special Forums IP Networking Traceroute doesn't show gateway as hop
# 1  
Old 01-05-2010
Traceroute doesn't show gateway as hop

I have a Linux server connected to the Internet like so:

Server (66.77.88.130) -> /29 VLAN Gateway (66.77.88.129) -> Core Router (64.0.0.1) -> Internet

If I run a traceroute from my server to an arbitrary site on the internet I get a result like this:

Code:
# traceroute some-other-server
traceroute to some-other-server (1.2.3.4), 30 hops max, 40 byte packets
 1 66.77.88.129  0.468 ms  0.622 ms  0.806 ms
 2 64.0.0.1  0.329 ms  0.343 ms  0.362 ms
 3 edge2.NewYork1.Level3.net (4.71.230.9)  0.401 ms 0.400 ms  0.4 03 ms
<<snip>>

But if I run a traceroute to my server from another location I get a result like this:

Code:
# traceroute my-server
traceroute to my-server (66.77.88.130), 30 hops max, 40 byte packets
<<snip>>
 10 edge2.NewYork1.Level3.net (4.71.230.9)  20.401 ms 20.400 ms
 11 64.0.0.1  21.329 ms  21.343 ms  21.362 ms
 12 66.77.88.130  21.468 ms  21.622 ms  21.806 ms

You'll notice the vlan gateway (66.77.88.129) is missing from the second traceroute.

Can anyone tell me why that is the case or explain how it works out like that?

BTW: let me make it clear that my network works fine - this is a question out of curiosity.
# 2  
Old 01-06-2010
This also sounds curious to me, the gateway has to be there, unless some funky rules are placed somewhere. This is an ICMP packet, and it has to go through the default gateway first. The "issue" is definitely located inside of your network, and as it seems, it's valid only for outgoing requests. I would suggest to try different tools like "mtr" or "tcptraceroute" and post the results, while once again having checked the rules on various firewalls / routes and / or different network equipment.
HTH Smilie
# 3  
Old 01-06-2010
Quote:
Originally Posted by sysgate
I would suggest to try different tools like "mtr" or "tcptraceroute" and post the results
No change - similar results - missing the default gateway hop on ingress traffic.

I suspect it must be something to do with the vlan since the default gateway is one of those enterprise managed switches (think Cisco/Juniper - this one's an older Foundry) - quite possibly the switch is changing between routed and bridged mode or something based on which way the packets travel.

Like I say, it's one hop less so I'm not really concerned about "fixing" this issue. Smilie

It does seem strange that a packet could appear to bypass the physical network layer tho Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. UNIX for Dummies Questions & Answers

Why ls doesn't show catalog contents after mount (needed "cd .")?

Before I did mount /dev/sdc1 /mnt/ll xsi ll # ls xsi ll # cd . xsi ll # ls NEWGAME.GM2 install md5sum.txt syslinux.cfg ubnkern .... (1 Reply)
Discussion started by: Xcislav
1 Replies

3. UNIX for Dummies Questions & Answers

Mounted to mac, doesn't show DIR contents on first 'ls'

Hi, I have a cronjob that mounts machines every 15 minutes. sudo mount -t cifs -o username=Ren_user,password=AIB#1109$,nounix,bg,sec=ntlmssp //10.204.129.233/Desktop /mnt/clinical/234mac When I open a new shell and ls /mnt/clinical/234macto the mount point it is blank, but when I do the... (7 Replies)
Discussion started by: jdilts
7 Replies

4. UNIX for Dummies Questions & Answers

Why doesn't motd show up when I su to root?

When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day. ---------- Post updated at 09:54 AM ---------- Previous update was at 09:25 AM ---------- I think I answered it myself, it is only called for remote login sessions, once... (2 Replies)
Discussion started by: glev2005
2 Replies

5. Red Hat

traceroute missing hop

Hi, I am having some performance issues with my JBOSS application server and have noticed something strange in my traceroute. Can anyone explain the following output please? # traceroute 196.10.101.51 8080 traceroute to 196.10.101.51 (196.10.101.51), 30 hops max, 8080 byte packets ... (5 Replies)
Discussion started by: Duffs22
5 Replies

6. Emergency UNIX and Linux Support

Grub Doesn't show menu

Hi guys. I have installed Acronis disk director in windows XP and allocate some free space to install Debian beside fedora. after completion i rebooted and now grub is in command line mode and does not show the menu list. (I didn't remove the fedora partition. I just allocate some space from... (1 Reply)
Discussion started by: majid.merkava
1 Replies

7. UNIX for Advanced & Expert Users

Compiling VIM, doesn't show menu and toolbar.

I'm trying to compile vim73 with the Motif Toolkit. ./configure --enable-gui=motif make ./src/vim -g Vim runs in a window, without the standard toolbar and menu bar. I tried to recompile with ./configure --enable-gui=gnome2It compiled with GTK2 toolkit, but still no menubar, nor toolbar.... (0 Replies)
Discussion started by: mghis
0 Replies

8. AIX

IBM Server doesn't ping gateway unless you put a static route

Just want to know if someone has a clue about what could be happening here: I have an AIX box with four NICs in Ether channel connected to a Cisco Switch. When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route. Thanks... (1 Reply)
Discussion started by: witt
1 Replies

9. Homework & Coursework Questions

Command Doesn't Show Description

im making c code in linux and im having problems with one command, id should bring up a list but instead id doesnt do nothing, there are no error's, can anyone solve whats wrong ? void environ() { extern char **environ; int i=0; for (i = 0; environ !=NULL;i++) { ... (1 Reply)
Discussion started by: figureout
1 Replies

10. Post Here to Contact Site Administrators and Moderators

My sig doesn't show

Is there an issue with it? (2 Replies)
Discussion started by: Spetnik
2 Replies
Login or Register to Ask a Question