LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-23-2006, 06:50 PM   #1
Whiskerz
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
Network Problem : Can't access beyond router


Ok I don't really have any clue what happened. I use Suse 10.0 on an IBM laptop and was away over the week-end taking my laptop with me. I had network access where I was and everything worked just fine. Even installed a kernel patch via auto update. Now I come back home and suddenly no internet.

Some more information : I use a router with dhcp, I get the ip address I am supposed to get, the DNS servers are set correctly and the gateway is set to my router. I can ping my router. But I can't ping any other pc on the network, nor can I ping outside the network. When I run a Knoppix Live DVD everything works just fine, internet, ping inside the network, everything. But somehow it seems that kernel patch wrecked my Suse distribution.

Well at least it would seem this way if I there wasn't this slight deja vu feeling, I had the exact problem before but it miraculously solved itselv after a reboot. Not now though.

Comparing the Knoppix route table and the Suse route table I do see quite some differences and get the feeling, that Suse messed up its routing, but I am no expert in that area.

Anyone have any idea? Its kinda irritating using an operating system which manages to mess up its network either with a security kernel update or with simply connecting to another network ...

Regards

/Whizz
 
Old 07-23-2006, 07:04 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Posting the suse routing table would be helpful. Please use 'route -n' to get a numeric version for the most detail.
 
Old 07-24-2006, 02:28 AM   #3
Whiskerz
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for trying to help, here is the routing table :
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
192.168.123.254 0.0.0.0         255.255.255.255 UH    0      0     0   eth0
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0     0   eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0     0   eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0     0   lo
0.0.0.0         192.168.123.254 0.0.0.0         UG    0      0     0   eth0
I have no idea why I have entries for 192.168.178.0 and 169.254.0.0, when I tried to remove them from the table I get a "SIOCDELRT : no such process" message and it will still display in the routing table. I can delete the first entry, which doesn't change anything in the behaviour and which reappears after a reboot.

Just for reference, here is the routing table from the Knoppix Live distribution which works just fine :
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
192.168.123.0   0.0.0.0         255.255.255.255 U     0      0     0   eth0
0.0.0.0         192.168.123.254 0.0.0.0         UG    0      0     0   eth0
I'd really like to try to get my Suse routing table to look like my Knoppix routing table, to check if that might indeed fix the problem. However I don't seem to be able to do so (as I said I can't delete some entries and after a restart the old routing table is restored), so maybe if anyone could tell me how I purge and refill my routing table in a way which will definitely work and which will not be undone after a restart, that could be a first starting point. Note however that I do use dhcp, and I do use my notebook in other networks from time to time, so a static routing table would not be a very viable solution ... it just seems that Suse configures the table ... hm lets say differently ... and if that could be corrected it would be great.

Regards

/Whizz
 
Old 07-24-2006, 03:53 AM   #4
Whiskerz
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Update ::

I tried giving the computer a static IP and it worked. The routing table now looks like this :
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
192.168.123.0   0.0.0.0         255.255.255.255 U     0      0     0   eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0     0   eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0     0   lo
0.0.0.0         192.168.123.254 0.0.0.0         UG    0      0     0   eth0
However I would really like to use dhcp as I said I do tend to work in different networks, and configuring by hand every time is quite a hassle. Also I'd be interested in knowing what the 169.254.0.0 entry does in my table, don't remember ever using that ip space and I certainly don't need it now. But "route -del 169.254.0.0" just gives the SIOCDLERT message I posted above.

Anyone know how to get Suse to create a working routing table without unnecessary entries when using dhcp?

Regards

/Whizz
 
Old 07-24-2006, 07:19 AM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I can't think of any reason the 169.254.0.0 rule should be present in your routing table. With dhcp, you should be getting a 192.168.123.0 rule as well. You can add one manually with 'route add -net 192.168.123.0 netmask 255.255.255.0 dev eth0'.
 
Old 07-26-2006, 03:22 AM   #6
Whiskerz
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
With a bit of trying around I was finally able to delete those entries from the routing table, also I added an entry like the one you suggested. But still no go. Do I have to restart some kind of process for the changes to take effect?

Again as soon as I configure DNS, gateway and IP by hand it works, but even with a modified route table looking like the one created when I do it manually, Suse refuses do access the net with its DHCP settings - what else could be set dynamically that could be wrong? The DNS are the same, the IP is the same, the routing table is the same, what am I missing?

Regards

Whizz
 
  


Reply



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
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 12:33 PM
suse router problem, laptop cannot access internet Th3James Linux - Networking 2 11-27-2005 05:32 AM
home network router problem sprachy Linux - Networking 4 04-21-2004 11:38 AM
no longer get network access beyond router monkeyman2000 Linux - Networking 13 12-11-2003 07:47 PM
Network card pings ok, but can't access web via router BeerMonster Linux - Networking 7 11-09-2003 10:46 AM

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

All times are GMT -5. The time now is 02:30 PM.

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