Created
September 12, 2016 23:09
-
-
Save bbyhuy/4b19c1b0e4ac2c621a9d2d257dd8ac20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@infra3_heat_engine_container-37127731:/etc/network# cat interfaces.d/eth2.41.cfg | |
### start generated network for [ eth2.41 ] ### | |
auto eth2.41 | |
iface eth2.41 inet static | |
address 172.29.239.22 | |
netmask 255.255.252.0 | |
mtu 1500 | |
# needed to enable gratuitous arps on interface events | |
post-up sysctl -w net.ipv4.conf.$IFACE.arp_notify=1 | |
# needed to force an interface event (setting mac to what it already is) | |
post-up ip link set $IFACE address $(cat /sys/class/net/$IFACE/address) | |
### end generated network for [ eth2.41 ] ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment