Re: modem and default gw
remigio (<realelino@tiscali.it>) wrote:
> on my pc I have installed a network pci card and an internal
> softmodem. Both them work fine but I have a problem with the default
> gateway.
> In /etc/network/interfaces is defined a gateway that is used by the
> nic, and the command ip route shows this defgw.
> When I use Kppp and the modem to connect to the Internet, I note that
> the defgw remain the same (the one defined for the nic) although in
> kppp I set the option "Assign the Default route to this gateway", and
> I can't go on the Internet.
For security reasons, pppd does not change the default gateway if you
already have a default gateway (at least if you use the noauth option,
as far as I know). You need to explicitely allow this using the
replacedefaultroute
option in /etc/ppp/peers/kppp or /etc/ppp/options.
regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Reply to: