Subject: Re: bpf write() to local host
To: Andrew Brown <>
From: Manuel Bouyer <>
List: tech-net
Date: 01/19/2003 18:26:18
On Sun, Jan 19, 2003 at 11:26:06AM -0500, Andrew Brown wrote:
> >> i haven't skimmed the patch, but i believe the "standard" solution to
> >> this problem is to tell simh to use a second ethernet adapter in the
> >> host machine.  i can certainly ping (or mount nfs volumes from) my
> >> laptop from the simulator running on my laptop if i have two nics in
> >> it.
> >
> >Hum, reading the sources I can't see how adding a second NIC would help.
> >Maybe it's hardware-dependant ? Does ifconfig have the SIMPLEX flag
> >for the ethernet you use with simh ?
> it's much simpler than that.  the "host" operating system uses one nic
> to talk to things, and you "ifconfig up" the other interface so that
> simh-vax can use it as the emulated nic.  then the "host" and the
> "vax" can simply talk via the hub/switch in your network
> configuration.

Oh, ok.
Well, this is not always an option.
I think it's better if packets send thuugh bpf write() reach the local host
when they have to.

Manuel Bouyer <>
     NetBSD: 23 ans d'experience feront toujours la difference