DHCP clients use local broadcast packets to obtain IP addresses from the DHCP server. And in some situations, the DHCP server may not be in the same subnet as the DHCP clients. As a result, DHCP clients will not receive IP addresses from the DHCP server. In such a situation, we could configure DHCP Relay on VigorSwitch to make this work. Please note that we couldn't set up the DHCP server as the VigorSwitch built-in DHCP server.
Go to Switch LAN >> VLAN Management >> Create VLAN Create two VLAN profiles as ID 10, 20.
Go to VLAN Routing >> Interface Setting, set up IP address and Subnet Mask for two VLAN profiles.
Go to Switch LAN >> DHCP Server/Relay >> DHCP Relay >> Global Setting.
When we enable Append Agent Option, it allows the VigorSwitch to add DHCP Option 82 to the forwarded DHCP packets. When we select Keep as Packets Conatin Relay Agent Options, it means all the packets will be fowarded, but the relay information which is already present will be ignored.
Go to Switch LAN >> DHCP Server/Relay >> DHCP Relay >> Interface Setting
Go to Switch LAN >> VLAN Management >> Interface Settings
Go to Switch LAN >> Mirror, set up port mirror for GE2, GE3.
We use a VigorRouter as the DHCP server
Now we can connect a DHCP client(PC) to GE3 and capture the packets on GE14 to confirm the DHCP relay is working.
Was this helpful?
Sorry about that. Contact Support if you need further assistance, or leave us some comments below to help us improve.