[Simh] The Ultimate SIMH VAX Networking Challenge!

Luca Sironi luca at sironi.tk
Sun Jul 12 12:56:51 EDT 2009


2009/7/5 Seth Morabito <sethm at loomcom.com>

> Hey everyone,
>
> I've got a puzzler for the more experienced SIMH users here who might
> already be doing what I'm trying to do.
>
> My end goal is to have a single host system, with a single physical
> Ethernet, hosting two (or more!) SIMH VAX instances. Each SIMH VAX
> should be able to communicate with all the others, and with the host,
> and all of them should be reachable from the public Internet.
>

Don't know for decnet still (i'm the real vms dummy).
But i manage to have this by simulating on my laptop a complete lan of
computer using Xen.

My laptop run as hypervisor debian (well in fact it's ubuntu) following
these instructions

http://wiki.debian.org/Xen

follow the instruction for create a domU (netbsd or linux), install simh on
the top of the domU ,install openvms on the top of simh,
install TCP/IP (choosing another ip)

this is the configuration of my domU running simh (let's say SIMH1)

kernel      = '/boot/vmlinuz-2.6.26-2-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-amd64'
memory      = '256'
root        = '/dev/hda2 ro'
disk        = [
                  'phy:/dev/VG_guests/obelix-swap,hda1,w',
                  'phy:/dev/VG_guests/obelix-disk,hda2,w',
name        = 'obelix'
vif         = [ 'ip=192.168.100.11,mac=00:16:3E:C0:C0:02' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

for checking what you asked i duplicate the domU in this way (let's say
SIMH2)

lvcreate -L4G -s -n obelix2-disk /dev/VG_guests/obelix-disk
lvcreate -L128M -s -n obelix2-swap /dev/VG_guests/obelix2-swap

and i made another config file changing ip and pointers to disk.
At this point you will be able to run also SIMH2, run the identical simh-vax
and change from openvms ip and domain

with

@TCPIP$CONFIG

the two vaxes will have two local ip and will be able to do telnet on the
other one and on the linux hypervisor
They won't be able to reach the two emulator though.

So to summarize my tcp/ip network is like this

192.168.100.10 linux dom0 (ubuntu with debian kernel)
->192.168.100.11 linux domU (debian used just for running SIMH1)
-->192.168.100.12 openvms running on SIMH1 running on top of 192.168.100.11
->192.168.100.13 linux domU (debian2 used just for running SIMH2).
-->192.168.100.14 openvms running on SIMH2 running on top of 192.168.100.13

12 and 14 can't communicate respectively with 11 and 13 but they can be
telnetted by everything else i've got on my lan..

luca
-- 
http://www.sironi.tk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20090712/8a852452/attachment-0003.html>


More information about the Simh mailing list