{"id":2641,"date":"2009-08-12T11:44:57","date_gmt":"2009-08-12T09:44:57","guid":{"rendered":"http:\/\/vasil.ludost.net\/blog\/?p=2641"},"modified":"2009-08-12T11:44:57","modified_gmt":"2009-08-12T09:44:57","slug":"2009-08-12-dhcpd-2","status":"publish","type":"post","link":"https:\/\/vasil.ludost.net\/blog\/?p=2641","title":{"rendered":"2009-08-12 dhcpd"},"content":{"rendered":"<p>Fun.<\/p>\n<p>So, we have a working DHCP in failover mode, working in the 52 VLANs and everything seems fine. But, I think that all its developers are idiots, as I&#8217;ve hit a few really stupid problems.<br \/>\n(background information &#8211; we&#8217;re using the same version on the same hardware, on a freebsd and ubuntu).<\/p>\n<p>1) When a peer is defined, both sides have to be named in the same way, or it would refuse to link. Seems stupid to me.<br \/>\n2) Again in the peer definition, if peer port and port are the same, it refuses to connect. WTF.<br \/>\n3) If both machines&#8217; clocks differ with more 60 seconds, it doesn&#8217;t link. Tis is OK, but then one of them crashes with SIGSEGV.<br \/>\n4) While in failover mode, you can expect all kinds of weird messages looking like errors, which are actually normal, like:<br \/>\n<code><br \/>\ndhcpd: bind update on 87.76.100.23 got ack from SERVER2: xid mismatch.<br \/>\ndhcpd: bind update on 87.76.104.41 from SERVER2 rejected: incoming update is less critical than outgoing update<br \/>\n<\/code><br \/>\n5) From time to time they might lost connectivity and stay in a weird hanging mode, in which they easily overflow a pool. Most probably the problem is <a href=\"https:\/\/lists.isc.org\/pipermail\/dhcp-users\/2008-August\/007017.html\">this one<\/a>, but I haven&#8217;t seen a solution yet, I think it&#8217;s not fixed in 4.1 either. The only way to know that has happened is by doing<br \/>\n<code><br \/>\ngrep 'failover peer' \/var\/log\/syslog<br \/>\n<\/code><code><br \/>\nand the last thing at the end is<br \/>\n<\/code><code><br \/>\ndhcpd: failover peer SERVER2: peer moves from normal to communications-interrupted<br \/>\n<\/code><br \/>\n(without any commonications-interrupted to normal transition later)<\/p>\n<p>I tried running dhcpd 4.1, but it had some weird issues too (although I tested it just for a bit, I got a bit mad at the compilation &#8211; had to hack some things and to remove the dhcpv6 support).<\/p>\n<p>In short, the failover protocol is crap.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fun. So, we have a working DHCP in failover mode, working in the 52 VLANs and everything seems fine. But, I think that all its developers are idiots, as I&#8217;ve hit a few really stupid problems. (background information &#8211; we&#8217;re using the same version on the same hardware, on a freebsd and ubuntu). 1) When [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[75],"class_list":["post-2641","post","type-post","status-publish","format-standard","hentry","category-general","tag-har2009"],"_links":{"self":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2641"}],"version-history":[{"count":0,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2641\/revisions"}],"wp:attachment":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}