Добрый день. Прошу совета:
Есть: DGS-3120-48TC Gigabit Ethernet Switch Firmware: Build 2.50.015
Код:
GS-3120-48TC:admin#show dhcp_relay
Command: show dhcp_relay
DHCP/BOOTP Relay Status : Enabled
DHCP/BOOTP Hops Count Limit : 4
DHCP/BOOTP Relay Time Threshold : 0
DHCP Vendor Class Identifier Option 60 State: Disabled
DHCP Client Identifier Option 61 State: Disabled
DHCP Relay Agent Information Option 82 State : Enabled
DHCP Relay Agent Information Option 82 Check : Disabled
DHCP Relay Agent Information Option 82 Policy : Replace
DHCP Relay Agent Information Option 82 Remote ID : BC-F6-85-BD-20-F0
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
Server VLAN ID List
--------------- -----------------------------------------------------------
10.200.10.225 102
GS-3120-48TC:admin#show ipif net3
IP Interface : net3
VLAN Name : testid
Interface Admin State : Enabled
DHCPv6 Client State : Disabled
Link Status : LinkUp
IPv4 Address : 192.168.3.1/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IPv4 State : Enabled
IPv6 State : Enabled
DGS-3120-48TC:admin#show vlan testid
Command: show vlan testid
VID : 102 VLAN Name : testid
VLAN Type : Static Advertisement : Disabled
Member Ports : 1:31
Static Ports : 1:31
Current Tagged Ports :
Current Untagged Ports: 1:31
Static Tagged Ports :
Static Untagged Ports : 1:31
Forbidden Ports :
Total Entries: 1
Собственно DHCP сервер
ОС:
Код:
FreeBSD test.freebsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012
ПО:
Код:
isc-dhcp42-server-4.2.4_2 The ISC Dynamic Host Configuration Protocol server
Его Конфиг:
Код:
local-address 10.200.10.225;
option domain-name-servers 10.200.40.6;
log-facility local7;
authoritative;
shared-network "clients"
{
subnet 192.168.3.0 netmask 255.255.255.0
{
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.3.255;
option routers 192.168.3.1;
if exists agent.circuit-id
{
log(info, concat
("Lease"
," IP ", binary-to-ascii(10, 8, ".", leased-address)
," MAC ", binary-to-ascii(16, 8, ":", substring(hardware, 1, 6))
," port ", binary-to-ascii(10, 16, "", substring(option agent.circuit-id, 4, 2))
," VLAN ", binary-to-ascii(10, 16, "", substring(option agent.circuit-id, 2, 2))
)
);
}
class "VLAN102"
{
match if binary-to-ascii(10, 16, "", substring(option agent.circuit-id, 2, 2)) = "102";
}
pool
{
allow members of "VLAN102";
range 192.168.3.2 192.168.3.100;
}
}
subnet 10.200.0.0 netmask 255.255.0.0 {}
}
Ip адреса не выдаются
Вот Логи Сервера:
Код:
Apr 8 18:09:10 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:10 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:10 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:10 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:43 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:43 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:43 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:43 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:48 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:48 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:48 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:48 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:56 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:56 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:09:56 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:09:56 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:10:12 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:10:12 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:10:12 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:10:12 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:15:54 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:15:54 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:15:54 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:15:55 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:15:59 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:15:59 test dhcpd: Lease IP 192.168.3.2 MAC e8:3:9a:5:dc:59 port 287 VLAN 102
Apr 8 18:15:59 test dhcpd: DHCPDISCOVER from e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Apr 8 18:15:59 test dhcpd: DHCPOFFER on 192.168.3.2 to e8:03:9a:05:dc:59 (XXXXXX) via 192.168.3.1
Вывод tshark -V
Код:
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 192.168.3.1 (192.168.3.1)
Client MAC address: SamsungE_05:dc:59 (e8:03:9a:05:dc:59)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type
Length: 1
DHCP: Discover (1)
Option: (61) Client identifier
Length: 7
Hardware type: Ethernet
Client MAC address: SamsungE_05:dc:59 (e8:03:9a:05:dc:59)
Option: (12) Host Name
Length: 11
Host Name: sp-nb-rukin
Option: (60) Vendor class identifier
Length: 8
Vendor class identifier: MSFT 5.0
Option: (55) Parameter Request List
Length: 12
Parameter Request List Item: (1) Subnet Mask
Parameter Request List Item: (15) Domain Name
Parameter Request List Item: (3) Router
Parameter Request List Item: (6) Domain Name Server
Parameter Request List Item: (44) NetBIOS over TCP/IP Name Server
Parameter Request List Item: (46) NetBIOS over TCP/IP Node Type
Parameter Request List Item: (47) NetBIOS over TCP/IP Scope
Parameter Request List Item: (31) Perform Router Discover
Parameter Request List Item: (33) Static Route
Parameter Request List Item: (121) Classless Static Route
Parameter Request List Item: (249) Private/Classless Static Route (Microsoft)
Parameter Request List Item: (43) Vendor-Specific Information
Option: (82) Agent Information Option
Length: 18
Option 82 Suboption: (1) Agent Circuit ID
Length: 6
Agent Circuit ID: 00040066011f
Option 82 Suboption: (2) Agent Remote ID
Length: 8
Agent Remote ID: 0006bcf685bd20f0
Option: (255) End
Option End: 255
Что-то не могу найти место где накосячил.. помогите плиз