<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Mark<br><br>Well I'm just lazy and use the Ubuntu GUI tools (Ubuntu Software Center and synaptic) to download and build.  I realize their databases often aren't up-to-date.  But you bring up a good point.  Would this problem be solved easier with 3.9?<br><br>David.<br><br>--- On <b>Tue, 9/4/12, Mark Pizzolato - Info Comm <i><Mark@infocomm.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Mark Pizzolato - Info Comm <Mark@infocomm.com><br>Subject: RE: [Simh] Connecting to Ethernet<br>To: "Sergey Oboguev" <oboguev@yahoo.com>, "david.d.miller@att.net" <david.d.miller@att.net>, "simh@trailing-edge.com" <simh@trailing-edge.com><br>Date: Tuesday, September 4, 2012, 11:41 AM<br><br><div id="yiv559835411"><style><!--
#yiv559835411  
 _filtered #yiv559835411 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv559835411 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv559835411 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv559835411 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv559835411  
#yiv559835411 p.yiv559835411MsoNormal, #yiv559835411 li.yiv559835411MsoNormal, #yiv559835411 div.yiv559835411MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv559835411 a:link, #yiv559835411 span.yiv559835411MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv559835411 a:visited, #yiv559835411 span.yiv559835411MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv559835411 p.yiv559835411MsoListParagraph, #yiv559835411 li.yiv559835411MsoListParagraph, #yiv559835411 div.yiv559835411MsoListParagraph
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv559835411 span.yiv559835411EmailStyle17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv559835411 .yiv559835411MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv559835411 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv559835411 div.yiv559835411WordSection1
        {}
#yiv559835411  
 _filtered #yiv559835411 {}
 _filtered #yiv559835411 {font-family:"Calibri", "sans-serif";}
 _filtered #yiv559835411 {font-family:"Courier New";}
 _filtered #yiv559835411 {font-family:Wingdings;}
 _filtered #yiv559835411 {font-family:Symbol;}
 _filtered #yiv559835411 {font-family:"Courier New";}
 _filtered #yiv559835411 {font-family:Wingdings;}
 _filtered #yiv559835411 {font-family:Symbol;}
 _filtered #yiv559835411 {font-family:"Courier New";}
 _filtered #yiv559835411 {font-family:Wingdings;}
#yiv559835411 ol
        {margin-bottom:0in;}
#yiv559835411 ul
        {margin-bottom:0in;}
--></style><div><div class="yiv559835411WordSection1"><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">Hi David,</span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">I’m wondering why you are not using simh v3.9.  </span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">If I had been participating in this discussion from the beginning I’d have recommended you start from the latest
 released code since there were numerous networking changes included there.</span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">The simh v3.9-0 release code is available at: <a rel="nofollow" target="_blank" href="http://simh.trailing-edge.com/sources/simhv39-0.zip">http://simh.trailing-edge.com/sources/simhv39-0.zip</a></span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><p class="yiv559835411MsoListParagraph" style=""><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;"><span style="">-<span style="font:7.0pt "Times New
 Roman";">          </span></span></span><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">Mark</span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><p class="yiv559835411MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;">  </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;"><p class="yiv559835411MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma", "sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma", "sans-serif";"> simh-bounces@trailing-edge.com
 [mailto:simh-bounces@trailing-edge.com] <b>On Behalf Of </b>Sergey Oboguev<br><b>Sent:</b> Tuesday, September 04, 2012 10:57 AM<br><b>To:</b> david.d.miller@att.net; simh@trailing-edge.com<br><b>Subject:</b> Re: [Simh] Connecting to Ethernet</span></p></div></div><p class="yiv559835411MsoNormal">  </p><div><p class="yiv559835411MsoNormal">(typos fixed)<br><br>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 *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>See <a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/IP_classes">http://en.wikipedia.org/wiki/IP_classes</a><br><br>Note "may" in "may be ok". Though A/B/C class scheme is supposed to be retired, I'd rather stick to standard masking 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</p><div><div><div><div><p class="yiv559835411MsoNormal">  </p><div><div class="yiv559835411MsoNormal" style="text-align:center;" align="center"><span style="font-size:10.0pt;font-family:"Tahoma", "sans-serif";"><hr align="center" size="1" width="100%"></span></div><p class="yiv559835411MsoNormal"
 style="margin-bottom:12.0pt;"><b><span style="font-size:10.0pt;font-family:"Tahoma", "sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma", "sans-serif";"> "david.d.miller@att.net" <david.d.miller@att.net><br><b>To:</b> simh@trailing-edge.com<br><b>Sent:</b> Tue, September 4, 2012 10:10:52 AM<br><b>Subject:</b> Re: [Simh] Connecting to Ethernet</span></p><table class="yiv559835411MsoNormalTable" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding:0in 0in 0in 0in;" valign="top"><p class="yiv559835411MsoNormal">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:</p><p class="yiv559835411MsoNormal" style="margin-bottom:12.0pt;"><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</p><div><p
 class="yiv559835411MsoNormal">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: "david.d.miller@att.net" <david.d.miller@att.net><br>To: simh@trailing-edge.com<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 <oboguev@yahoo.com> wrote:<br><br><br>>From: Sergey Oboguev <oboguev@yahoo.com><br>>Subject: Re: [Simh] Basic questions<br>>To: david.d.miller@att.net, simh@trailing-edge.com<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>> </p></div></td></tr></tbody></table><p class="yiv559835411MsoNormal">  </p></div></div></div></div></div></div></div></div></div></div></blockquote></td></tr></table>