Re: modem and default gw



On Thu, May 24, 2007 at 12:42:10PM -0700, remigio 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.
Once Kppp has connected successufully to the provider, ip addr shows
that ppp0 has reseived the inet and the ptp address from the remote
server but the defgw is not the ptp addr! It still remain the same!
How can kppp assign the defgw route after connected?

Are you saying that when not using your modem, you have a route to the
internet via the NIC? Why use the modem then.

If not, why set a default gateway on the NIC in the first place?

Perhaps you need to show us using ascii art your network layout and the
routes you want with and without the modem connected.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Gateway M325X Review and Setup tips
    ... Gateway M325X Review and Setup Tips ... except for the sound card. ... Use "expert mode" installation from your disk set. ... Software modem. ...
    (Debian-User)
  • Re: VPN and remote gateway
    ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
    (microsoft.public.windows.server.sbs)
  • Re: Persistent Route ignored on W2K when destination network is unavailable
    ... a global setting like the gateway to a particular subnet should be set ... this network access the internet via a NAT firewall (connected to ... via a WAN link. ... route on the Cisco firewall so that any traffic to the internet gets ...
    (microsoft.public.win2000.networking)
  • Re: AIX 1.3 Failures and Fables
    ... DESTINATION GATEWAY FLGS REFCNT USE INTERFACE ... Is my interpretation of the AIX 1.3 #man route correct? ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Routing behind NAT server
    ... I have set RIP on both modem and win2k server. ... I suspect that RIP isn't really working on the NAT Device, ... single static route on the NAT Device that specifies that the route to ... as their Default Gateway. ...
    (microsoft.public.windows.server.networking)