Add a second ip to Linux - Arch Linux rc.conf
Follow @ggarronContinuing with Add second IP Ubuntu" Now let's see how to do it on Arch Linux.
First edit the file rc.conf (I like the way Arch Linux is so simple).
You have these options:
Two Statics IPs
eth0="eth0 10.1.1.2 netmask 255.255.255.0 broadcast 1.1.1.255" eth0_0="eth0:0 10.1.1.3 netmask 255.255.255.0 broadcast 10.1.1.255" INTERFACES=(lo eth0 eth0_0)
In the routes section include something like this
gateway="default gw 10.1.1.1" ROUTES=(gateway)
One static and dynamic IP
I have made this, I do not know if it correct, but works for me, I need one IP from the DHCP, and one static IP
eth0="dhcp" eth0_0="eth0:0 200.87.61.XX netmask 255.255.255.240 broadcast 200.87.61.XX" INTERFACES=(eth0 eth0_0)