How to Configure ACL to block illegal DHCP server on Zyxel Switches running in cloud mode?
Background
Use ACL to block illegal DHCP Server on Nebula switch to ensure client can get correct DHCP IP address setting.
Scenario and Topology
This topic will introduce how to use ACL to block illegal DHCP Servers.
Configuration
The following steps are applicable for switches supported on Nebula Control Center. Nebula supported switch are listed as the following topic: [NEBULA] What model supports Nebula CC currently? — Zyxel Community
Notice: GS1350 and GS1915 series does not support ACL in cloud mode.
1 Configure ACL
1.1 Please go to “Site-wide > Configure > Switches > ACL” to add first rule:
“Policy: allow, Protocol: UDP, Source
MAC: any, Source IP:10.214.48.254 (you may type your DHCP server IP), Source
Port: 67, Destination MAC: any, Destination IP: any, Destination Port: 68,
VLAN: any, and the description of this rule.”
This rule allows trusted DHCP server to
provide DHCP IP setting.
1.2 After setup allow rule, we need
to add a deny rule to deny other illegal DHCP servers from sending OFFER and
ACK packets.
“Policy: deny, Protocol: UDP, Source MAC: any, Source IP:any,
Source Port: 67, Destination MAC: any, Destination IP: any, Destination Port:
68, VLAN: any, and the description of this rule.”
Verification
Using a Windows PC as your DHCP client, use cmd with command “ipconfig” to check the IPv4 address.
Then use command “ipconfig /release” & “ipconfig /renew” to let client to send a new DHCP discover packet.
After the renew process is done, we can see the IP setting is the same as above. This means the ACL did block the illegal DHCP offer packet.
Note
1. If you have many DHCP server in your network surrounding, you need to add all of your DHCP server to allow list or your client may not receive DHCP IP setting.
2. Make sure the list of allowed DHCP server rules are above the deny rule. Otherwise, all DHCP packets from trusted DHCP servers will also be denied.
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 246 Service & License
- 383 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight