message length wait: unexpected error

Abu Abdulla alhanbali montaqa at gmail.com
Thu Oct 14 10:41:58 UTC 2010


my mistake. it is happening as well with with 4.1.1

any hint of what could be the problem. in addition "auto-partner-down"
results with:

/export/sip-dhcp-4.2.0/etc/dhcpd.conf line 25: invalid statement in
peer declaration
  auto-partner-down

how can i enable this feature.

thanks

On Thu, Oct 14, 2010 at 12:58 PM, Abu Abdulla alhanbali
<montaqa at gmail.com> wrote:
> Hi,
>
> i have configured two DHCP servers in failover mode. on the other
> hand, i'm receiving this error repeativly if the secondary server is
> down:
> message length wait: unexpected error
>
> it is only happening to me using version 4.2.0
> OS is solaris 10
>
> dhcpd.conf
> *************
>
> Default-lease-time 14400;
> min-lease-time 14400;
> max-lease-time 14400;
>
> ddns-update-style none;
> authoritative;
> log-facility local2;
>
> failover peer "dhcp-failover"
> {
>  primary;
>  address 113.32.2.210;
>  port 3000;
>  peer address 113.32.4.210;
>  peer port 3000;
>  max-response-delay 30;
>  max-unacked-updates 10;
>  load balance max seconds 5;
>  mclt 1800;
>  split 128;
> }
>
> subnet 113.32.2.208 netmask 255.255.255.248 { }
>
> # TEST
> subnet 10.10.10.0 netmask 255.255.255.0
> {
>        option routers 10.10.10.1;
>        option subnet-mask 255.255.255.0;
>        pool
>        {
>                failover peer "dhcp-failover";
>                deny dynamic bootp clients;
>                range 10.10.10.2 10.10.10.254;
>        }
> }
>
> bash-3.00# /export/sip-dhcp-4.2.0/sbin/dhcpd -cf
> /export/sip-dhcp-4.2.0/etc/dhcpd.conf -lf
> /export/sip-dhcp-4.2.0/etc/dhcpd.leases -pf
> /export/sip-dhcp-4.2.0/etc/sip.pid -d ce0
> Internet Systems Consortium DHCP Server 4.2.0
> Copyright 2004-2010 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> Wrote 126 leases to leases file.
> Listening on DLPI/ce0/00:14:4f:47:83:e7/113.32.2.210/29
> Sending on   DLPI/ce0/00:14:4f:47:83:e7/113.32.2.210/29
> Sending on   Socket/fallback/fallback-net
> failover peer dhcp-failover: I move from normal to startup
> failover peer dhcp-failover: peer moves from normal to
> communications-interrupted
> failover peer dhcp-failover: I move from startup to normal
> balancing pool 4400c8 10.10.10.0/24  total 253  free 127  backup 126
> lts 0  max-own (+/-)25
> balanced pool 4400c8 10.10.10.0/24  total 253  free 127  backup 126
> lts 0  max-misbal 38
> failover peer dhcp-failover: peer moves from
> communications-interrupted to normal
> peer dhcp-failover: disconnected
> failover peer dhcp-failover: I move from normal to communications-interrupted
> message length wait: unexpected error
> message length wait: unexpected error
> message length wait: unexpected error
> message length wait: unexpected error
> message length wait: unexpected error
> ^C
>



More information about the dhcp-users mailing list