Re: simultaneous dial-up and ethernet lan??

From: Asher (asher_at_glaun.com)
Date: 12/02/03


Date: 1 Dec 2003 19:15:30 -0800

Leon,
Based on your answer below, I'm sure you'll solve my problem easily.

I have a simple lan, 2 linux PCs connected via a router. they both
have Class C addresses (192.168.0.100/101). The router is 192.168.0.1

PC 1 dials out (pppd) to the web and can browse the web, get mail no
problem. Both PCs can see each other (ping) and I can mount ext2
volumes from one PC to the other.

PROBLEM: PC 2 cannot ping any web addresses. I run squid on PC1 and
tell the browser on PC 2 to connect via the squid proxy on PC 1 ...
this works fine but I need to have PC 2 see the web directly.

I think this is a route command using gateway issue but I don't know
enough about it. PC1 is dynamically assigned an IP address by my ISP.

Thanks,
Asher

"Leon." <leon@noteon.net> wrote in message news:<3fc9dbe8$1@news.rivernet.com.au>...
> "Scott" <scotcox@yahoo.com> wrote in message
> news:e86b530a.0311282008.278a5b62@posting.google.com...
> > Need some pointers at configuring a linux laptop to be able to access
> > a local network while making a ppp connection to the WAN.
>
>
> The local ethernet would be accessable by default, if the firewall isnt
> customised to stop it.
> (eg turn off the firewall first and test, to see ? )
>
> IF the local lan is at work and you have a group of ethernets to access,
> then you need to add routes to these ethernets (specified by their network
> adress and netmask) to go via the gateway on the ethernet you plug into
>
>
> if network 192.168.1.0 is connected to gw1 and 192.168.2.0 is connected to a
> different gateway, then
>
>
> route add 192.168.1.0/255.255.255.0 gw 192.168.10.1
> route add 192.168.2.0/255.255.255.0 gw 192.168.10.2
>
>
> often you just need the full list of networks and netmasks, and just one
> gateway that can reach them all.
>
> The PPP then has the default route, and can access the entire internet...
>
>
>
>
> >
> > using:
> > mdk9.2
> > kppp
> >
> > THX



Relevant Pages

  • Re: gateway IP address
    ... than one other node connected to the Ethernet so just having one way ... connecting his PC to the router, ... Ethernet is going to be the "gateway". ... This will show how MAC addresses ...
    (comp.dcom.sys.cisco)
  • Re: Workgroup Client Bridge Configuration
    ... capability for the LAN interface, in any case it only allows one IP to be specified. ... original SOHO-10 routers in service and on my router pile. ... but the gateway is 216.216.216.1, some operating systems just will not ... I mean't the one computah that's going through the Seneo wireless. ...
    (alt.internet.wireless)
  • Re: Workgroup Client Bridge Configuration
    ... original SOHO-10 routers in service and on my router pile. ... do more than about 1Mbit/sec WAN to LAN. ... but the gateway is 216.216.216.1, some operating systems just will not ... The machine at the end of the wireless bridge should be configured the ...
    (alt.internet.wireless)
  • Re: gateway IP address
    ... An Ethernet (Layer 2) network is a 'local' environment, ... a gateway IP address can ... send the Ethernet frame to the router, so that it can pass it to the device ...
    (comp.dcom.sys.cisco)
  • Re: gateway IP address
    ... An Ethernet network is a 'local' environment, ... a gateway IP address can ... send the Ethernet frame to the router, so that it can pass it to the device ... Device A on Subnet 1, needs to talk to Device B on Subnet 2. ...
    (comp.dcom.sys.cisco)