Subject: Re: problem with 2 different ip subnet on same ethernet
To: None <bouyer@ensta.fr>
From: Matt Thomas <matt@lkg.dec.com>
List: tech-net
Date: 08/01/1996 17:40:21
In  <199608011415.QAA29308@antioche.polytechnique.fr> , you wrote:

> Hello,
> 
> I've tried the following today:
> 
> 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'.

The way to do this is via:

route add -host 192.168.1.1 -interface -link le0 -expire 1

Strange (well not so strange if you know how arp works) but it works.
-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt.html
Westford, MA              Disclaimer: I disavow all knowledge of this message