dist/tools/{ethos,zep_dispatch,dose,sliptty,usb-cdc-ecm}: allow setting host ip#20192
dist/tools/{ethos,zep_dispatch,dose,sliptty,usb-cdc-ecm}: allow setting host ip#20192mguetschow wants to merge 3 commits intoRIOT-OS:masterfrom
Conversation
|
Revisiting the README of the gnrc_border_router example, it turns out a ULA address is already automatically added by the respective scripts, although not the same one. I will have a look again and probably change the PR to make those addresses consistent per default and configurable. |
40be58d to
fff1922
Compare
|
I've changed the PR to allow setting the host IP address consistently for |
miri64
left a comment
There was a problem hiding this comment.
LGTM. But maybe the other integrations could benefit from this treatment as well:
dist/tools/dose/start_network.shdist/tools/sliptty/start_network.shdist/tools/usb-cdc-ecm/start_network.sh
fff1922 to
2b441c7
Compare
Added similar changes to the other integrations now. Successfully tested |
|
Now this has been updated to support all five integrations, and I've successfully tested |
For both `ethos` and `zep_dispatch`, this adds an optional cmd option to `start_network.sh` which allows to automatically set an IP address for the host device (usually the development PC) when creating the tap interface.
Contribution description
This adds an optional cmd option to
start_network.shfor bothethosandzep_dispatchwhich allows to set the IP address automatically added on the host device (usually the development PC) when creating the tap interface. Additionally, the host address set now defaults to the samefd00:dead:beef::1.examples/gnrc_border_routeris adapted to showcase the usage.Testing procedure
make -C examples/gnrc_border_router all termandip a l tap0in a separate shell to see the (new) default host addressfd00:dead:beef::1.IPV6_HOST_ADDR=2001:db8:1::1to see the given host ip address is used.ping 2001:db8:1::1in the RIOT shell to see it is reachable.BOARD=nrf52840dk) to testethos.Issues/PRs references
This has been discussed with @miri64 previously.