-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't ping wireless nodes with global address #12422
Comments
I can't reproduce that nothing works (neither UHCP which provides the BR with a prefix and route, nor the RA which provides the downstream node), but from what I can gather that you did not set a default route. Have you tried restarting the border router? I noticed that for me at least sometimes UHCP is not bootstrapping properly. |
With #12414 (comment) in mind: Might UHCP also not work because of your firewall? |
I'll experiment with that. However, when I use RPL, it all works as expected. In fact, I looked at the nib routes in the RPL setup to get the non-RPL use of global addresses to work. |
Over one hop it should work without RPL. RPL also doesn't use UDP, but ICMPv6 and isn't exposed to the host, so the firewall wouldn't make a problem here. UHCP in contrast interacts with the host computer, as it opens a server that communicates with the client on the border router node. |
Yes, the firewall was the problem. I set it to allow incoming from the tap interface. Now when the border router starts up, it automatically gets the 2001:db8::1 address. And when I startup a gnrc_networking node, it also gets an address with this prefix. I am able to ping between wireless nodes, as well as ping between my workstation and the gnrc_networking node. Thanks, @miri64! |
Description
Can't ping wireless nodes with global address using gnrc_border_router and gnrc_networking examples
Steps to reproduce the issue
As I described in a comment to PR 12408, I have been unable to setup a wireless network as expected using the gnrc_border_router and gnrc_networking examples. The main issue is that I do not see the "automatic" setup of global addresses, the 2001:db8 network.
Here is what I experience with a pair of samr21-xpro boards, with the border router connected to an Ubuntu laptop.
I start the gnrc_border_router node with
make term
. I see ethos and uhcpd startup, and the command below runs:I also start the gnrc_networking node with
make term
.Returning to the border router node,
ifconfig
shows the wireless and wired interfaces. I do not see a global address, so I add:Running
nib route
shows:Returning to the gnrc_networking node,
ifconfig
does not show a 2001:db8 address. Shouldn't I expect this address to be generated automatically at this point?From the gnrc_border_router node I can ping the gnrc_networking node using its link local address and the interface specifier (%6).
At any rate, below is what I have to do to create the global address on the gnrc_networking node.
Create the global address:
Running
nib route
shows:At this point I still cannot ping either node using the global addresses. So, on the gnrc_border_router node, I add a route to the gnrc_networking node:
Now I can ping the gnrc_networking node. Returning to the gnrc_networking_node, now I also can ping the gnrc_border_router node.
Versions
I am running from the newly minted '2019.10-branch'.
The text was updated successfully, but these errors were encountered: