Skip to content

Instantly share code, notes, and snippets.

@enricostano
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save enricostano/bc5f8ecd7c4614448ade to your computer and use it in GitHub Desktop.

Select an option

Save enricostano/bc5f8ecd7c4614448ade to your computer and use it in GitHub Desktop.
# /etc/systemd/network/br0.netdev
[NetDev]
Name=br0
Kind=bridge
# /etc/systemd/network/br0.network
[Match]
Name=br0
[Network]
Address=10.0.3.1/24
λ brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.c27be397d24c no vethVER4VO
~ λ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 302 0 0 wlan0
10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
192.168.1.0 0.0.0.0 255.255.255.0 U 302 0 0 wlan0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment