Skip to content

Domain names not being resolved over extender node bridged connection  #27

Closed
@paidforby

Description

@paidforby

Discovered on a recent node mount that domain names are not being resolved over an extender node bridged mesh connection. I believe @jhpoelen and I observed similar behavior with the mesh test bed in sudoroom a few weeks ago.

The setup

  • Two homes nodes (MyNet N600s) that are unable to mesh with one other (either due to physical distance, or by disabling their ad-hoc interface)
  • One of the home node (let's say Cow) has an internet connection, the other does not (let's call this one Chicken)
  • Two extender nodes (Ubquiti Nanobridge M5s) that are able to mesh with each other via line of sight

To reproduce

Connect to the peoplesopen.net SSID of Chicken. And try the following,

ping 8.8.8.8

you should see

64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=389 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=273 ms

however, if you try, ping google.com you will receive a timeout

You can also try running traceroute 8.8.8.8 and see that it is successfully hoping the connection,

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1  100.65.98.130 (100.65.98.130)  0.377 ms  0.777 ms  0.536 ms
 2  100.65.98.2 (100.65.98.2)  1.635 ms  1.942 ms  1.505 ms
 3  100.65.98.1 (100.65.98.1)  1.578 ms  1.778 ms  2.122 ms
 4  100.64.0.43 (100.64.0.43)  15.146 ms  12.827 ms  14.989 ms
...
 14  8.8.8.8 (8.8.8.8)  12.793 ms  11.533 ms  11.941 ms

Where,
100.65.98.130 is the IP of Chicken's roof mounted antenna,
100.65.98.2 is the IP of Cow's roof mounted antenna
100.65.98.1 is the IP of Cow's home node
100.65.0.43 is the IP of the mesh DNS

But trying to traceroute google.com also timesout

Also when ssh'd into Chicken, in /var/log/messages you should see,

Sun Apr  8 14:23:53 2018 daemon.info dnsmasq-dhcp[2007]: DHCPREQUEST(br-open) 100.65.98.164 fc:f8:ae:02:69:f3                                  
Sun Apr  8 14:23:53 2018 daemon.info dnsmasq-dhcp[2007]: DHCPACK(br-open) 100.65.98.164 fc:f8:ae:02:69:f3 <yourcomputershostname>

It looks like this just logs that a request was made and acknowledged, but, of course, it's unclear what the ack means. Also ignore the tunneldigger broker selection failure, Chicken doesn't need to tunnel to the exit node, only Cow.

thoughts

It's unclear how long this has been an issue, but it could be related to recent changes to exitnode or makenode, perhaps #23 and its related commits hold some secrets that may help debug this issue.

I suspect that difference between the configuration of newly madenodes and freshly flashed extender nodes (they don't get makenoded) results in conflicts with dns configurations, preventing the extender nodes from correctly routing dns requests.

Any help would be hugely appreciated, the first step is to get the mesh test bed in sudoroom back in working order.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions