Description |
This article describes the reasons why the client receives a different DHCP scope. |
Scope |
FortiGate and Windows. |
Solution |
On FortiGate, there are 2 different DHCP scopes which are port7 and VLAN 70:
CLI configuration:
The client host is intended to get the IP from the VLAN 70 DHCP scope, but here it is receiving the 10.10.10.0/24 range instead.
This is because traffic is not being tagged with the correct VLAN ID. In this example, it is possible to tag the VLAN ID on a Windows NIC using the following steps:
After that, renew the DHCP and confirm if it is getting the correct IP now.
Note: For an Intel NIC, it may be necessary to install Intel Advanced Network Services. See: Intel® Advanced Network Services for more information.
Here is a related article that provides an example packet capture of DHCP Messages with a VLAN tag: Troubleshooting Tip: Check DHCP Messages with VLAN Tag using Wireshark Packet Capture |