Re: simultaneous dial-up and ethernet lan??
From: Asher (asher_at_glaun.com)
Date: 12/02/03
- Next message: Douglas Clinton: "Re: telnet problem"
- Previous message: Gary Hartl: "Lynx not opening Website"
- Maybe in reply to: Scott: "Re: simultaneous dial-up and ethernet lan??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Douglas Clinton: "Re: telnet problem"
- Previous message: Gary Hartl: "Lynx not opening Website"
- Maybe in reply to: Scott: "Re: simultaneous dial-up and ethernet lan??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|