Subject: Re: NetBSD/vax emulated by simh
To: None <netbsd-users@NetBSD.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: netbsd-users
Date: 01/18/2006 14:02:22
Paulo Aukar wrote long ago, that's why I cite him nearly full:

>  I have just installed NetBSD-2.1 vax under the emulation of simh on
> a i386 NetBSD-3.99.9 machine. I have followed the instructions present
> at http://www.netbsd.org/Port/vax/emulator-howto.html everything seems
> to have gone well. But I can't configure successfully the network.
> dmesg shows:
> 
> qe0 at uba0 csr 174400 vec ipl 15
> qe0: delqa, hardware address 08:00:2b:aa:bb:cc
> 
> and
> 
> rlc0 at uba0 csr 174440 vec 160 ipl 15
> rl0 at rlc0 drive 0: RL01, drive not loaded
> 
> Ifconfig recognizes qe0 as a network device but dhclient and "manual"
> inet setup don't work. I can "ping" IP but when i try to ping the
> outside world it says "No route to host".
> 
> The "manual" command I'm running is:
> 
> #ifconfig qe0 inet 192.168.1.25 netmask 255.255.255.0 up 
> #route add default 192.168.1.1 

Because SIMH uses bpf to access the network, it will not see it's host 
machine but only the outside ethernet. Is this your problem? You didn't
menthion whether 192.168.1.1 is the host machine or yet another machine on
the network...

Other than that: If you really typed in '#ifconfig ...' and
'#route add...', it can't work, because # starts a comment section
in the shell. Type the commands without a # in front of them:

ifconfig qe0 inet 192.168.1.25 netmask 255.255.255.0 up 
route add default 192.168.1.1 

Regards, and sorry for the long delay... December was very hectic here.
	-is