LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-18-2007, 01:32 PM   #1
omfglikewtf
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
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

Last edited by omfglikewtf; 06-18-2007 at 04:02 PM.
 
Old 06-19-2007, 07:27 AM   #2
ozzis
LQ Newbie
 
Registered: Mar 2007
Posts: 22

Rep: Reputation: 15
Have you checked if ip forwarding is enabled?

cat /proc/sys/net/ipv4/ip_forward

should return a 1
 
Old 06-19-2007, 09:14 AM   #3
omfglikewtf
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 06-19-2007, 09:55 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
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.

Last edited by nx5000; 06-19-2007 at 09:56 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
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 07:13 PM
Failing bootcd fourat Debian 1 11-15-2006 09:45 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 08:34 AM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 03:37 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration