<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/15/2019 06:49 AM, Janos
      Buttgereit via USRP-users wrote:<br>
    </div>
    <blockquote
      cite="mid:79C09BB4-E582-42D7-8474-6E4949D0B9E6@fh-muenster.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi Ettus Users,
      <div class=""><br class="">
      </div>
      <div class="">I wanted to friendly bump up this topic again. Itís
        really blocking me from working with the N310 if this error
        persists. Iím a bit lost with finding out why the MAC address of
        the network interfaces cannot be looked up, looked through the
        implementation of†<span style="background-color: rgb(255, 255,
          255); font-family: "Courier New";" class="">commit_xport</span>,
        hover having zero python knowledge and not much in-depth
        networking knowledge I canít really figure out what could be the
        source of the error. So, any pointers are greatly appreciated!</div>
      <div class=""><br class="">
      </div>
      <div class="">Thanks again</div>
      <div class="">Janos<br class="">
        <div><br class="">
        </div>
      </div>
    </blockquote>
    What happens if you just:<br>
    <br>
    uhd_usrp_probe<br>
    <br>
    or<br>
    <br>
    uhd_usrp_probe --args "addr=192.167.1.100"<br>
    <br>
    or<br>
    <br>
    uhd_usrp_probe --args "addr=192.168.10.2"<br>
    <br>
    <br>
    <blockquote
      cite="mid:79C09BB4-E582-42D7-8474-6E4949D0B9E6@fh-muenster.de"
      type="cite">
      <div class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">Am 01.03.2019 um 13:15 schrieb Janos
              Buttgereit via USRP-users <<a moz-do-not-send="true"
                href="mailto:usrp-users@lists.ettus.com" class="">usrp-users@lists.ettus.com</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="Content-Type" content="text/html;
                charset=windows-1252" class="">
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; line-break: after-white-space;" class="">Hi,
                <div class=""><br class="">
                </div>
                <div class="">Iím about to port an application that was
                  working with a setup of two X300 devices to a new N310
                  device.</div>
                <div class=""><br class="">
                </div>
                <div class="">For a first step the N310 should simply be
                  used to stream four RF channels to a host. However
                  before using it for streaming I wanted to perform some
                  simple operations like getting the device tree through
                  the uhd_usrp_probe command, which fails at the moment.
                  I installed a current version of the SD card image a
                  few days ago and my host is running an UHD version
                  compiled from the tip of the UHD repo a few days ago.
                  I suspect this is a network config error, however Iím
                  not sure and sadly Iím no networking expert.</div>
                <div class=""><br class="">
                </div>
                <div class="">A brief overview of my setup:</div>
                <div class="">A host PC, running Ubuntu equipped with a
                  2x10Gbit Ethernet card and two usual Gbit Ethernernet
                  cards. One 1Gbit ethernet port is used for internet
                  connection, the other one is connected to a Wifi
                  Router, running a DHCP server in the address space
                  192.167.1.x. The N310 is connected to this router, the
                  DHCP server assigns the address 192.167.1.100 to the
                  N310. Pinging the device works as well as establishing
                  an SSH connection to it. The two SFP ports are
                  connected to the 10Gbit card of the host, on the host
                  side those ports have the IP address 192.168.10.1 and
                  192.168.20.1. I loaded an XG FPGA image to use both
                  SFP ports at 10Gbit speed and they respond to pings.
                  To summarize, this is the current network config as
                  reported by the system:</div>
                <div class=""><br class="">
                </div>
                <div class="">
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">sdr@NTLabDSP:~$
                      ip addr</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">1: lo:
                      <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc
                      noqueue state UNKNOWN group default qlen 1000</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      link/loopback 00:00:00:00:00:00 brd
                      00:00:00:00:00:00</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet
                      127.0.0.1/8 scope host lo</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      ::1/128 scope host†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">2: enp4s0:
                      <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
                      qdisc mq state UP group default qlen 1000</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      link/ether 00:0a:f7:81:d5:26 brd ff:ff:ff:ff:ff:ff</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet
                      192.167.1.102/24 brd 192.167.1.255 scope global
                      dynamic enp4s0</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft 4745sec preferred_lft 4745sec</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      fe80::2ddf:29cd:ab15:aa68/64 scope link†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">3: eno1:
                      <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
                      qdisc pfifo_fast state UP group default qlen 1000</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      link/ether 98:90:96:c6:92:3c brd ff:ff:ff:ff:ff:ff</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet
                      10.211.21.102/23 brd 10.211.21.255 scope global
                      dynamic eno1</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft 3812sec preferred_lft 3812sec</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      2a02:c6a0:3071:53fc:f1:1e14:9cf0:3521/128 scope
                      global dynamic†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft 904sec preferred_lft 604sec</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      fe80::58d:8415:1a20:604e/64 scope link†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">4:
                      enp5s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP>
                      mtu 8000 qdisc mq state UP group default qlen 1000</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      link/ether 00:1b:21:bc:19:96 brd ff:ff:ff:ff:ff:ff</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet
                      192.168.10.1/24 scope global enp5s0f0</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      fe80::21b:21ff:febc:1996/64 scope link†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">5:
                      enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP>
                      mtu 8000 qdisc mq state UP group default qlen 1000</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      link/ether 00:1b:21:bc:19:97 brd ff:ff:ff:ff:ff:ff</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet
                      192.168.20.1/24 scope global enp5s0f1</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † inet6
                      fe80::21b:21ff:febc:1997/64 scope link†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † †
                      †valid_lft forever preferred_lft forever</font></div>
                </div>
                <div class=""><br class="">
                </div>
                <div class="">This host setup used to work flawlessly
                  with the two X300 units.</div>
                <div class=""><br class="">
                </div>
                <div class="">Now when trying to run uhd_usrp_probe I
                  think I got that I need to specify all three
                  addresses, the primary and secondary address of the
                  SFP ports that handle streaming as well as the
                  management port address. So I pass those three
                  parameters as args to uhd_usrp_probe. However when
                  doing so, I get the error "Could not find MAC address
                  for IP address 192.168.20.1ď which seems a bit weird
                  to me, as to my knowledge a MAC address is a hardware
                  property of the network interface and therefore cannot
                  be misconfigured. So is this a network configuration
                  error or am I doing something different wrong? For the
                  sake of completeness, here is the complete output of
                  uhd_usrp_probe:</div>
                <div class=""><br class="">
                </div>
                <div class="">
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">sdr@NTLabDSP:~$
                      uhd_usrp_probe
