<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi David,<br><br>To begin with, on host side you have network mask for A-class IP address defined as for C-class address.<br>Which is ok (or *may* be ok), but subnet/broadcast masks definitions mismatch on host side and VAX side.<br>You need to have them equal.<br>This also distorts routing table on the host side.<br><br>Note "may" in "may be ok". Though A/B/C class scheme is supposed to be retured, I'd rather stick to it until as initial step, just because not all software, especially legacy software, may implement non-standard masking 100% correctly. (As a matter of fact I have a set-up that uses A-class private subnet, but it uses standard-size A class masks, i.e. 255.0.0.0 rather than 255.255.255.0.)<br><br>Fix this for a start and see what happens.<br><br>This said, it is suspicious that
 DELQA MAC address does not appear in list of MAC addresses seen by the bridge and that tap0 counters are all 0.<br><br>But begin by fixing masks, do some pinging, and if it still does not work repost new data.<br>Also see if SHOW DEVICE XQ /FULL indicates any errors.<br><br>- Sergey<br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "david.d.miller@att.net" <david.d.miller@att.net><br><b><span style="font-weight: bold;">To:</span></b> simh@trailing-edge.com<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, September 4, 2012 10:10:52 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Simh] Connecting to Ethernet<br></font><br>
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Sergey<br><br>I printed the data you asked for and made no changes to VAX because they looked OK to me.  TCPIP SHOW ROUTE looped and produced no output.<br><br>I appreciate your examination of this problem.<br><br>Diagnostic data follows......<br><br><br>On Linux(Ubuntu) IP: 10.0.0.2 kermel 2.6.38-15-generic .....<br><br>david@Thinkpad:~/vax$ ifconfig<br>br0       Link encap:Ethernet  HWaddr 00:16:36:29:e6:7b  <br>          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0<br>          inet6 addr: fe80::216:36ff:fe29:e67b/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500 
 Metric:1<br>          RX
 packets:11 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:811 (811.0 B)  TX bytes:16459 (16.4 KB)<br><br>eth0      Link encap:Ethernet  HWaddr 00:16:36:29:e6:7b  <br>          inet6 addr: fe80::216:36ff:fe29:e67b/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:81237 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:73843 errors:0 dropped:0 overruns:0
 carrier:0<br>          collisions:0 txqueuelen:1000 <br>          RX bytes:80090941 (80.0 MB)  TX bytes:11682488 (11.6 MB)<br>          Interrupt:16 <br><br>tap0      Link encap:Ethernet  HWaddr 86:bc:f0:f2:2c:de  <br>          UP BROADCAST MULTICAST  MTU:1500  Metric:1<br>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:500 <br>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)<br><br><br>david@Thinkpad:~/vax$ brctl show<br>bridge
 name    bridge id        STP enabled    interfaces<br>br0        8000.00163629e67b    no        eth0<br>                            tap0<br>david@Thinkpad:~/vax$ brctl show br0<br>bridge name    bridge id        STP enabled    interfaces<br>br0        8000.00163629e67b    no        eth0<br>                            tap0<br>david@Thinkpad:~/vax$ brctl showmacs br0<br>port no    mac addr        is local?    ageing
 timer<br>  1    00:0d:4b:4b:3d:ab    no           6.52<br>  1    00:16:36:29:e6:7b    yes           0.00<br>  1    00:21:6a:75:6d:04    no          63.15<br>  2    86:bc:f0:f2:2c:de    yes           0.00<br>  1    e0:46:9a:58:62:14    no          31.61<br>david@Thinkpad:~/vax$ route -n<br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>10.0.0.0       
 0.0.0.0         255.255.255.0   U     0      0        0 br0<br>0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 br0<br><br>In SIMH ......<br><br>sim> sho ver<br>VAX simulator V3.8-1 [64b data, 64b addresses, Ethernet support]<br>sim> show xq<br>XQ, address=20001920-2000192F, no vector, MAC=08:00:2B:AA:BB:CC, type=DELQA, poll=100, attached to tap0<br><br>In OpenVMS V7.3  on node MYVAX   4-SEP-2012 <br><br>$ tcpip show interface /full<br> Interface: LO0<br>   IP_Addr: 127.0.0.1         NETWRK:
 255.0.0.0         BRDCST:<br>                                                           MTU:  4096<br>     Flags: UP LOOP NOARP MCAST SMPX<br>                                  RECEIVE        SEND<br>   Packets                             
 0           0<br>     Errors                             0           0<br>   Collisions:                          0<br> <br> Interface: QE0<br>   IP_Addr: 10.0.0.99         NETWRK: 255.0.0.0         BRDCST: 10.255.255.255<br> Cluster  <br>    C_Addr:                
 C_NETWRK:                 C_BRDCST:<br>                       Ethernet_Addr: 08-00-2B-AA-BB-CC    MTU:  1500<br>     Flags: UP BRDCST RUN MCAST SMPX<br>                                  RECEIVE        SEND<br>   Packets                              0           5<br>    
 Errors                             0           0<br>   Collisions:                          0<br> <br>$ tcpip show route /full<br>MYVAX::SYSTEM 09:53:18 TCPIP$UCP CPU=00:00:03.15 PF=4490 IO=341 MEM=931<br>MYVAX::SYSTEM 09:53:22 TCPIP$UCP CPU=00:00:03.15 PF=4502 IO=347 MEM=943<br>MYVAX::SYSTEM 09:53:29 TCPIP$UCP CPU=00:00:03.16 PF=4502 IO=353 MEM=943<br> Interrupt <br><br>SHOW ROUTE just hangs .. well, I see it's doing I/Os, but no results.<br><br>$ mc tcpip$ping 10.0.0.2<br><br>Hangs as well. <br><br><br>--- On <b>Mon, 9/3/12, Sergey Oboguev <i><oboguev@yahoo.com></i></b> wrote:<br><blockquote style="border-left:2px
 solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Sergey Oboguev <oboguev@yahoo.com><br>Subject: Re: [Simh] Connecting to Ethernet<br>To: david.d.miller@att.net, simh@trailing-edge.com<br>Date: Monday, September 3, 2012, 5:34 PM<br><br><div class="plainMail">Did you remember to configure the interface in TCP/IP services for OpenVMS?<br><br>Assuming for the sake of example that your host uses IP address 192.168.21.3 for <br><br>(initially) eth0 and (subsequently after bridging) br0, and assuming you want to <br>assign <br><br>IP address 192.168.21.200 to VAX instance, you need to configure QE0 inside VMS <br>as follows:<br><br>    $ TCPIP SET INTERFACE QE0 /HOST=192.168.21.200 <br>    $ TCPIP SET CONFIGURATION INTERFACE QE0 /HOST=192.168.21.200<br><br>Depending on exact value of network addresses being used and network topology it <br><br>may be necessary to additionally specify options
 /NETWORK_MASK=n.n.n.n and <br>/BROADCAST_MASK=m.m.m.m, although usually VMS TCP/IP picks correct defaults for <br>the masks.<br><br>If it still does not work, please post the output of<br><br>    $ TCPIP SHOW INTERFACE /FULL<br>    $ TCPIP SHOW ROUTE /FULL<br><br>and (in Linux)<br><br>    ifconfig br0<br>    ifcongig eth0<br>    ifconfig tap0<br>    brctl show<br>    brctl show br0<br>    brctl showmacs br0<br>    route -n<br><br>and (at SIMH command console prompt)<br><br>    show xq<br><br>Thanks,<br>Sergey<br><br>________________________________<br>From: "<a rel="nofollow">david.d.miller@att.net</a>" <<a rel="nofollow">david.d.miller@att.net</a>><br>To: <a rel="nofollow">simh@trailing-edge.com</a><br>Sent: Mon, September 3, 2012 4:10:48 PM<br>Subject: Re: [Simh] Connecting to Ethernet<br><br><br>Sergey<br><br>That was a big help, but I'm not
 there yet.  I did the following<br><br>$ sudo ./ linux-tap.sh create br0 eth0 tap0 david<br>$ sudo vax    ; to start SIMH<br>simh>   ; the usual stuff<br>simh> set xq mac=bla bla<br>simh> att tap0  ;  hooray, this is the first time this succeeded.<br>simh> boot cpu<br><br>When logged into VMS, I could PING and TELNET to LOCALHOST (and 127.0.0.1).   <br>But alas, not to my physical host.  And my physical host can't see the VAX <br>either.<br><br>But I did so many things to get to this point that something else might be <br>screwed up, so I need to reboot linux and start this drill again.<br><br>Thanks for a great start!<br><br>Any other suggestions?<br><br>--- On Mon,
 9/3/12, Sergey Oboguev <<a rel="nofollow">oboguev@yahoo.com</a>> wrote:<br><br><br>>From: Sergey Oboguev <<a rel="nofollow">oboguev@yahoo.com</a>><br>>Subject: Re: [Simh] Basic questions<br>>To: <a rel="nofollow">david.d.miller@att.net</a>, <a rel="nofollow">simh@trailing-edge.com</a><br>>Date: Monday, September 3, 2012, 12:20 PM<br>><br>><br>>> In particular I get the following error:<br>>> david@Thinkpad:~$ sudo brctl addbr br0<br>>> david@Thinkpad:~$ sudo ifconfig tap0 up<br>>> tap0: ERROR while getting interface flags: No such device<br>><br>>Perhaps because <br>><br>>    /usr/sbin/tunctl -t $TAPDEV -u
 $USERID<br>><br>>is missing.<br>><br>>You may find the following script helpful:  <br>><a rel="nofollow" target="_blank" href="http://oboguev.net/misc/linux-tap.sh.txt">http://oboguev.net/misc/linux-tap.sh.txt</a><br>><br>>Usage is at the bottom or invokable as<br>><br>>    ./linux-tap.sh help<br>> <br></div></blockquote></td></tr></tbody></table></div></div>



</div></body></html>