[Simh] SIMH Ethernet Mac OS X

Hittner, David T. david.hittner at ngc.com
Wed Jun 27 17:07:41 EDT 2007


It's a bug in sim_ether.c, as has been discussed over the last few days.

You can fix sim_ether yourself until the patch rolls out in the next
release.

http://mailman.trailing-edge.com/pipermail/simh/2007-May/001053.html

Dave

-----Original Message-----
From: simh-bounces at trailing-edge.com
[mailto:simh-bounces at trailing-edge.com] On Behalf Of Frederik Meerwaldt
Sent: Wednesday, June 27, 2007 5:02 PM
To: simh at trailing-edge.com
Subject: [Simh] SIMH Ethernet Mac OS X

Dear SIMH-Users,

I have compiled the most recent version of the SIMH (V3.7-1) on my Mac
OS X 10.4.10 Intel System (MacBook Pro).
For that I downloaded the most recent version of libpcap (v0.9.6) and
compiled that and linked against this one.

I installed OpenVMS/vax 7.3 in the virtual machine and everything except
networking works very well.
I initialize the Ethernet-Device by using the following lines in my
vax.ini file:
set xq mac=08-00-2B-A1-B2-C3
attach xq en0
My en0-Device looks like:
en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST>
mtu 1500
         inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
         ether 00:16:cb:90:22:0c
         media: autoselect status: inactive (I know that the
media-status is inactive, because I am using en1 (Wireless LAN), but
attaching to en1 doesn't work and as I just need it as a kind of
'loopback' (Mac OS X Host <-> Emulated VMS System) this is enough for
me.
My OpenVMS-System has the IP 10.0.0.2. If I ping the OSX-Host from the
OVMS-System, I see the following lines in tcpdump -i en0:
14:21:40.068370 arp who-has 10.0.0.1 tell 10.0.0.2

But unfortunately the Mac-Box does not reply.
In the other way, things look SOMEWHAT better, but not fully - when I
ping the OVMS-System from the OSX-Host I see:
14:22:40.007265 arp who-has 10.0.0.2 tell 10.0.0.1
14:22:40.015508 arp reply 10.0.0.2 is-at aa:00:04:00:02:c0 (oui Unknown)
[ these two packets repeat while pinging ]

It seems like the emulated OpenVMS-Machine receives the packets which
are sent to the en0 ethernet-device, but the Mac OS X Host doesn't care
about the packets on en0 (because the OVMS-Box is answering to the
ARP-Request but Mac OS X doesn't care).
When I manually add the OVMS-Box to the arp-list on the OSX-Host by
entering:
sudo arp -s 10.0.0.2 aa:00:04:00:02:c0
I even get the replies of the VMS Host in the tcpdump:
14:26:35.558787 IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 26950, seq
7, length 64
14:26:35.566451 IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 26950, seq
7, length 64
14:26:36.558839 IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 26950, seq
8, length 64 14:26:36.560080 IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id
26950, seq 8, length 64 [...]

But again OSX just doesn't care about these packets - that's all the
problem.
For Linux-Boxes I read about adding a mirror device so that this
works... I don't have Linux and a mirror device (and I couldn't find a
mirror device driver for OSX), so I would really appreciate another
solution.

... while I'm already bothering you:
Anyone knows why attaching to the second ethernet device (a WLAN- Device
in this case) doesn't work?:
sim> attach xq0 en1
File open error

(running simh as root)

I really really would appreciate running a local VMS Box (so I have a
portable VAX).
Many thanks in advance,

Freddy


_______________________________________________
Simh mailing list
Simh at trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh



More information about the Simh mailing list