[wplug] aliased interfaces and dhcp
Edward Walter
ewalter at walterama.com
Fri Jun 13 17:51:30 EDT 2008
Does the behavior vary depending on which DHCP client you use? There
seem to 3 that I'm aware of:
pump
dhclient
dhcpcd
It seems like they vary a bit in the arguments... perhaps they also have
different capabilities.
This article seems to describe what you're doing:
http://www.usenet-forums.com/linux-networking/65691-possible-run-dhcp-interface-aliases.html
-Ed
Patrick Wagstrom wrote:
> Hey, I've got one ethernet connection that I'd like to have two IP
> addresses. Normally this is pretty straight forward, but all the
> documentation just covers static IP addresses, in which case you can have
> eth0 have DHCP or static, but eth0:1 must be static -- largely because it
> has the same mac address. Running "ifconfig hw eth0 ether
> XX:XX:XX:XX:XX:XX" doesn't seem to do the trick either as it changes both
> mac addresses.
>
> Is there a way to create a virtual interface with a different mac address
> that I can then use to get another DHCP address?
>
> Many thanks?
>
> --Patrick
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list