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.

  1. Ensure the interface is set to link-local on your host (NetworkManager/OS specific).

  2. 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
  1. Refer to your docker-compose config, e.g.:
networks:
  link-local-net:
    external: true