Hi everyone,
I am trying to connect to a Vax simulation running under simh on the
same OpenBSD host.
I have set up the networking as follows but cannot ping or telnet to
the virtual Vax. Here are my config files, perhaps some knowledgeable
person could explain what I am doing wrong?
The tap interface does attach on the sims simulator before OpenVMS is booted.
This is all on a Sun t5120 under OpenBSD 6.3 sparc64 - em0 ip is 192.168.1.138
The Vaxen is 192.168.1.6
hostname.em0
dhcp
hostname.em1
-inet6
up
hostname.tap0
-inet6
hostname.bridge0
-inet6
up
add em1
add tap0
ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
index 7 priority 0 llprio 3
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet 127.0.0.1 netmask 0xff000000
vnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:00:00:00:00
index 1 priority 0 llprio 3
media: Ethernet autoselect
status: no carrier
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:14:4f:d4:e1:62
index 2 priority 0 llprio 3
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
inet 192.168.1.138 netmask 0xffffff00 broadcast 192.168.1.255
em1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:14:4f:d4:e1:63
index 3 priority 0 llprio 3
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
em2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:14:4f:d4:e1:64
index 4 priority 0 llprio 3
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
em3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:14:4f:d4:e1:65
index 5 priority 0 llprio 3
media: Ethernet autoselect (none)
status: no carrier
enc0: flags=0<>
index 6 priority 0 llprio 3
groups: enc
status: active
bridge0: flags=41<UP,RUNNING>
index 8 llprio 3
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
em1 flags=3<LEARNING,DISCOVER>
port 3 ifpriority 0 ifcost 0
tap0 flags=3<LEARNING,DISCOVER>
port 9 ifpriority 0 ifcost 0
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr fe:e1:ba:d0:ed:24
index 9 priority 0 llprio 3
groups: tap
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
index 10 priority 0 llprio 3
groups: pflog
Here is the attach to the tap interface:-
sparc5120# ./simh-vax
VAX simulator V3.9-0
NVR: buffering file in memory
sim> attach xq tap:tap0
Eth: opened OS device tap0
The network on the Vax sim is up and running
$ show network
Product: DECNET Node: SIMHSU Address(es): 1.278
Product: TCP/IP Node: vaxemul.home.com Address(es): 192.168.1.6
$ tcpip ping 192.168.1.138
PING 192.168.1.138 (192.168.1.138): 56 data bytes
----192.168.1.138 PING Statistics----
4 packets transmitted, 0 packets received, 100% packet loss
%SYSTEM-F-TIMEOUT, device timeout
However I cannot ping or telnet to the Vax machine.
Any help would be most appreciated!
Here's my dmesg, sorry for the long post!
sparc5120$ dmesg
console is /virtual-devices@100/console@1
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.3 (GENERIC.MP) #486: Sat Mar 24 22:37:16 MDT 2018
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 8589934592 (8192MB)
avail mem = 8420786176 (8030MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: SPARC Enterprise T5120
cpu0 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu1 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu2 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu3 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu4 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu5 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu6 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
cpu7 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1165.379 MHz
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
vldc0 at cbus0
vldcp0 at vldc0 chan 0x14: ivec 0x28, 0x29 channel "spds"
"sunvts" at vldc0 chan 0x6 not configured
"sunmc" at vldc0 chan 0x7 not configured
"explorer" at vldc0 chan 0x8 not configured
"led" at vldc0 chan 0x9 not configured
"flashupdate" at vldc0 chan 0xa not configured
"ipmi" at vldc0 chan 0xc not configured
"system-management" at vldc0 chan 0xd not configured
vldc1 at cbus0
"spfma" at vldc1 chan 0x5 not configured
vldc2 at cbus0
vldcp1 at vldc2 chan 0x0: ivec 0x0, 0x1 channel "hvctl"
"ldom-primary" at vldc2 chan 0x1 not configured
"fmactl" at vldc2 chan 0x3 not configured
vldcp2 at vldc2 chan 0x19: ivec 0x32, 0x33 channel "ldom-puffy"
vldc3 at cbus0
"ldmfma" at vldc3 chan 0x4 not configured
"virtual-domain-service" at cbus0 not configured
vcc0 at cbus0
vcctty0 at vcc0 chan 0x18: ivec 0x30, 0x31 domain "puffy"
vds0 at cbus0
vdsp0 at vds0 chan 0x1a: ivec 0x34, 0x35
vsw0 at cbus0
vnet0 at vsw0 chan 0x1b: ivec 0x36, 0x37
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 2 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 0 function 0 "PLX PEX 8533" rev 0xaa
pci1 at ppb0 bus 3
ppb1 at pci1 dev 1 function 0 "PLX PEX 8533" rev 0xaa
pci2 at ppb1 bus 4
ppb2 at pci2 dev 0 function 0 "PLX PEX 8517" rev 0xac
pci3 at ppb2 bus 5
ppb3 at pci3 dev 1 function 0 "PLX PEX 8517" rev 0xac
pci4 at ppb3 bus 6
ppb4 at pci4 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci5 at ppb4 bus 7
ohci0 at pci5 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x16, version 1.0
ohci1 at pci5 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x17, version 1.0
ehci0 at pci5 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x14
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev
2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev
1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev
1.00/1.00 addr 1
ppb5 at pci3 dev 2 function 0 "PLX PEX 8517" rev 0xac
pci6 at ppb5 bus 8
em0 at pci6 dev 0 function 0 "Intel 82571EB" rev 0x06: ivec 0x17,
address 00:14:4f:d4:e1:62
em1 at pci6 dev 0 function 1 "Intel 82571EB" rev 0x06: ivec 0x14,
address 00:14:4f:d4:e1:63
ppb6 at pci3 dev 3 function 0 "PLX PEX 8517" rev 0xaa
pci7 at ppb6 bus 9
em2 at pci7 dev 0 function 0 "Intel 82571EB" rev 0x06: ivec 0x14,
address 00:14:4f:d4:e1:64
em3 at pci7 dev 0 function 1 "Intel 82571EB" rev 0x06: ivec 0x15,
address 00:14:4f:d4:e1:65
ppb7 at pci1 dev 2 function 0 "PLX PEX 8533" rev 0xaa
pci8 at ppb7 bus 10
mpi0 at pci8 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x02: msi
mpi0: UNUSED, firmware 1.22.0.0
scsibus1 at mpi0: 112 targets
sd0 at scsibus1 targ 0 lun 0: <HITACHI, H103030SCSUN300G, A2A8> SCSI4
0/direct fixed naa.5000cca01551ba7c
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus1 targ 1 lun 0: <NETAPP, X423_SLTNG900A10, NA02> SCSI4
0/direct fixed naa.5000c50072018993
sd1: 858483MB, 512 bytes/sector, 1758174768 sectors
ppb8 at pci1 dev 8 function 0 "PLX PEX 8533" rev 0xaa
pci9 at ppb8 bus 11
ppb9 at pci9 dev 0 function 0 "PLX PEX 8533" rev 0xaa
pci10 at ppb9 bus 12
ppb10 at pci10 dev 1 function 0 "PLX PEX 8533" rev 0xaa: msi
pci11 at ppb10 bus 13
ppb11 at pci10 dev 2 function 0 "PLX PEX 8533" rev 0xaa: msi
pci12 at ppb11 bus 14
ppb12 at pci10 dev 8 function 0 "PLX PEX 8533" rev 0xaa: msi
pci13 at ppb12 bus 15
ppb13 at pci10 dev 9 function 0 "PLX PEX 8533" rev 0xaa: msi
pci14 at ppb13 bus 16
ppb14 at pci10 dev 10 function 0 "PLX PEX 8533" rev 0xaa: msi
pci15 at ppb14 bus 17
ppb15 at pci1 dev 9 function 0 "PLX PEX 8533" rev 0xaa: msi
pci16 at ppb15 bus 18
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
ebus0 at mainbus0
com0 at ebus0 addr ca0000-ca0007 ivec 0x13: ns16550a, 16 byte fifo
umass0 at uhub0 port 2 configuration 1 interface 0 "Texas Instruments
Incorporated 6250 FW: 03.05.02.22.562AD423" rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd0 at scsibus2 targ 1 lun 0: <TSSTcorp, CD/DVDW TS-T632A, SR03> SCSI0
5/cdrom removable serial.0451625fACD02A4E2034
uhub3 at uhub0 port 4 configuration 1 interface 0 "Cypress
Semiconductor USB2 Hub" rev 2.00/0.0b addr 3
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
bootpath: /pci@0,0/pci@0,0/pci@2,0/scsi@0,0/disk@0,0
root on sd0a (27426ea80c1d145a.a) swap on sd0b dump on sd0b