Networking - Forestry-Robotics-UC/fruc_dataset_apparatus GitHub Wiki
Ethernet / Ouster link-local setup
For the Ouster sensor connection, configure the ethernet interface to use a link-local address and create a dedicated macvlan network so the Ouster container can reach the sensor.
-
Ensure the interface is set to link-local on your host (NetworkManager/OS specific).
-
Create a macvlan Docker network:
docker network create -d macvlan \
--subnet=169.254.0.0/16 \
--gateway=169.254.0.1 \
-o parent=[the network interface name] \
link-local-net
- Refer to your
docker-composeconfig, e.g.:
networks:
link-local-net:
external: true