Davide Bianchi wrote:
> On 2005-02-24, David Brower <(E-Mail Removed)> wrote:
>>Does anyone know how to run dhcp on an interface
>>alias on Linux?
>
> No. The 'interface' doesn't exist if you don't give him an address, so
> it can't acquire an IP from a dhcp server.
>
That's an authoritative sounding answer, and I'm not
questioning the veracity of the statement. I am
wondering if this is a "feature" or an artifact of
implementation in some place. I may be very willing
to make changes to whereever necessary to pull this
off, so I want to understand the implications of going
down that road.
And David Efflandt wrote:
>
> I believe DHCP typically only gives out 1 IP per MAC address.
I believe it is possible to send different UIDs, from which
the dhcp server can send back different addresses. This is
how one forces getting a different address for the same
machine booted from Windows and linux -- they can send the same
MAC, but different UIDs and get different addresses. This
may also be alterable via the vendorClassID and the ClientID
(The -i and -I flags to dhcpcd).
> But you could set eth0 be dhcp assigned and assign static IP(s) to
eth0:0, etc.
I don't want static addresses on anything, period.
> However, if multiple IPs on an interface are same IP
> range and netmask, that may result in other problems.
I do not believe that is an issue, because you can easily
set multiple addresses on the same subnet and interface
if you use static addresses.
thanks,
-dB
|