LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2003, 03:41 PM   #1
thzman
LQ Newbie
 
Registered: Aug 2003
Location: Sweden
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Lightbulb Default route with RP-PPPOE


This i not a question. It's a hint what I had to do to get my ADSL-connection to work.

The default route option in pppoe.conf didn't seem to work.

I had in my routing table:
192.168.30.1 * UH (something) ppp0
.
.
.
.
default 192.168.30.1 UG (something) eth0

This defaultroute was placed there by the adsl-start script.
Eth0 was connected to my modem.
This seemed right to me but nothing worked. After messing around in the config files for some time i discovered that if i replaced the default route manually, pointing directly at ppp0 everything worked.

So, solution time (my solution anyway):
in pppoe.conf:
set the default gateway option to "no"

in rc.local:
delete any old default route with "route del default"
start the adsl connection with: "/usr/sbin/adsl-start"
add a new default route with "route add default gw 192.168.30.1 dev ppp0"

Surf away. The IP-address is valid for my connection i have to point out.

Well, I hope this is to use for someone. Maybe not the nicest solution but I don't give a heck, 'cause it's working.

Maybe someone can tell how it should be done.
 
  


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
Not getting a default route wswartz Linux - Networking 4 10-27-2005 11:25 AM
two default route - help me fabiolpi Linux - Networking 2 07-06-2005 06:35 AM
c++ default route bassdemon Programming 1 02-06-2005 10:29 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 03:48 PM

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

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