Can you do this kind of thing with IP Aliases ?
say eth0 = 192.168.100.130
and eth0:0 = 202.44.164.38

and setup routing that way ?
What disadvantages are there in not using a 2nd network card?

my example is Mandrake 8.1 on laptop with just one nic, I plug into the
corporate network with
a 13.199.x.x ipaddress and a working gateway
at home I use a 192.168.0.4 with the gateway being 192.168.0.1 which is the
IP address of my Win 2000 Workstation for internet connection sharing (my
wife can't get used to Linux yet)

At the moment I have to set up a script to add the default gateway
eg. route add default gw 192.168.0.1

I would like to be able to have both setup and automatically use the
appropriate network

Chris

-----Original Message-----
From: Silcock, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [SLUG] Network To Network


> Linux Box 1 is...
> eth0 (internal) 192.168.100.130/255.255.255.0
> eth1 (external) 202.44.164.38/255.255.255.240
> 
> Linux Box 2 is...
> eth0 (internal) 192.168.100.131/255.255.255.0
> eth1 (external) 202.44.164.39/255.255.255.240
> 

Wouldn't you need to have distinct IP subnets on each internal network?  Not
both on 192.168.100?

S.   :)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to