Добрый день. Столкнулся со следующей проблемой.
Встроенный Dhcp сервер при выдаче адреса клиенту не выдает dns, а только
адрес, маску и шлюз. И еще ругается на якобы конфликт адресов.
модуль inet.
В биллинге забита отдельная категория для динамики, а на корневом
устройстве указана опция dhcp.ipCategories
На всякий случай еще прописал дополнительно:
dhcp.net.option.x.x.x.a:255.255.254.0.gate=x.x.x.x
dhcp.net.option.x.x.x.a:255.255.254.0.dns=x.x.x.y
... но эти настройки никак не повлияли. все сервера перезапускал.
Вот лог access:
Код:
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 1
xid: -2055167037, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: x.x.x.y
Client MAC: {001617529C80}
{116}={01}
{61}={01001617529C80}
Requested IP Address{50}=x.x.x.a
Host name{12}={ANDREY}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, -7, 43}
{43}={DC00}
Agent information{82}=
sub{1}={00040FFC000E}
sub{2}={0006E0247FBC6AD3}
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetDhcpDevice - Search serv on deviceId: 6; 1; interfaceId: 14
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetDhcpProcessor - InetServ found: ContractId: 4; servId: 8
mac:001617529C80
Options [] TariffModuleTreeSet [1:08.04.2013-?; ]
Device state: 1; optionSet:
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetApplication - inetServ[id=8] balance ok: 100.00 [-500.00]
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetApplication - TariffOptionMap: {}
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetApplication - OptionSet: []
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetDhcpProcessor - IP not found in service. Searching in device...
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-1] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP Offer{2}
htype: 1, hlen: 6, hops: 1
xid: -2055167037, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: x.x.x.a
Server IP: 0.0.0.0
Relay IP: x.x.x.y
Client MAC: {001617529C80}
Agent information{82}=
sub{1}={00040FFC000E}
sub{2}={0006E0247FBC6AD3}
Router{3}=x.x.x.b
Subnet mask{1}=255.255.254.0
DNS{6}={"Здесь почемуто ip в шеснадцетиричном виде"}
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Request{3}
htype: 1, hlen: 6, hops: 1
xid: -2055167037, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: x.x.x.y
Client MAC: {001617529C80}
{61}={01001617529C80}
Requested IP Address{50}=x.x.x.a
Host name{12}={ANDREY}
{81}={000000414E445245592E}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, -7, 43}
{43}={DC0100}
Agent information{82}=
sub{1}={00040FFC000E}
sub{2}={0006E0247FBC6AD3}
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetDhcpDevice - Search serv on deviceId: 6; 1; interfaceId: 14
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetDhcpProcessor - InetServ found: ContractId: 4; servId: 8
mac:001617529C80
Options [] TariffModuleTreeSet [1:08.04.2013-?; ]
Device state: 1; optionSet:
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetDhcpProcessor - Starting connection: InetConnection [id=0-0, iface=6:14, sessId=8580a3c3, start=10.04.2013 21:21:18, uname=null, addr=93.171.183.2]
connection 04-10/21:21:18 INFO [sa-p-9-t-3] ServiceActivatorSet - Connecting to device
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetConnectionManager - Add connection: InetConnection [id=40-0, iface=6:14, sessId=8580a3c3, start=10.04.2013 21:21:18, uname=null, addr=93.171.183.2]
mq 04-10/21:21:18 INFO [event-proc-p-2-t-1] InetConnectionManager - Already added: InetConnection [id=40-0, iface=6:14, sessId=8580a3c3, start=10.04.2013 21:21:18, uname=null, addr=93.171.183.2]
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP ACK{5}
htype: 1, hlen: 6, hops: 1
xid: -2055167037, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: x.x.x.a
Server IP: 0.0.0.0
Relay IP: x.x.x.y
Client MAC: {001617529C80}
Agent information{82}=
sub{1}={00040FFC000E}
sub{2}={0006E0247FBC6AD3}
Router{3}=x.x.x.b
Subnet mask{1}=255.255.254.0
DNS{6}={"Здесь почемуто ip в шеснадцетиричном виде"}
dhcp 04-10/21:21:18 INFO [dhcpLstnr-p-7-t-2] HourlyDataLogEntry - Create dataLog file: /opt/BGInetAccess/data/dhcp/source_6/2013/2013-04/2013-04-10/log_2013-04-10-21.000.bgdl