tue-robotics / hero_bringup

bringup for the hero robot
2 stars 2 forks source link

interfaces with bridge #87

Open MatthijsBurgh opened 3 years ago

MatthijsBurgh commented 3 years ago
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
address 10.255.255.1
netmask 255.255.255.0

allow-hotplug enp4s0
iface enp4s0 inet manual
# dns-nameservers 192.168.44.1 8.8.8.8 8.8.4.4

auto br0
iface br0 inet static
    # Use the MAC address identified above.
    hwaddress ether ##MACADDRESS
    address 192.168.44.51
    netmask 255.255.255.0
    gateway 192.168.44.1

    bridge_ports enp4s0
    # If you want to turn on Spanning Tree Protocol, ask your hosting
    # provider first as it may conflict with their network.
    bridge_stp off
    # If STP is off, set to 0. If STP is on, set to 2 (or greater).
    bridge_fd 0