You are not logged in.

#1 2008-01-17 05:05:55

gojamiegirl
Member
From: Pacific Beach, CA
Registered: 2005-07-05
Posts: 19
Website

Virtual Network Interface With DHCP

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. sad

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 sad

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 smile

Offline

Board footer

Powered by FluxBB