Hello,
I need some help to configure correctly the dhcp relay with vlan.
In fact, I can get address with DHCP in my vlans, but only from the 1st interface configured and listed in the 'DHCP Relay Interface Settings'
The Dhcp Server is Windows Server 2012R2, ip 192.168.100.1 in SRV Vlan. Scopes are configured for ranges 192.168.10.0/24 (ASI) and 192.168.50.0/24 (SAD)
With Statics IPs, everything is pingable from everywhere.
Here is some experiments with the relay agent :
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
ASI 192.168.100.1
SAD 192.168.100.1
Only PCs in VLAN 'ASI' will get address via DHCP
Pcs in SAD Vlan never get a response from the relay. wireshark on PC and dhcp server show that the request is effectively received by the server, it sends back an offer via the relay, but the pc never sees anything back from the relay
Now, if I remove the ASI interface from the relay settings, thus having :
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
SAD 192.168.100.1
Pcs in VLAN 'SAD' now get offers via DHCP !!!!
I think I have missed something obvious, so any help or advice will be greatly appreciated !
Thanks!
Switch Infos :
Boot PROM Version Build 1.00.016
Management VLAN MGT
Firmware Version Build 2.60.016
Hardware Version B1
Serial Number PVWH3FB000...
Firmware Type SI
Config :
==================
Command: show vlan
==================
VLAN Trunk State : Disabled
VLAN Trunk Member Ports :
VID : 1 VLAN Name : default
VLAN Type : Static Advertisement : Enabled
Member Ports : 1-14,16-28
Static Ports : 1-14,16-28
Current Tagged Ports : 1-12
Current Untagged Ports: 13-14,16-28
Static Tagged Ports : 1-12
Static Untagged Ports : 13-14,16-28
Forbidden Ports :
VID : 10 VLAN Name : ASI
VLAN Type : Static Advertisement : Disabled
Member Ports : 1-3
Static Ports : 1-3
Current Tagged Ports : 1-3
Current Untagged Ports:
Static Tagged Ports : 1-3
Static Untagged Ports :
Forbidden Ports :
VID : 50 VLAN Name : SAD
VLAN Type : Static Advertisement : Disabled
Member Ports : 1-3
Static Ports : 1-3
Current Tagged Ports : 1-3
Current Untagged Ports:
Static Tagged Ports : 1-3
Static Untagged Ports :
Forbidden Ports :
VID : 99 VLAN Name : MGT
VLAN Type : Static Advertisement : Disabled
Member Ports : 1-12,15
Static Ports : 1-12,15
Current Tagged Ports : 1-12
Current Untagged Ports: 15
Static Tagged Ports : 1-12
Static Untagged Ports : 15
Forbidden Ports :
VID : 100 VLAN Name : SRV
VLAN Type : Static Advertisement : Disabled
Member Ports : 1-3
Static Ports : 1-3
Current Tagged Ports : 1-3
Current Untagged Ports:
Static Tagged Ports : 1-3
Static Untagged Ports :
Forbidden Ports :
Total Static VLAN Entries: 5
Total GVRP VLAN Entries: 0
==================================
Command: show ipif
===================================
IP Interface : ASI
VLAN Name : ASI
Interface Admin State : Enabled
IPv4 Address : 192.168.10.254/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
IPv6 SLAAC state : Disabled (Default Router: Disabled)
DHCPv6 Client State : Disabled (Rapid commit : Disabled)
DHCPv6 Client PD State : Disabled (Rapid commit : Disabled)
IPv6 State : Enabled
IP MTU : 1500
IP Interface : SAD
VLAN Name : SAD
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
IPv6 SLAAC state : Disabled (Default Router: Disabled)
DHCPv6 Client State : Disabled (Rapid commit : Disabled)
DHCPv6 Client PD State : Disabled (Rapid commit : Disabled)
IPv6 State : Enabled
IP MTU : 1500
IP Interface : SRV
VLAN Name : SRV
Interface Admin State : Enabled
IPv4 Address : 192.168.100.254/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
IPv6 SLAAC state : Disabled (Default Router: Disabled)
DHCPv6 Client State : Disabled (Rapid commit : Disabled)
DHCPv6 Client PD State : Disabled (Rapid commit : Disabled)
IPv6 State : Enabled
IP MTU : 1500
IP Interface : System
VLAN Name : MGT
Interface Admin State : Enabled
IPv4 Address : 192.168.99.1/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
IPv6 SLAAC state : Disabled (Default Router: Disabled)
DHCPv6 Client State : Disabled (Rapid commit : Disabled)
DHCPv6 Client PD State : Disabled (Rapid commit : Disabled)
IPv6 State : Enabled
IP MTU : 1500
DHCP Option12 State : Disabled
DHCP Option12 Host Name :
IP Interface : HERITAGE
VLAN Name : default
Interface Admin State : Enabled
IPv4 Address : 192.10.1.253/24 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Disabled
IPv4 State : Enabled
IPv6 SLAAC state : Disabled (Default Router: Disabled)
DHCPv6 Client State : Disabled (Rapid commit : Disabled)
DHCPv6 Client PD State : Disabled (Rapid commit : Disabled)
IPv6 State : Enabled
IP MTU : 1500
IP Interface : mgmt_ipif
Status : Enabled
IP Address : 192.168.0.1
Subnet Mask : 255.255.255.0
Gateway : 0.0.0.0
Link Status : Link Down
Total Entries: 6
===========================
Command: show iproute
===========================
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
------------------ --------------- ------------ -------- --------
0.0.0.0/0 192.10.1.1 HERITAGE 1 Default
192.10.1.0/24 0.0.0.0 HERITAGE 1 Local
192.168.10.0/24 0.0.0.0 ASI 1 Local
192.168.50.0/24 0.0.0.0 SAD 1 Local
192.168.99.0/24 0.0.0.0 System 1 Local
192.168.100.0/24 0.0.0.0 SRV 1 Local
Total Entries: 6
=========================
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 : default
DHCP Relay Agent Information Option 82 Circuit ID : default
Interface Server 1 Server 2 Server 3 Server 4
------------ --------------- --------------- --------------- ---------------
ASI 192.168.100.1
SAD 192.168.100.1