You need to delete the default route which your linux box has set before making the
connection. This can be done by editing the file /etc/sysconfig/network
Make the following entries look like this:
FORWARD_IPV4=true
GATEWAY=
GATEWAYDEV
Or type route del 10.2.1.254 BEFORE your pppd conexion comes up each time.
Besure you've got the defaultroute option in your pppd line in your scripts.
take care - eric
-----Mensaje original-----
De: Tarsi [SMTP:[EMAIL PROTECTED]]
Enviado el: jueves 10 de junio de 1999 11:50
Para: [EMAIL PROTECTED]
Asunto: PPP and Default Route: Copies from my /var/log/messages
Hello, oh guru-like ones:
Thank you for the suggestions regarding my PPP problems. I tried
some, but didn't get them to work. Here is what I found in my
/var/log/messages and such, perhaps you can give suggestions.
This is before I did anything from your suggestions (normal):
(/var/log/messages):
Jun 10 08:21:19 aries pppd[1850]: Serial connection established.
Jun 10 08:21:20 aries pppd[1850]: Using interface ppp0
Jun 10 08:21:20 aries pppd[1850]: Connect: ppp0 <--> /dev/cua1
Jun 10 08:21:21 aries pppd[1850]: not replacing existing default
route to eth0 [10.2.1.254]
Jun 10 08:21:21 aries pppd[1850]: local IP address 10.2.1.5
Jun 10 08:21:21 aries pppd[1850]: remote IP address
209.130.163.65
(route -n):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
0 ppp0
10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
15 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
3 lo
0.0.0.0 10.2.1.254 0.0.0.0 UG 0 0
4 eth0
Then I did these steps: (while the ppp0 link was up)
- route del default
- route add 209.130.163.65 ppp0
- route add default gw 209.130.163.65 ppp0
(route -n):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
0 ppp0
10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
16 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
3 lo
0.0.0.0 209.130.163.65 0.0.0.0 UG 0 0
3 ppp0
That didn't work, so I tried doing these steps:
- route del default
- route add default ppp0
(route -n):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use
Iface
209.130.163.65 0.0.0.0 255.255.255.255 UH 0 0
0 ppp0
10.2.1.0 0.0.0.0 255.255.255.0 U 0 0
17 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
3 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0
1 ppp0
I still cannot ping anyone but that remote IP address of my ISP.
Can anyone help?
SYSTEM: RedHat 5.2 Apollo, PPP 2.3.5
Thank you!!!
Nathan
-----------------------------------------------------
Nathan E. Pralle
Research and Development
Creative Solutions Unlimited, Inc.
203 Gilman St.
PO Box 550
Sheffield, IA 50475-0550
U.S.A.
PH: 515.892.4466
FAX: 515.892.4333
Email: [EMAIL PROTECTED]
-----------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]