Сделал по этому мануалу настройку коммутатора DGS-3120
www.dlink.com/-/media/Business_Products/DGS/DGS%20...
И создал на DHC-сервере (Windows Server 2012) дополнительную область 192.168.4.0/24 к уже имеющейся 192.168.1.0/24.
Проблема: когда я подключаю ПК к любому порту vlan v103, dhcp-сервер выдает мне адрес из области .4.0, хотя должен из .1.0. А когда подключаю к vlan v104 - ничего не выдает, сетевой интерфейс получает адрес автоконфигурации.
Конфигурация коммутатора:
DGS-3120-24TC:admin#sh vlan
Command: show vlan
VLAN Trunk State : Disabled
VLAN Trunk Member Ports :
VID : 1 VLAN Name : default
VLAN Type : Static Advertisement : Enabled
Member Ports : 21-26
Static Ports : 21-26
Current Tagged Ports :
Current Untagged Ports: 21-26
Static Tagged Ports :
Static Untagged Ports : 21-26
Forbidden Ports :
VID : 103 VLAN Name : v103
VLAN Type : Static Advertisement : Disabled
Member Ports : 1-12
Static Ports : 1-12
Current Tagged Ports :
Current Untagged Ports: 1-12
Static Tagged Ports :
Static Untagged Ports : 1-12
Forbidden Ports :
VID : 104 VLAN Name : v104
VLAN Type : Static Advertisement : Disabled
Member Ports : 13-20
Static Ports : 13-20
Current Tagged Ports :
Current Untagged Ports: 13-20
Static Tagged Ports :
Static Untagged Ports : 13-20
Forbidden Ports :
Total Static VLAN Entries: 3
Total GVRP VLAN Entries: 0
===================================================================================================
DGS-3120-24TC:admin#sh ipif
Command: show ipif
IP Interface : net3
VLAN Name : v103
Interface Admin State : Enabled
IPv4 Address : 192.168.1.253/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
DHCPv6 Client State : Disabled
IPv6 State : Enabled
IP Interface : net4
VLAN Name : v104
Interface Admin State : Enabled
IPv4 Address : 192.168.4.254/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
DHCPv6 Client State : Disabled
IPv6 State : Enabled
IP Interface : System
VLAN Name : default
Interface Admin State : Enabled
IPv4 Address : 192.168.50.254/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
DHCPv6 Client State : Disabled
IPv6 State : Enabled
DHCP Option12 State : Disabled
DHCP Option12 Host Name :
Total Entries: 3
===================================================================================================
DGS-3120-24TC:admin#sh 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 : Disabled
DHCP Relay Agent Information Option 82 Check : Disabled
DHCP Relay Agent Information Option 82 Policy : Replace
DHCP Relay Agent Information Option 82 Remote ID :
DHCP Relay Agent Information Option 82 Circuit ID : default
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
net3 192.168.1.250
net4 192.168.1.250
Server VLAN ID List
--------------- -----------------------------------------------------------
192.168.1.250 103-104