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 12-15-2007, 03:31 PM   #1
wicko
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
adsl is connected but not routed


Hello!

I am running linux redhat 7.2 network server with squid cache.

adsl is connected and i can see ppp0 is up.

but every time i reboot my system or after an electricity failure here in my city, i have to do these commands to bring my ppp0 routed to clients.

root] route del default
root] route add default gw x.x.x.x (x.x.x.x is ip of ppp0 wich is assigned by DHCP server of ISP)

how to make the "default route gw" the same as -.-.-.- with auto function. i mean i don't have to run the command every time.

now when the system is rebooted the "route -nv" brings this result

#root] route -nv
Destination Gateway Genmask Flags Metric Ref Use Iface
x.x.x.x 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 x.x.x.x 0.0.0.0 UG 0 0 0 lo


Thanks.
 
Old 12-17-2007, 10:08 AM   #2
doombob
LQ Newbie
 
Registered: Oct 2007
Location: KC, MO
Distribution: CentOS
Posts: 9

Rep: Reputation: 0
Startup Scripts?

Have you tried placing the commands in the /etc/rc.local startup script? I know this is not a solution, but you can put them in there so it works until you get a real answer.
 
  


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
ADSL How do I get connected? marcp66 Linux - Newbie 2 08-30-2005 07:14 AM
Router ADSL connected but i can't use browser or apt Skie Linux - Wireless Networking 5 07-11-2005 12:06 PM
adsl-start says connected, but I can't browse! dtheorem Linux - Networking 1 08-23-2004 01:25 PM
ADSL Connected ... but not? binskin Linux - Networking 10 11-02-2003 11:23 AM
usb adsl modem (connected) flump Linux - Hardware 2 08-20-2003 02:22 PM

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

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