[riot-commits] [RIOT-OS/RIOT] 6dcaa9: tools/radvd: Add script to run radvd on a tun inte...

benpicco noreply at github.com
Wed Jul 1 16:06:43 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6dcaa9ad492ffa43ebca7bc919b735cac131584c
      https://github.com/RIOT-OS/RIOT/commit/6dcaa9ad492ffa43ebca7bc919b735cac131584c
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    A dist/tools/radvd/radvd.conf
    A dist/tools/radvd/radvd.sh

  Log Message:
  -----------
  tools/radvd: Add script to run radvd on a tun interface

This adds a small wrapper script to configure and start radvd on a
tun interface.
This allows the use of router advertisements and global adresses with
the `native` target.

Usage:

 - first create the tap interface as usual

    sudo dist/tools/tapsetup/tapsetup

 - now run radvd on the new tapbr0 interface

    sudo dist/tools/radvd/radvd.sh -c tapbr0 2001:db8::/64

 - Now run the `gnrc_networking` example on native:

    make -C examples/gnrc_networking all term

You should now see that the `native` node has received a global address
in `ifconfig`.
You should be able to reach this address from your host computer.

It may take very long for the native node to obtain the address.
If you are observing this, try turning off router advertisements of the
native node on the upstream interface by running

    ifconfig 6 -rtr_adv

Alternatively change `USEMODULE += gnrc_ipv6_router_default` to
`USEMODULE += gnrc_ipv6_default` in the project's `Makefile`.


  Commit: adc0a3cb8c9c595d350b3202812d8fd9e9dccc4c
      https://github.com/RIOT-OS/RIOT/commit/adc0a3cb8c9c595d350b3202812d8fd9e9dccc4c
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    A dist/tools/radvd/radvd.conf
    A dist/tools/radvd/radvd.sh

  Log Message:
  -----------
  Merge pull request #13668 from benpicco/tools/radvd

tools/radvd: Add script to run radvd on a tun interface


Compare: https://github.com/RIOT-OS/RIOT/compare/799ee40ea73f...adc0a3cb8c9c


More information about the commits mailing list