<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        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";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:525292669;
        mso-list-type:hybrid;
        mso-list-template-ids:487079386 1144409882 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:2;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi David,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m wondering why you are not using simh v3.9.  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The simh v3.9-0 release code is available at: <a href="http://simh.trailing-edge.com/sources/simhv39-0.zip">http://simh.trailing-edge.com/sources/simhv39-0.zip</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mark<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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=MsoNormal><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<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>(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 href="http://en.wikipedia.org/wiki/IP_classes" target="_blank">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<o:p></o:p></p><div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><hr size=1 width="100%" align=center></span></div><p class=MsoNormal 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><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0in 0in 0in 0in'><p class=MsoNormal>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:<o:p></o:p></p><p class=MsoNormal 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<o:p></o:p></p><div><p class=MsoNormal>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 href="http://oboguev.net/misc/linux-tap.sh.txt" target="_blank">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>> <o:p></o:p></p></div></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></div></div></body></html>