DHCPv4 server and relay at the same time

Dave Taht dave.taht at gmail.com
Wed Mar 21 17:28:37 UTC 2012


On Wed, Mar 21, 2012 at 8:27 AM, Francis Dupont <fdupont at isc.org> wrote:
>> Your dhcp server won't have the same trouble binding that dnsmasq has,
>> when the relay is also binding the interface(s)?
>
> => the ISC DHCP server has the same feature (because it is in the common
> I/O code) than the -l4/-l6 of dhccra, so the fallback socket can be
> bound to according to lsof:
>
> dhcpd   24825 root    7u  IPv4             166101 \
>      0t0     UDP 172.28.0.1:67

I note that the error I am getting now is that dhccra refuses to start
even if no other dhcp daemons are in place. Please check the tarball
at:

http://huchra.bufferbloat.net/~d/isc/

in case that I did not pull from the right branch or you missed a
checkin or that linking against the version of bind in there is not
right, or....



>
>> My understanding is that the relay wants to send it's own ip database
>> out from a global set, which have to be real on one interface and
>> natted on the rest.
>
> => the relay provides a service on one interface (in fact a set of
> interface but the CRA is limited to one by the spec: there is no way
> to know to what interface a response has to be forwarded).

the databases are disjoint.

>
>> As we now have 6MB worth of isc binaries on a system with room for 4,
>> when I thought we only needed 1.5, I'll have to remove some core
>> functionality from the cpe, probably the vpn code.
>
> => IMHO it becomes critical to reduce the ISC DHCP footprint.
> I'll send a message about this as it is not technical only.

I look forward to seeing that one day.

>
>> Cruithne is my personal laptop and went home with me last night.
>
> => it has a 1:1 resonating orbit with you (:-).


Cruithne is a cool asteroid, particularly ironic if you've read any
fiction that postulated an alternate earth (the gor novels, for
example) - because the truth is stranger than any of the fiction
writers could dream up.


>
>> It would be helpful to leave a client (someone elses laptop) in place 24/7.
>
> => yes, I'll need it once to verify the DHCPv4 service on ida is
> correct.

I'll dig into finding something.

>
> Thanks
>
> Francis Dupont <fdupont at isc.org>
>
> PS: if you assist to the (still not in the agenda) conf call this night
> (for me, I am 8 hours in front) you can explain how to pronounce cruithne

If there is a call today I will not be able to make it.


-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://www.bufferbloat.net


More information about the sdcpe-devel mailing list