Skip to content

Instantly share code, notes, and snippets.

@kbruner

kbruner/commands + output Secret

Created Dec 25, 2020
Embed
What would you like to do?
~ # ifconfig bridge1 alias 10.0.0.1/32
~ # ifconfig bridge1 alias 10.0.10.1/24 # VM network
~ # ifconfig bridge1 alias 10.1.0.1/16 # pod network
~ # ifconfig bridge1 alias 10.2.0.1/16 # service network
~ # 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 0xffffffff broadcast 10.0.0.1
inet 10.0.10.1 netmask 0xffffff00 broadcast 10.0.10.255
inet 10.1.0.1 netmask 0xffff0000 broadcast 10.1.255.255
inet 10.2.0.1 netmask 0xffff0000 broadcast 10.2.255.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
[ ... ]
ifconfig bridge1 alias 10.0.0.1/32
ifconfig bridge1 alias 10.0.10.1/24
ifconfig bridge1 alias 10.1.0.1/16
ifconfig bridge1 alias 10.2.0.1/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment