You are not logged in.
Hello!
I'm running an Arch box as my home server. My ISP offers me 5 public IP addresses, and I would like to have 2 assigned to my server. Is it possible to get Arch to use two ip addresses on the same NIC using rc.conf? I would also like to have the virtual NIC pull an IP address from the DHCP server.
Thanks!
Offline
I don't think you can do this in rc.conf because you can't have colons (:) in bash variable names I don't believe...
You can just add it to rc.local like:
ip a a x.x.x.x/yy dev eth0Replace x.x.x.x/yy with the appropriate IP address and CIDR mask.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline