LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Failing Traceroutes (https://www.linuxquestions.org/questions/linux-networking-3/failing-traceroutes-562705/)

omfglikewtf 06-18-2007 12:32 PM

Failing Traceroutes on kernels newer than 2.6.17
 
Hi,
In an attempt to finally upgrade to the 2.6 kernel, I installed Slack -current, but
as usual, I found that it broke my ability to visit many websites. All works well using
Slackware with a 2.4 kernel, and even other distros with kernels up to version 2.6.17 .
After disabling ipv6 and trying some basic diagnosis, I still have no idea what the problem
actually is.
Here are 2 examples of traceroutes, one from a Slackware current box, and the other one
from a PC running Dapper. (Both the hardware setups are identical, and running in the same network)

Slackware Current(2.6.21):
Code:

root@darkstar:~# traceroute www.yahoo.com
traceroute to www.yahoo-ht3.akadns.net (87.248.113.14), 30 hops max, 38 byte packets
 1  * * *
 2  bas02.cou.as12876.net (212.129.9.87)  26.622 ms  26.706 ms  26.114 ms
 3  vlan57.sw2.cou.as12876.net (212.129.15.172)  25.865 ms  26.726 ms  25.994 ms
 4  * * *
 5  par31-tifrance-1-fr.par.seabone.net (213.144.183.9)  26.296 ms  25.975 ms  32.866 ms
 6  telia-1-se-par31.par.seabone.net (213.144.183.26)  26.235 ms  25.854 ms  27.990 ms
 7  prs-bb2-link.telia.net (80.91.251.115)  25.994 ms  25.855 ms  25.993 ms
 8  ldn-bb2-pos7-0-0.telia.net (213.248.65.113)  57.988 ms  38.976 ms  32.867 ms
 9  dln-b1-link.telia.net (80.91.251.50)  45.988 ms  44.850 ms  46.996 ms
10  yahoo-115023-dln-b1.c.telia.net (213.155.141.182)  45.861 ms  44.853 ms  46.117 ms
11  ge-1-3.bas-b1.ird.yahoo.com (87.248.101.5)  44.854 ms ge-1-1.bas-b1.ird.yahoo.com (87.248.101.1)  56.103 ms ge-1-1.bas-b2.ird.yahoo.com (87.248.101.3)  55.855 ms
12  * * *
13  * * *
14  * * *
...(cut)...
29  * * *
30  * * *
root@darkstar:~#

Ubuntu Dapper (2.6.15 IIRC):
Code:

root@minink:/home/thermal# tcptraceroute www.yahoo.com
Selected device ath0, address 192.168.0.8, port 47613 for outgoing packets
Tracing the path to www.yahoo.com (87.248.113.14) on TCP port 80 (www), 30 hops max
 1  localhost (127.0.0.1)  2.102 ms  1.504 ms  1.382 ms
 2  bas02.cou.as12876.net (212.129.9.87)  24.598 ms  25.888 ms  25.023 ms
 3  vlan57.sw2.cou.as12876.net (212.129.15.172)  25.930 ms  25.784 ms  25.908 ms
 4  * * *
 5  par31-tifrance-1-fr.par.seabone.net (213.144.183.9)  25.297 ms  25.825 ms  25.026 ms
 6  telia-1-se-par31.par.seabone.net (213.144.183.26)  25.982 ms  25.926 ms  25.981 ms
 7  prs-bb2-link.telia.net (80.91.251.115)  27.794 ms  26.003 ms  25.967 ms
 8  ldn-bb2-pos7-0-0.telia.net (213.248.65.113)  32.841 ms  32.904 ms  33.914 ms
 9  dln-b1-link.telia.net (80.91.251.50)  44.920 ms  43.857 ms  44.893 ms
10  yahoo-115023-dln-b1.c.telia.net (213.155.141.182)  43.909 ms  44.933 ms  44.870 ms
11  ge-1-3.bas-b2.ird.yahoo.com (87.248.101.7)  45.950 ms  46.736 ms  45.961 ms
12  f1.us.www.vip.ird.yahoo.com (87.248.113.14) [open]  43.964 ms  45.857 ms  48.988 ms
root@minink:/home/thermal#

Does anybody know what the problem could be? The only difference between the 2 computers is the kernel version, and I can't see how that would cause a problem (apart from new/changed features, which I'm probably not aware of).
I can visit some websites, e.g google.com, but not much else, so it obviously is not a DNS problem, and the fact that PCs using 'older' kernel versions have 'complete' access to the internet baffles me.

Thanks for any help:)

ozzis 06-19-2007 06:27 AM

Have you checked if ip forwarding is enabled?

cat /proc/sys/net/ipv4/ip_forward

should return a 1

omfglikewtf 06-19-2007 08:14 AM

In fact, ip forwarding wasn't enabled, so I enabled it by adding it to my sysctl.conf file,
and after rebooting, it returned a 1.

However, I still have the same problem: It seems like the http requests are failing for many websites, notably, this site (linuxquestions.org), yahoo.com, slashdot.org... and most of the websites I visit (google.com works fine, as does gmail).

I'm beginning to think it's a problem with my router settings, although, can it really be, if PCs using older kernels (with the same hardware), and the PC running XP has no problems.

nx5000 06-19-2007 08:55 AM

Why do you compare tcptraceroute and traceroute? Different things (one is upd, the other tcp, xp uses icmp)

Run a sniffer? Wireshark or tcpdump.

I don't see what ip_forward has to do here.


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