Skip to content

Instantly share code, notes, and snippets.

@kbruner
Last active December 12, 2020 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbruner/57363aaff423e768cbef5042f76cf023 to your computer and use it in GitHub Desktop.
Save kbruner/57363aaff423e768cbef5042f76cf023 to your computer and use it in GitHub Desktop.
~ # ifconfig bridge1 alias 10.0.0.1/32
~ # ifconfig bridge1 alias 10.32.0.1/24
~ # ifconfig bridge1 alias 10.200.0.1/16
~ # ifconfig bridge1 alias 10.240.0.1/24
~ # ifconfig bridge1
bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: em0
ether 58:9c:fc:10:ff:b8
inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
inet 10.32.0.1 netmask 0xffffff00 broadcast 10.32.0.255
inet 10.200.0.1 netmask 0xffff0000 broadcast 10.200.255.255
inet 10.240.0.1 netmask 0xffffff00 broadcast 10.240.0.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap4 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000000
member: tap3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000
member: tap2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
member: tap7 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 10 priority 128 path cost 2000000
member: tap6 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 9 priority 128 path cost 2000000
member: tap5 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 8 priority 128 path cost 2000000
member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000000
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
groups: bridge
nd6 options=9<PERFORMNUD,IFDISABLED>
ifconfig bridge1 alias 10.0.0.1/32
ifconfig bridge1 alias 10.32.0.1/24
ifconfig bridge1 alias 10.200.0.1/16
ifconfig bridge1 alias 10.240.0.1/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment