• September 26, 2018, 01:35:53 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Trouble configuring Relay DHCP and Vlans  (Read 2174 times)

laral

  • Level 1 Member
  • *
  • Posts: 3
Trouble configuring Relay DHCP and Vlans
« on: August 01, 2016, 07:33:01 AM »

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!


Code: [Select]
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
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 45785
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Trouble configuring Relay DHCP and Vlans
« Reply #1 on: August 01, 2016, 07:51:46 AM »

Link>Welcome!

  • What region are you located?
Is there any information in the user manual regarding this?
Logged
"Nothing Funny about It...." We are not here to Impress anyone! You have a be a COMPETENT user first to under stand COMPETENT help!

laral

  • Level 1 Member
  • *
  • Posts: 3
Re: Trouble configuring Relay DHCP and Vlans
« Reply #2 on: August 01, 2016, 08:08:59 AM »

We are located in Europe > France

There is no such restriction in the user manual concerning the number of interfaces that can be relayed via the DHCP Relay Interface (WEB_UI reference , chapter 10, CLI_Reference chapter 22-2)
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 45785
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Trouble configuring Relay DHCP and Vlans
« Reply #3 on: August 18, 2016, 07:19:21 AM »

Any status on this?  ???

You might want to phone contact your regional D-Link support office for help and information regarding this.
Logged
"Nothing Funny about It...." We are not here to Impress anyone! You have a be a COMPETENT user first to under stand COMPETENT help!

jmcloutier

  • Level 1 Member
  • *
  • Posts: 3
Re: Trouble configuring Relay DHCP and Vlans
« Reply #4 on: September 09, 2016, 11:10:22 AM »

Hey fellas,

I'd suggest giving that beta firmware a try: http://forums.dlink.com/index.php?topic=63733.0
Logged