Ruijie Community

Title: How to check when the user can not obtain the IP address from the Reyee EG through DHCP? [Print this page]

Author: GTAC-Sophia    Time: 2023-7-11 17:14
Title: How to check when the user can not obtain the IP address from the Reyee EG through DHCP?
When the PC can not obtain the IP Address ,configure the PC with a static IP Address and test whether the PC can ping thegateway address
1.If the PC can configure the static IP address, it can ping the gateway, but it can not be obtained through DHCP.
(1) Check if EG has DHCP service turned on


(2) Check whether the switch between EG and PC hasDHCP snooping turned on. If DHCP snooping is turned on, you need to configurethe uplink interface of the switch as a trust interface
(3) Check if addresses in the address pool on the EG are exhausted


2. If the PC is configured with a static address, the gateway cannot be pinged butcan not be obtained through DHCP
(1) Check if EG has DHCP service turned on


(2) Check if addresses in the address pool on the EG are exhausted



(3) Check that the switch between the EG and PC and the VLAN configuration on the EG is correct
Trunk port: When a data packet without VLAN tag enters or leaves the Trunk port, the Trunk port will mark the data packet with Native Vlan.
When a data packet with a VLAN tag enters or leaves the Trunk port, if the VLAN of the data packet is consistent with the Native VLAN, the Trunk port will remove the VLAN tag and forward it. If the VLAN of the data packet is not consistent with the Native VLAN, but the VLAN carried by the data packet is in the allowed list of the Trunk port, then the original VLAN tag of the data packet will be retained for forwarding, otherwise it will not be forwarded.
Access Port: When a data packet without a VLAN tag enters or leaves the Access port, the Access Port will mark the data packet with the VLAN configured by the Access port
When a VLAN marked data packet enters or leaves the Access port, if the VLAN of the data packet is consistent with the VLAN configured by the Access port, then the Access port will remove the VLAN mark and forward it. If it is inconsistent, then the Access port will not Forward
Example:


The SSID of the user connecting to VLAN1: The AP interface will remove the flag of VLAN1 by default, so after the user accesses the SSID of VLAN1, the data packet will be marked with the flag of VLAN1 first, and the flag of VLAN1 will be removed and forwarded to the switch through the uplink interface of the AP. Trunk port1 (Vlan 1), because the data packet does not have a VLAN mark at this time, trunk port1 will be marked with Native vlan (Vlan 1), and then trunk port2 receives the data marked with VLAN1, because itis consistent with the native vlan, so remove vlan1 and forward it to EG. The default vlan of EG will perform vlan1 or data packets without vlan marks Processing, so the user can get 192.168.1.0/24 IP Address at this time
The user connects to the SSID of VLAN20: After theuser connects to the SSID of VLAN20, the user data will be labeled with Vlan20first, because the VLAN of the interface between Vlan20 and the AP isdifferent, the AP will keep the label of VLAN20 for forwarding to trunk port1,when trunk port1 After receiving the data packet of vlan20, since VLAN20 is nota native vlan but is in the allowed list, the label of VLAN20 is reserved andforwarded to trunk port2. After trunk port 2 receives it, it also retains thelabel of vlan20 and forwards it to EG. After EG receives it, it will carry thedata packet of the VLAN20 label to the VLAN20 interface for processing, so theuser will get 192.168.20.0/24 IP address
(4) Check that ports and cables are normal





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