RE: Recommendations for Configuring DHCP on Multiple Interfaces
David Hauck
Fri Jun 06 19:32:02 2014
On Friday, June 06, 2014 12:28 PM, Roy Marples wrote:
> On 06/06/2014 19:53, David Hauck wrote:
>>> I ask as what you want is probably this
>>>
>>> # Global section
>>> nogateway
>>> nohostname
>>>
>>> interface eth0
>>> gateway
>>> option hostname
>>>
>>> That presently doesn't work, but it won't take much effort to allow
>>> it to work and facilitates hot plugging of new interfaces.
>>
>> Oh, that's interesting, yes. Independent of pluggable interfaces
>> this could be a useful configuration variant.
>
> http://roy.marples.name/projects/dhcpcd/ci/4829f3d3ae?sbs=0
> http://roy.marples.name/projects/dhcpcd/ci/38a6b63464?sbs=0
>
> :)
You're fast, nice :)!
>>> I'm actually quite curious though - what device of yours has 6
>>> interfaces wanting DHCP setup? I can't think of a single use case
>>> for such a beast!
>>
>> ;) We have some system configurations like this (used for advanced
>> routing and data transfer applications). We currently don't allow
>> for dynamic network configuration of these interfaces but I'm
>> researching what might be involved in doing so.
>
> Sounds interesting! Good luck with it, and thanks for considering dhcpcd.
> I'll also point out that dhcpcd is also an IPv4LL/IPv6RA/DHCPv6 client.
> I don't know if you've evaluated if you need that either, you may wish
> to disable that functionality as it's enabled by default.
> Also, be aware (if you do), the next dhcpcd version will ship with
> IPv6 Stable Private addresses enabled by default, instead of ones
> derived from the hardware address for SLAAC which maybe unsuitable for your product.
Right, thx, IPv6 isn't on our radar quite yet, and I've already got 'noipv4ll' and 'ipv4only' configured ;).
> Roy
Archive administrator: postmaster@marples.name