Ruijie Community

Title: Does RG-AP840-I and AP180 support DHCP option 82? How to configure? [Print this page]

Author: dmitry@bairoff.    Time: 2023-3-21 22:20
Title: Does RG-AP840-I and AP180 support DHCP option 82? How to configure?
Dear TAC,
I can't find how to configure Option 82 on APs. I need to forward SSID and MAC of the ap where a client connected to DHCP server to choose the right IP to lease, so i need to forward these fields: Cid=ssid, rid=mac

Author: yujiamin@ruijie    Time: 2023-3-22 09:49
Dear sir

You can refer to this guide to configure dhcp relay option 82 on Ruijie AP:
https://community.ruijienetworks.com/forum.php?mod=viewthread&tid=2022&extra=page%3D1



Best regards
Jenny

Author: dmitry@bairoff.    Time: 2023-3-22 16:29
GTAC-Jenny replied at 2023-3-22 09:49
Dear sir

You can refer to this guide to configure dhcp relay option 82 on Ruijie AP:

Hi Jenny,
I think i wasn't clear enough. I meant APs in FIT mode. So i wish to make this config centrally to hundreds of APs. And it should be working like this. After going online, a STA obtains the IP address through DHCP. When the DHCP Request packet from the STA reaches an AP, the AP adds the Option 82 field to the packet and sends the packet to the DHCP server. The Option 82 field contains the MAC address and SSID of the associated AP. Therefore, the DHCP server knows the AP on which the STA goes online.

Author: yujiamin@ruijie    Time: 2023-3-22 18:18
Dmitry Bairoff replied at 2023-3-22 16:29
Hi Jenny,
I think i wasn't clear enough. I meant APs in FIT mode. So i wish to make this config ce ...
Dear sir
You can configure DHCP option 82 on the device which enables DHCP Snooping.
1. Configuring basic functions of DHCP Snooping.
2. Configuring Option82.
Ruijie# configure terminal
Ruijie(config)# ip dhcp snooping information option
Ruijie(config)# end
You can also follow this guide on page 874: https://www.ruijienetworks.com/resources/preview/75585?t=638042859624492187


Best regards
Jenny

Author: dmitry@bairoff.    Time: 2023-3-22 18:56
GTAC-Jenny replied at 2023-3-22 18:18
Dmitry Bairoff replied at 2023-3-22 16:29
Hi Jenny,
I think i wasn't clear enough. I meant APs in FI ...

So you mean this feature is not supported by Ruijie APs?
Is it possible to add this feature?
And please advise how to enable dhcp relay on Ruijie FIT APs.

Author: yujiamin@ruijie    Time: 2023-3-23 10:12
Dmitry Bairoff replied at 2023-3-22 18:56
So you mean this feature is not supported by Ruijie APs?
Is it possible to add this feature?
And p ...

Dear sir

You can configure DHCP option 82 on Ruijie Fit APs:
Ruijie(config)# ip dhcp snooping information option


You can also follow this guide on page 874:
https://www.ruijienetworks.com/resources/preview/75585?t=638042859624492187




Note:
1. The Opion82 functions for DHCP Snooping and DHCP Relay are mutually exclusive.

2. Enable this Option 82 function on access devices with DHCP Snooping enabled.



Best regards
Jenny

Author: yujiamin@ruijie    Time: 2023-3-23 10:14
Dmitry Bairoff replied at 2023-3-22 18:56
So you mean this feature is not supported by Ruijie APs?
Is it possible to add this feature?
And p ...

Dear sir

You can use the command: Ruijie(config)#ap-config all to enter the configuration mode of all APs to achieve batch configuration, and the configuration in this mode will take effect for all APs associated with this AC.


Best regards

Jenny






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2