configuring ppp and lan



I'm finally beginning to have some internet here in the Appennine alps.
No land line so I have acquired a usb gsm modem. (To be truthful, I
still don't know if it will work at the house which also has no mobile
signal, but I have a directional antenna with a 10dB gain that may fix
that...)

To the point. Trying it out where there is a gsm signal, I have got ppp
running, but cannot configure the box with the modem so that both the
LAN and the PPP work at the same time. If I 'poff', the lan sort of
works. If I 'ifdown eth1' (the wifi built into t he box), the ppp
connection resolves correctly. dhclient rewrites resolv.conf giving it
one of the nameservers of the provider (Wind), and the router/switch
address as the second nameserver. I'm not sure why. The router (D-Link
DI524) doesn't actualy seem to do any DNS (although it knows the
hostnames and IPs on the internal subnet), so that may be a part of the
problem, but the correct nameserver ought to be accessed at least some
of the time. dhclient also writes the routing table and maybe I have got
something wrong here. netstat -r gives

Destination Gateway Genmask Flags MSS Window irtt Iface
joiner.mulinoca * 255.255.255.255 UH 0 0 0 ppp0
default * 0.0.0.0 U 0 0 0 ppp0

when pppd is up. And when eth1 is up, it says

Destination Gateway Genmask Flags MSS Window irtt Iface
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

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

joiner.mulinocarletti.net is the box with both the modem and the lan
connection. the lan as you can see is 192.168.133.x and the modem local
address insists on being 192.168.100.101. joiner has both addresses in
its /etc/hosts, which is I suppose the reason the name is shown in the
routing table rather than the IP allocated by wind.it.

I feel even more confused now, so I hope this makes sense to somebody.
I wondered if I should reconfigure the whole lan to be on the same
subnet as the Wind modem, though I cannot see why that should be
necessary.

Any ideas?

--
richard


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



Relevant Pages

  • Re: routing two private subnets?
    ... >> Your modem may or may not do NAT. ... > internet", and I need to ftp to my servers, pull mail, and the usual ... > LAN ... The eth0 interface will not go anywhere other than the modem when you are ...
    (comp.os.linux.networking)
  • Re: DSL setup questions... again.
    ... >I've got ADSL from my ISP via Qwest to an Actiontec 1524 DSL modem. ... It connects to the ISP using PPPoA and DHCP. ... The computers effectively don't have Internet addresses at all; ... non-changing addresses on your LAN. ...
    (comp.os.linux.networking)
  • Re: New ADSL user - need net and firewall help
    ... For many years I have been using Debian Linux on machines ... > masquerading for my home lan. ... My lan also consists of two windows ... > help getting my lan reconfigured to use the DSL modem and still protect ...
    (Debian-User)
  • LAN modem and Dial up modem conflikt
    ... I think you should remove gateways if provided on your LAN ... Dialup modem. ... >I have LAN network and Internet over ISDN LAN ... internet connection over ...
    (microsoft.public.win2000.networking)
  • Re: opensuse on laptop
    ... Unfortunately I have a web development business which undertakes to update client websites within 4 hours of receipt of the material 24/7. ... Means I need a good desktop, bitmap graphics, vector graphics, good FTP client to access a series of client sites, web development tools, T-Mobile G3 Modem, WiFi, Bluetooth phone modem, land-line modem and wired network. ... I find XFCE's Thunar file manager with its lack of built in LAN viewing of shared computers / files not to my taste - never had this trouble with SUSE - or even Ubuntu with Gnome or KDE. ...
    (alt.os.linux.suse)