Created
July 30, 2012 09:56
-
-
Save solar/3205949 to your computer and use it in GitHub Desktop.
Create virtual ip address in linux
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
# by ifconfig | |
ifconfig eth1:0 10.1.53.1 | |
ifconfig eth1:0 down | |
# by iproute2 | |
ip addr add 10.1.53.1 dev eth1 | |
ip addr show | |
ip addr del 10.1.53.1 dev eth1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment