<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MailQuote, li.MailQuote, div.MailQuote
        {mso-style-name:"Mail Quote";
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {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:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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">If anyone else has responded to this e-mail and hasn’t received back a response from the list – it’s because the e-mail is too large.<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">Reply back to this message as I’ve trimmed it down.<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">Supratim – I went to reply back to your message below. Apparantly “LOL” translated into Swedish is still “LOL”
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><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>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers, Wiz!!<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:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<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""> owner-hecnet@Update.UU.SE [mailto:owner-hecnet@Update.UU.SE]
<b>On Behalf Of </b>Supratim Sanyal<br>
<b>Sent:</b> Monday, 24 August 2020 9:54 AM<br>
<b>To:</b> hecnet@Update.UU.SE<br>
<b>Subject:</b> Re: [HECnet] Configuring py-decnet.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 8/23/20 6:57 PM, Peter Lothberg wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><a href="http://supratim.sanyal.org/decnet-mac-address-scssystemid-converter.html?i=1">http://supratim.sanyal.org/decnet-mac-address-scssystemid-converter.html?i=1</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Jag sa att man inte hade ARP..<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>de sissta 16 bitarna {r 6-bitar area + 10 bitar nodummer i mac adressen<o:p></o:p></pre>
</blockquote>
<pre style="line-height:27.0pt;background:#F8F9FA;unicode-bidi:isolate;resize: none;white-space:pre-wrap;overflow-wrap: break-word;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;overflow:hidden;word-spacing:0px" id="tw-target-text"><span lang="SV" style="font-size:21.0pt;font-family:"inherit","serif";color:#222222">yippee mitt lilla javascript är mer populärt än powerdog industrier (och google translate förhoppningsvis fungerar!)</span><span style="font-size:21.0pt;font-family:"inherit","serif";color:#222222"><o:p></o:p></span></pre>
<p><o:p> </o:p></p>
<p><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><o:p> </o:p></pre>
<pre>----- Original Message -----<o:p></o:p></pre>
<pre>From: "David Moylan" <a href="mailto:djm@wiz.net.au"><djm@wiz.net.au></a><o:p></o:p></pre>
<pre>To: "hecnet" <a href="mailto:hecnet@Update.UU.SE"><hecnet@Update.UU.SE></a><o:p></o:p></pre>
<pre>Sent: Sunday, August 23, 2020 6:42:45 PM<o:p></o:p></pre>
<pre>Subject: RE: [HECnet] Configuring py-decnet.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Hi Thord,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>You also have two GRE definitions which looks wrong.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>You should have one circuit definition for PyDECnet to listen on the tap interface and another for your tunnel to Peter.<o:p></o:p></pre>
<pre>I don't know what this line is for:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>circuit gre-0 GRE 192.168.12.161  <-- This is real address to host machine.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>You also have two network adapters on your emulated machine - if you setup a local bridge, there is no requirement for this.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>RSTS > xq > tap interface > bridge<o:p></o:p></pre>
<pre>PyDECnet > tap interface > bridge<o:p></o:p></pre>
<pre>Ethernet interface > bridge<o:p></o:p></pre>
<pre>Configure IP address on bridge<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Then configure PyDECnet to listen on the tap interface and run the GRE tunnel to Peter.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>You can also use pcap as you have configured below which I understand works fine. I personally use the tap interface directly with the PyDECnet patch as posted earlier.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>In my case, I have tap91 going to my emulated vax (I chose this because the vax is 35.91 and I wanted to use a numbering system that reflected this).<o:p></o:p></pre>
<pre>I have tap1023 configured for PyDECnet.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>In my vax.ini file I have:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>; this is decnet phase iv node 35.91<o:p></o:p></pre>
<pre>set xq mac=AA-00-04-00-5B-8C<o:p></o:p></pre>
<pre>attach xq tap:tap91<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>and an example pydecnet.conf:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>circuit tap-1023 Ethernet tap:tap1023 --random-address<o:p></o:p></pre>
<pre>circuit gre-12 GRE 11.22.33.44 --cost 5<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>as posted just below, the MAC address must be the correct one for your DECnet host.<o:p></o:p></pre>
<pre>The example above uses my MAC address for my 35.91 node.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>There is a conversion page here that you can use:<o:p></o:p></pre>
<pre><a href="http://powerdog.com/addrconv.cgi">http://powerdog.com/addrconv.cgi</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>and Peter has already done one of the calculations for you below.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>cheers, Wiz!!<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: <a href="mailto:owner-hecnet@Update.UU.SE">owner-hecnet@Update.UU.SE</a> [<a href="mailto:owner">mailto:owner</a>-<o:p></o:p></pre>
<pre><a href="mailto:hecnet@Update.UU.SE">hecnet@Update.UU.SE</a>] On Behalf Of Peter Lothberg<o:p></o:p></pre>
<pre>Sent: Monday, 24 August 2020 6:43 AM<o:p></o:p></pre>
<pre>To: hecnet<o:p></o:p></pre>
<pre>Subject: Re: [HECnet] Configuring py-decnet.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>59.53 is aa00.0400.35ec<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>----- Original Message -----<o:p></o:p></pre>
<pre>From: "bqt" <a href="mailto:bqt@softjar.se"><bqt@softjar.se></a><o:p></o:p></pre>
<pre>To: "hecnet" <a href="mailto:hecnet@Update.UU.SE"><hecnet@Update.UU.SE></a><o:p></o:p></pre>
<pre>Sent: Sunday, August 23, 2020 4:32:37 PM<o:p></o:p></pre>
<pre>Subject: Re: [HECnet] Configuring py-decnet.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Um, Thord. You do know that DECnet expects very specific MAC addresses<o:p></o:p></pre>
<pre>to work, right?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>   Johnny<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>On 2020-08-23 22:29, Thord Nilson wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi!<o:p></o:p></pre>
<pre>Great!<o:p></o:p></pre>
<pre>The System is Slackware 14.2 with kernel 4.10.13 running on bare iron.<o:p></o:p></pre>
<pre>(moved to another machine not to mess so much with network on main<o:p></o:p></pre>
</blockquote>
<pre>machine)<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>There is traffic on the virtual interface dnettap0 (see below)  but rsts<o:p></o:p></pre>
<pre>does not seem to see the py-router.<o:p></o:p></pre>
<pre>Is there some "magical" command to enable this or is it automatic?<o:p></o:p></pre>
<pre>Any ideas?<o:p></o:p></pre>
<pre>Best regards,<o:p></o:p></pre>
<pre>Thord.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The config i have now is, in simh:<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>; DECnet 59.53<o:p></o:p></pre>
<pre>set xq enable<o:p></o:p></pre>
<pre>set xq type=DELQA  mac=DE-18-6B-DB-21-F6<o:p></o:p></pre>
<pre>att xq tap:dnettap0<o:p></o:p></pre>
<pre>;set xqb enable<o:p></o:p></pre>
<pre>set xqb disable<o:p></o:p></pre>
<pre>set xqb type=DELQA mac=96-72-A1-2A-E7-40<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>The dnettap0 virtual interface looks like this:<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>$ /sbin/ifconfig dnettap0<o:p></o:p></pre>
<pre>dnettap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500<o:p></o:p></pre>
<pre>         inet 192.168.12.162  netmask 255.255.255.0  broadcast<o:p></o:p></pre>
<pre>192.168.12.255<o:p></o:p></pre>
<pre>         inet6 fe80::a3d3:3542:9b47:9a19  prefixlen 64  scopeid 0x20<link><o:p></o:p></pre>
<pre>         ether de:18:6b:db:21:f6  txqueuelen 1000  (Ethernet)<o:p></o:p></pre>
<pre>         RX packets 35373  bytes 5842616 (5.5 MiB)<o:p></o:p></pre>
<pre>         RX errors 0  dropped 442  overruns 0  frame 0<o:p></o:p></pre>
<pre>         TX packets 19809  bytes 7619336 (7.2 MiB)<o:p></o:p></pre>
<pre>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>In rsts i can do:<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>$ sho dev _xh0:<o:p></o:p></pre>
<pre>Device _XH0:   (DELQA)   Control QNA-0   CSR 774456  Def Addr:<o:p></o:p></pre>
<pre>DE-18-6B-DB-21-F6<o:p></o:p></pre>
<pre>$ ncp<o:p></o:p></pre>
<pre>NCP>show known nodes<o:p></o:p></pre>
<pre>Known Node Volatile Summary as of 23-AUG-20 09:04:05<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Executor Node = 59.53 (ELVIRA)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>State                      = On<o:p></o:p></pre>
<pre>Identification             = DECnet/E V4.1<o:p></o:p></pre>
<pre>Active Links               = 0<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Remote Node = 59.20 (KICKI)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Circuit                    = QNA-0<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Remote Node = 59.40 (VERA)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Circuit                    = QNA-0<o:p></o:p></pre>
<pre>NCP><o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre>The nodes kicki and vera are the ones i defined during install.<o:p></o:p></pre>
<pre>The pydecnet configuration file looks like this:<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre># Test for now.<o:p></o:p></pre>
<pre># Configuration file<o:p></o:p></pre>
<pre>#circuit tap-0 Ethernet tap:/dev/dnettap0 --console Plugh --random-<o:p></o:p></pre>
</blockquote>
<pre>address<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>#circuit tap-0 Ethernet tap:/dev/tap0 --console Plugh --random-address<o:p></o:p></pre>
<pre>circuit tap-0 Ethernet pcap:dnettap0 --console Plugh --hwaddr<o:p></o:p></pre>
<pre>de-18-6b-db-21-f6  --cost 10<o:p></o:p></pre>
<pre>#circuit tap-0 Ethernet pcap:tap0 --console Plugh --random-address<o:p></o:p></pre>
<pre>#circuit eth-1 Ethernet pcap:en1<o:p></o:p></pre>
<pre>#circuit dmc-0 SimhDMC 127.0.0.1:11042 <a href="http://127.0.0.1:11042"><http://127.0.0.1:11042></a><o:p></o:p></pre>
<pre>#circuit dmc-0 Multinet localhost:7000<o:p></o:p></pre>
<pre>#circuit dmc-0 Multinet localhost:700:connect<o:p></o:p></pre>
<pre>#circuit dmc-1 SimhDMC localhost:11043:secondary<o:p></o:p></pre>
<pre>#circuit dmc-2 DDCMP tcp:12345:localhost:32154 --cost 3<o:p></o:p></pre>
<pre>#circuit dmc-2 DDCMP udp:12345:localhost:32154 --cost 3<o:p></o:p></pre>
<pre>#circuit dmc-0 DDCMP serial:/dev/tty.usbserial-FTVSKM26:19200 --t3 120<o:p></o:p></pre>
<pre>--qmax 2<o:p></o:p></pre>
<pre>circuit gre-0 GRE 192.168.12.161  <-- This is real address to host machine.<o:p></o:p></pre>
<pre>circuit gre-1 GRE remote.addr.to.peter<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>routing 59.100 --type l1router<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>node @nodenames.dat<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>system --ident "Sample PyDECnet configuration"<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre># This replaces the default built-in mirror object which is<o:p></o:p></pre>
<pre># implemented as a Python module within PyDECnet by a functionally<o:p></o:p></pre>
<pre># equivalent one that runs as a subprocess.<o:p></o:p></pre>
<pre>object --number 25 --name MIRROR --file ../decnet/applications/mirror.py<o:p></o:p></pre>
<pre>----------------------------------------------<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</blockquote>
</blockquote>
</blockquote>
</div>
</div>
</body>
</html>