You are not logged in.
Is it possible to have, for example, eth0 and eth0:1 both use DHCP? I've tried almost every syntax variation I can think of and am wondering if I'm trying to do the impossible.
I've tried what's suggested in this post and modifying it for DHCP but nothing is working.
http://bbs.archlinux.org/viewtopic.php?pid=260765
Here is the working relevant portion of rc.conf before trying to add a virtual interface.
lo="lo 127.0.0.1"
eth0="dhcp"
eth1="eth1 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255"
eth2="eth2 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0 eth1 eth2)
If it's possible, how can I modify rc.conf? I've tried the following at least with no success
eth01="dhcp"
eth01="eth0:1=dhcp"
eth01="eth0:1 dhcp"
eth01="eth01 dhcp"
eth01="eth01=dhcp"
all using INTERFACES=(lo eth0 eth01 eth1 eth2), I even tried putting eth0:1 in the INTERFACES array.
Thank you
Offline