[wplug] aliased interfaces and dhcp

Patrick Wagstrom patrick at wagstrom.net
Thu Jun 12 19:01:56 EDT 2008


The VLAN stuff actually comes pretty close, it allows me to create a new 
interface and assign it a different MAC address, but for some reason DHCP 
won't handle it properly.  It always times out trying to get an IP address.

--Patrick

Brie Gordon wrote:
> Might this discussion (which leads to VLAN tagging) point you in the 
> right direction?:
> 
> http://www.linuxquestions.org/questions/linux-newbie-8/how-to-assign-two-ips-on-same-nic-611662/
> 
> On Thu, Jun 12, 2008 at 10:35 AM, Patrick Wagstrom <patrick at wagstrom.net 
> <mailto:patrick at wagstrom.net>> 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 <mailto:wplug at wplug.org>
>     http://www.wplug.org/mailman/listinfo/wplug
> 
> 
> 
> 
> -- 
> Fred Allen  - "Imitation is the sincerest form of television."
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug



More information about the wplug mailing list