Hi Thomas, On Wednesday 17 September 2003 20:29, Thomas Schweiger wrote:
I have an ADSL/Ethernet modem on ppp0: ppp0 Link encap:Point-to-Point Protocol inet addr:81.56.221.174 P-t-P:192.168.254.254 Mask:255.255.255.255
^^^^^^^^^^^^^^^ This looks strange. The P-t-P should be an IP of your ISP (your next hop to the internet). If you're using rp-pppoe there is a switch "DEFAULTROUTE=" in your /etc/ppp/pppoe.conf. It have to be like this
Yes, that's what I though. Isn't this IP reserved? Indeed the PtP is my default route, and the gateway IP is the one that my ISP sends at the beginning of the connection. Here is my routing table: montblanc:/home/pep # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.254.254 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0 10.0.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1 0.0.0.0 192.168.254.254 0.0.0.0 UG 40 0 0 ppp0 montblanc:/home/pep #
<!-- snip # /etc/ppp/pppoe.conf --> # Make the PPPoE connection your default route. Set to # DEFAULTROUTE=no if you don't want this. DEFAULTROUTE=yes <!-- snap -->
If your're using smpppd change it against the rp-ppppoe. (I hate smpppd) ;-)
I've been using the smppd since 8.0 and never had a problem before. What's so wrong with it? Cheers Pep Serrano