-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 10 May 2000, Greg wrote:
> > Mind you, since all the boxes are on one physical network, I'm not
> > sure why you just don't add a static route like this on all the
> > 192.168.1.0/24 boxes:
> >
> > route add -net 192.168.2.0 netmask 255.255.255.0 eth0
> >
> > and on the 192.168.1.0/24 boxes:
> >
> > route add -net 192.168.1.0 netmask 255.255.255.0 eth0
> >
>
> This doesn't seem to work.
I think this is what you need to do:
on all machines with 192.168.1.0/24 (but NOT on the machine you
are using IP alias) (ALL in one line)
route add -net 192.168.2.0 netmask 255.255.255.0
gw 192.168.1.1 eth0
It's assumed the machine you using IPalias have IP
192.168.1.1 and 192.168.2.* and it's the machine you
want to use as gateway to 192.168.2.0/24. you don't need
to do anything on the gateway machine itself as long as
the IP alias worked. (try ping 192.168.2.* on this machine,
and according to you, this worked.)
Good luck
--
---------------------
Yin Tan Cui ("`-''-/").___..--''"`-._
`6_ 6 ) `-. ( ).`-.__.`)
[EMAIL PROTECTED] (_Y_.)' ._ ) `._ `. ``-..-'
[EMAIL PROTECTED] _..`--'_..-_/ /--'_.' ,'
(il),-'' (li),' ((!.-'
Home Page: http://www.cse.unsw.edu.au/~cyt
Find my public keys in my home page.
-----------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: jvJx4GBIOZSnPPmmRa70AfW4veS9Kxi3
iQA/AwUBORjjWj9ZXLfpmJXbEQIbFACgskaRJVKwSd/oXcVU0JcSkqrpszYAnjDm
fFCSdy3nT5+8B3NndfiU4sl6
=GiHz
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]