Last active
August 29, 2015 14:16
-
-
Save Mstaaravin/c02f75f0367efa0406bf to your computer and use it in GitHub Desktop.
post: Múltiples IPs utilizando iproute en Debian
This file contains hidden or 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
auto eth0 | |
iface eth0 inet manual | |
pre-up ip link set eth0 up | |
post-up ip addr add 190.139.257.1/28 dev eth0 | |
post-up ip addr add 190.139.257.2/28 dev eth0 | |
post-up ip route add default via 190.139.257.14 dev eth0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment