Добрый день!
Я кажется понял в чем проблема. Смотрите, по каким-то причинам клиент шлет два DISCOVER пакета подряд с одинаковым XID. Сервер на оба пакета отсылает OFFER c _разными_ IP адресами, при этом, похоже, запоминает только последний предлагаемый адрес. Клиент присылает REQUEST с _первым_ назначенным адресом (с его точки зрения то правильно, xid то один). А вот сервер ему отвечает NAK (ведь он запомнил другой адрес). И так до бесконечности. Мне кажется, что сервер на один и тот же XID при DISCOVER должен возвращать один и тот же адрес, нет?
Код:
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-6] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Host name{12}={���窠-��}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-6] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-6] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-6] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-1] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Host name{12}={���窠-��}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-1] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-1] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:56 INFO [dhcpLstnr-p-8-t-1] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-6] InetApplication - inetServ[id=93] balance ok: -7.03 [-10.00]
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-6] InetApplication - TariffOptionMap: {}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-6] InetDhcpProcessor - IP not found in service. Searching in device...
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-6] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP Offer{2}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 46.22.11.67
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
Router{3}=46.22.11.254
Subnet mask{1}=255.255.255.0
DNS{6}={5040150150401001}
IP Address Lease Time{51}=900
Server Identifier{54}={50401004}
Domain{15}=tagnet.hn
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-1] InetApplication - inetServ[id=93] balance ok: -7.03 [-10.00]
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-1] InetApplication - TariffOptionMap: {}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-1] InetDhcpProcessor - IP not found in service. Searching in device...
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-1] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP Offer{2}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 46.22.11.68
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
Router{3}=46.22.11.254
Subnet mask{1}=255.255.255.0
DNS{6}={5040150150401001}
IP Address Lease Time{51}=900
Server Identifier{54}={50401004}
Domain{15}=tagnet.hn
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Request{3}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Requested IP Address{50}=46.22.11.67
Server Identifier{54}={50401004}
Host name{12}={���窠-��}
{81}={0000009EABA8E7AAA02D8F8A}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetDhcpProcessor - requestedIP=/46.22.11.67
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-5] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP NAK{6}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Request{3}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Requested IP Address{50}=46.22.11.67
Server Identifier{54}={50401004}
Host name{12}={���窠-��}
{81}={0000009EABA8E7AAA02D8F8A}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetDhcpProcessor - requestedIP=/46.22.11.67
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-8] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP NAK{6}
htype: 1, hlen: 6, hops: 1
xid: 2521119, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 1
xid: -1992932584, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Host name{12}={���窠-��}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 1
xid: -1992932584, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Host name{12}={���窠-��}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetDhcpDevice - Search serv on deviceId: 38 and it's descendants; 6; by mac
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetDhcpDevice - Search serv on deviceId: 38; 1; interfaceId: 0
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetDhcpProcessor - InetServ found: ContractId: 154; servId: 93
002257FB7A1C:0
Options [] TariffModuleTreeSet [188:01.04.2011-…; ]
Device state: 1; optionSet:08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetApplication - inetServ[id=93] balance ok: -7.03 [-10.00]
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetApplication - TariffOptionMap: {}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetDhcpProcessor - IP not found in service. Searching in device...
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-4] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP Offer{2}
htype: 1, hlen: 6, hops: 1
xid: -1992932584, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 46.22.11.69
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
Router{3}=46.22.11.254
Subnet mask{1}=255.255.255.0
DNS{6}={5040150150401001}
IP Address Lease Time{51}=900
Server Identifier{54}={50401004}
Domain{15}=tagnet.hn
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetApplication - inetServ[id=93] balance ok: -7.03 [-10.00]
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetApplication - TariffOptionMap: {}
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetDhcpProcessor - IP not found in service. Searching in device...
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-2] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP Offer{2}
htype: 1, hlen: 6, hops: 1
xid: -1992932584, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 46.22.11.70
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}
Router{3}=46.22.11.254
Subnet mask{1}=255.255.255.0
DNS{6}={5040150150401001}
IP Address Lease Time{51}=900
Server Identifier{54}={50401004}
Domain{15}=tagnet.hn
08-15/18:43:57 INFO [dhcpLstnr-p-8-t-3] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Request{3}
htype: 1, hlen: 6, hops: 1
xid: -1992932584, secs: 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 46.22.11.254
Client MAC: {0013D42262E7}
{61}={010013D42262E7}
Requested IP Address{50}=46.22.11.69
Server Identifier{54}={0A800002}
Host name{12}={���窠-��}
{81}={0000009EABA8E7AAA02D8F8A}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={00040FDD0000}
sub{2}={0006002257FB7A1C}