<div dir="ltr"><div>My guess is that eth0 and eth1 (at least as they are enumerated on power-up to OpenWRT on the NSM5 I have) do not both sit on the embedded switch.  The AR7240 has two ethernet interfaces, with one intended as dedicated WAN port, and the other (through the built-in switch) with capacity for multiple LAN ports.  The swconfig output you see for the unused ports may just indicate that they auto-negotiate to 10Mbit when nothing is populated there.  Not sure about the connectivity you're nevertheless seeing b/w the Nano and the Bullet, despite the former having no "eth1" address configured.<br><br>Perhaps see what "arp -s" has to say on the Nano?  Maybe eth1 is being implicitly bridged?<br></div><br><div><div><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 2, 2015 at 8:02 PM, Joe Ayers <span dir="ltr"><<a href="mailto:joe@ayerscasa.com" target="_blank">joe@ayerscasa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here is what is peculiar I'm getting to the bottom of.   We have configured in our image eth0.2, also an interface in olsr, to create what we call Device to Device Linking (DtDlink).  A user insists he has connected a cat5 cable between the Bullet M2 into the secondary port of a Nanostation M2 at the top of a mast.  I have remote access over this mesh and the two devices are communicating with each other over this vlan2.  Our firmware and configuration has nothing configured for eth1.   The swconfig command on the NSM2 shows the same except port 3, 4, and 5 have "link:up speed:10basetT".    There must be more to the story...</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Feb 2, 2015 at 5:43 PM, Ben West <span dir="ltr"><<a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you mean the UBNT Nanostation M2 and M5 products, their LAN ports are presented to OpenWRT as eth0 and eth1 (master & secondary, respectively), with the switch only appearing in relation to eth1.<br><br></div>Here is what swconfig has to say on an NSM5 I have running Attitude Adjustment.  May guess is that the switch chipset is only connected to the SoC (port 1) and secondary LAN jack (port 0).<br><br><div>root@router:~# swconfig dev eth1 help<br>switch0: eth1(AR7240/AR9330 built-in switch), ports: 5 (cpu @ 0), vlans: 16<br>     --switch<br>    Attribute 1 (int): enable_vlan (Enable VLAN mode)<br>    Attribute 2 (none): apply (Activate changes in the hardware)<br>    Attribute 3 (none): reset (Reset the switch)<br>     --vlan<br>    Attribute 1 (int): vid (VLAN ID)<br>    Attribute 2 (ports): ports (VLAN port mapping)<br>     --port<br>    Attribute 1 (int): pvid (Primary VLAN ID)<br>    Attribute 2 (string): link (Get port link information)<br><br>root@router:~# swconfig dev eth1 show<br>Global attributes:<br>    enable_vlan: 0<br>Port 0:<br>    pvid: 0<br>    link: port:0 link:up speed:1000baseT full-duplex txflow rxflow <br>Port 1:<br>    pvid: 0<br>    link: port:1 link:up speed:100baseT full-duplex auto<br>Port 2:<br>    pvid: 0<br>    link: port:2 link:down<br>Port 3:<br>    pvid: 0<br>    link: port:3 link:down<br>Port 4:<br>    pvid: 0<br>    link: port:4 link:down<br>VLAN 0:<br>    vid: 0<br>    ports: 0 1 2 3 4 <br><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 6:31 PM, Joe Ayers <span dir="ltr"><<a href="mailto:joe@ayerscasa.com" target="_blank">joe@ayerscasa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">We at <a href="http://www.bbhndev.org" target="_blank">www.bbhndev.org</a> and <a href="http://www.BroadBand-HamNet.org" target="_blank">www.BroadBand-HamNet.org</a> are looking at the UBNT NanoStations with 2 ports.   Has anyone run across information on the internal wiring between the<font color="#000000"> AR7240 and AR9330 chipsets to properly configure switch0?</font><div><font color="#000000"><br></font></div><div><font color="#000000">By the way, we might want to connect up for other reasons.  BBHN is essentially doing the same thing on top of OpenWRT for our community.  </font><div><font color="#000000"><br></font></div><div><font color="#000000">regards,</font></div><div><font color="#000000">Joe Ayers  AE6XE</font></div></div></div>
<br>_______________________________________________<br>
Commotion-dev mailing list<br>
<a href="mailto:Commotion-dev@lists.chambana.net" target="_blank">Commotion-dev@lists.chambana.net</a><br>
<a href="https://lists.chambana.net/mailman/listinfo/commotion-dev" target="_blank">https://lists.chambana.net/mailman/listinfo/commotion-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div>Ben West<div><a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br><a href="tel:314-246-9434" value="+13142469434" target="_blank">314-246-9434</a><br></div></div>
</font></span></div></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Ben West<div><a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br>314-246-9434<br></div></div>
</div></div></div></div>