Re: configuring ppp and lan



On Tue, Nov 28, 2006 at 12:19:15AM -0000, richard@xxxxxxxxxxxxx wrote:

with both up I get

Destination Gateway Genmask Flags MSS Windo irtt
Iface
joiner.mulinoc * 255.255.255.255 UH 0 0 0 ppp0
192.168.133.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.133.1 0.0.0.0 UG 0 0 0 eth1

Since your wireless router is not connected to the internet, you should
not use it as a default gateway. pppd usually does not replace an
existing default route, but you can add "replacedefaultroute" to
/etc/ppp/options.

Hmm, that sounded good for a minute. But I think the problem is that it
is dhclient not pppd that is rewriting the routes, as well as resolv.conf.
And it does this very frequently. Both the gprs modem and the AP/router
are dhcp servers, so dhclient is trying to serve two masters if both
interfaces are up. And the router is the gateway for 192.168.133.x
addresses as seen from my gateway machine. The ppp0 interface is the
gateway for everything else. so dhclient is writing nonsense. There must
be a way to configure it to avoid this. (And to get leases longer than
40sec from the wireless router, too, I hope -- it filled 2GB of log
activity yesterday. But that is another story.)

Back to the howtos...

--
richard


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



Relevant Pages

  • Re: Problem setting up workgroup between laptop and main computer
    ... router, and the other Router is a Linksys WRT54g running DD-WRT setup ... Buffalo Wireless Router can not be plugged into a Tel. line, ... I've got a Buffalo wireless router plugged into my phone line. ... My main computer's IP 192.168.1.170 and its default gateway ...
    (microsoft.public.windowsxp.network_web)
  • Re: Network gateway changed in DHCP and Network Properties
    ... does the wireless router have DHCP enabled? ... Merv Porter [SBS-MVP] ... Cisco PIX connects us to the internet and is the normal gateway. ... Is the wireless router supposed to be acting as an Access Point for LAN ...
    (microsoft.public.windows.server.sbs)
  • Re: Network gateway changed in DHCP and Network Properties
    ... Cisco PIX connects us to the internet and is the normal gateway. ... Ethernet adapter Server Local Area Connection: ... Is this SBS 2003 Premium or Standard? ... Is the wireless router supposed to be acting as an Access Point for LAN ...
    (microsoft.public.windows.server.sbs)
  • Re: HPNA Network..
    ... This always worked very well for me until I removed them to try some other types of networks. ... I remember that the setup automatically set up the IP and such for the gateway and the remotes all connected automatically. ... I installed the HPNA adapters and drivers and they all show as functioning, but when trying to set up ICS on the PC that will act as the gateway, it won't set up ICS...keeps indicating that the 192.168.0.1 IP that it needs is already in use. ... Perhaps the NIC on the gateway PC needs to have its IP changed..or could it be that the wireless router IP is lingering even though it is no longer connected. ...
    (alt.internet.wireless)
  • Re: dhclient and host resolution
    ... you have to tell the DHCP server to also provide to the client ... gateway and DNS information explicitly. ... respectively when I work @home from my DSL provider. ... So dhclient is able to do that, ...
    (freebsd-questions)