LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2006, 08:19 AM   #1
eli_pack
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Rep: Reputation: 0
Default route disappears from kernel routing table second after adding it


okay, i've got a dell inspiron 8600 with an intel 2200bg wireless card built in, and it seems to have installed correctly. I'm using Fedora Core 3, and i get a response when i ping any machines on the local network, and i can copy files over the network fine. It's getting on to the internet that's giving me issues.

When i type in route, i get one entry, as follows:
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1

The default gateway is set correctly in my network configuration, but the default route is not being added to my routing table. If I add it manually, it seems to disappear after a moment.

If I run:
route add default gw 192.168.0.1; ping (insert outside address)
i receive the first three or so packets correctly (ie they got out and back), but then I start receiving "ping: sendmsg: Network is unreachable".

If I run:
route add default gw 192.168.0.1; route
I get two lines,
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default speedtouch.lan 0.0.0.0 UG 0 0 0 eth1
as expected.

However, if I then run route again, my default gw entry has disappeared.

Why does my default route keep disappearing???

(I posted a similar msg in the wireless form in late 2004, and it didn't get solved, do i'm trying here, as i get the same problem with LAN)
 
Old 03-12-2006, 08:49 AM   #2
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
any strange output in /var/log/messages or /var/log/warn?
 
Old 03-13-2006, 03:39 AM   #3
eli_pack
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I don't have a /var/log/warn, but in /var/log/messages the following is repeated over and over:

Mar 13 19:23:38 192 NetworkMAnager: HAVELINK: act=0 && (dev_crypt=0 <= prev_crypt=0)
Mar 13 19:23:38 192 NetworkMAnager: HAVELINK: act=0 && (dev_crypt=0 <= prev_crypt=0)
Mar 13 19:23:38 192 NetworkMAnager: LINK: !HAVE=1, (best_ap = 0x0 && (is_enc=0 && (!source=1 || !len_source=0)))

Any ideas?
 
  


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
How to add a route table for eth1 and make it the default banner Linux - General 3 05-08-2005 11:14 AM
Adding entries to route table in C? kuronai Programming 2 04-04-2005 02:42 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Adding and saving to a routing table Goodnews Linux - Software 1 04-13-2004 05:14 PM
Does ftp have a routing table on where to route users? digital bots Linux - Networking 1 04-06-2004 05:26 PM

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

All times are GMT -5. The time now is 09:42 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