[EMAIL PROTECTED] wrote on 04/08/2004 04:51:25 PM:

> Hi all
> someone may help?
> 
> I have 2 home networks & 1 adsl connection. 
> all together 4 network cards & 1 ppp for adsl
> one network is 10.0.0.x the other is 192.168.0.x (gateways are 10.0.
> 0.1 & 192.168.0.1)
> 

I am never any good at explaining this, but here it goes.
My setup would be:
Machine 1: eth1: 10.0.0.1
Machine 1: eth0: ppp0: internet

Machine 2: eth0: 192.168.0.1
Machine 2: eth1: 10.0.0.2

Then on Machine 1 issue command:
route add -net 192.168.0.0 netmask 255.255.255.0 gw 10.0.0.2 eth1

On Machine 2, set the default gateway to 10.0.0.1

Cheers,

Scott

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to