Subject: Re: problem with 2 different ip subnet on same ethernet
To: None <bouyer@ensta.fr>
From: Michael Graff <explorer@flame.org>
List: tech-net
Date: 08/01/1996 17:46:41
Manuel Bouyer <bouyer@lix.polytechnique.fr> writes:

> I have a ip subnetwork on an ethernet (129.104.11.0). On this ethernet
> I've installed a solaris machine, with ip adress 192.168.1.1.
> On my NetBSD/pmax (129.104.11.53), I've done
> 'route add -host 192.168.1.1 -interface 129.104.11.53'.

When I had two subnets on the same wire, I did:

	route add 147.155.80.0 packrat -netmask 0xfffffe00 -iface

where packrat was the local host.

That device happened to be a router as well, so I had:

	route add 147.155.0.0 147.155.80.252

in there as well.

--Michael