LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-17-2011, 05:37 AM   #1
royce2020
Member
 
Registered: Jan 2003
Posts: 92

Rep: Reputation: 16
Default route coming and going as it pleases


I'm not sure if this should be here or in the desktop (or distribution>SUSE) forum, but I'll give it a shot.

This is a very strange and very annoying problem with a SUSE 11 custom (built with SUSE studio) instalation.

The bsic problem is the defualt route is there when I boot, but gos away when I dial out using kinternet (so now the internet dosen't work, when I dial it). I can then add it using the command:
/sbin/route add default gw 10.0.0.1 modem0
The net now works nicley. That's not the end of the problem though. If I hang up, or the connection times out, kinternet 'helpfully' removes the default route that I've manualy set up, then (becuase I have dial on demand turned on) will dial the internet again (which is what I want) but the internet is now broken because the default route is gone. I can add it manually again, and the net works.

And I've just noticed that the default route will disapear for no reason if the conection is left idle (such as while writing this post).

This would be infuriating if it was a desktop, but this is the headless router that's suposed to be serving the internet to my whole network, making it unworkable.

By the way, when I say the default route is gone, I mean deleted, not showing up in route -n command, ect. It's not just replacing it with something odd, it's removing it completly.

This box used to work exactly the way I wanted it to, using kinternet to dial a PPPoE service. Now I've switched to using an actual modem the whole thing is acting weird.

Any help would be apreciated here, and the most helpful comment wins half a biro.
 
Old 08-17-2011, 07:12 PM   #2
royce2020
Member
 
Registered: Jan 2003
Posts: 92

Original Poster
Rep: Reputation: 16
I figured this out on my own (after spending days on it, the solution comes to me after I start asking questions on forums).

In the YaST configuration invoked from kinternet (right click -> configure with yast), buried in the tabs there is an tick box that says "default route". I tick the box it says "The current default route is for PPPoE0 do you want to change it?" I say yes, and now it works the way it did before.

Looks like the defualt route was there, but it was being set to a connection that no longer existed (and therefore null I guess). I suppose it defaults to on if there's no existing connections and off if there is.
 
  


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
Is it possible to route outgoing the mails, coming from mail client. badboynick21 Linux - Server 5 10-01-2008 12:51 AM
Quagga default route not showing in kernel default route (netstat -nr) Valkyr1e Linux - Networking 3 08-03-2008 09:20 PM
iproute2 (ip route), pppoe and default route lorddoskias Linux - Networking 0 05-09-2007 11:04 AM
Default route took 20s to display with 'route' command Akhran Linux - Newbie 3 11-04-2006 04:59 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM

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

All times are GMT -5. The time now is 02:17 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
Open Source Consulting | Domain Registration