pppd a default gw
Milan Ocenas
ocenas na netplus.sk
Středa Červenec 8 15:02:24 CEST 1998
Dobry den,
pripajam Linux cez dial-up modem na internet, ale po connecte
pppd neprida gw do route tabulky. Po rucnom route del 0.0.0.0
a add default gw 10.10.10.20 funguje routing O.K.
PPP som konfiguroval pomocou pppsetup-1.98.
Prosim, poradte co s tym.
Dik.
Milan Ocenas
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.10.10.20 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.33.64 0.0.0.0 255.255.255.224 U 0 0 1
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1
lo
0.0.0.0 192.168.33.94 0.0.0.0 UG 0 0 1
eth0
/var/log/messages:
pppd[363]: Using interface ppp0
pppd[363]: Connect: ppp0 <--> /dev/cua1
pppd[363]: not replacing existing default route to eth0 [192.168.33.94]
pppd[363]: local IP address 10.10.10.10
pppd[363]: remote IP address 10.10.10.20
/etc/ppp/options:
lock
defaultroute
noipdefault
modem
/dev/cua1
115200
crtscts
debug
passive
asyncmap 0
name "xyz"
P.S. RH 5.1, 2.0.34, ppp-2.3.3-4
Další informace o konferenci Linux