--args="addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.167.1.100"</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[INFO]
                      [UHD] linux; GNU C++ version 5.4.0 20160609;
                      Boost_105800; UHD_3.15.0.git-13-g52138314</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[INFO]
                      [MPMD] Initializing 1 device(s) in parallel with
                      args:
mgmt_addr=192.167.1.100,type=n3xx,product=n310,serial=316CD18,claimed=False,addr=192.168.10.2,second_addr=192.168.20.2</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[INFO]
                      [MPM.PeriphManager] init() called with device args
`product=n310,mgmt_addr=192.167.1.100,second_addr=192.168.20.2,clock_source=internal,time_source=internal'.</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[ERROR]
                      [RPC] Could not find MAC address for IP address
                      192.168.20.1</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[ERROR]
                      [MPMD] Failure during block enumeration:
                      RuntimeError: Error during RPC call to
                      `commit_xport'. Error message: Could not find MAC
                      address for IP address 192.168.20.1</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">[ERROR]
                      [MPM.RPCServer] Uncaught exception in method
                      commit_xport :Could not find MAC address for IP
                      address 192.168.20.1†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">†Traceback
                      (most recent call last):</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† File
                      "/usr/lib/python3.5/site-packages/usrp_mpm/rpc_server.py",
                      line 182, in new_claimed_function</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † return
                      function(*args)</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† File
                      "/usr/lib/python3.5/site-packages/usrp_mpm/periph_manager/n3xx.py",
                      line 546, in commit_xport</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† † return
                      self._xport_mgrs['udp'].commit_xport(sid,
                      xport_info)</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† File
                      "/usr/lib/python3.5/site-packages/usrp_mpm/xports/xportmgr_udp.py",
                      line 321, in commit_xport</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">† †
                      sender_addr))</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">RuntimeError:
                      Could not find MAC address for IP address
                      192.168.20.1</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">†</font></div>
                  <div class=""><font style="background-color: rgb(255,
                      255, 255);" class="" face="Courier New">Error:
                      RuntimeError: Failed to run
                      enumerate_rfnoc_blocks()</font></div>
                </div>
                <div class=""><br class="">
                </div>
                <div class="">Thank you in advance for your help!</div>
                <div class="">Janos</div>
              </div>
              _______________________________________________<br
                class="">
              USRP-users mailing list<br class="">
              <a moz-do-not-send="true"
                href="mailto:USRP-users@lists.ettus.com" class="">USRP-users@lists.ettus.com</a><br
                class="">
<a class="moz-txt-link-freetext" href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br
                class="">
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
USRP-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>