IP source guard
termKept in this browser · My desk
A switch feature that forwards traffic from an untrusted access port only if its source IP (and, in some modes, MAC) address matches a DHCP snooping binding or a static entry, and discards the rest.
Juniper validates the source address of packets from untrusted access interfaces against the DHCP snooping database and has an IPv6 counterpart; Fortinet's FortiSwitch calls it IPv4 source guard, disabled by default and enabled per port, with static entries taking precedence over dynamic ones learned through DHCP snooping.
It stops a device from using an address it was not given, which narrows what a rogue or spoofing host can do. Fortinet documents that discarded addresses are not logged, so the feature prevents without telling; pair it with logging from DHCP snooping and dynamic ARP inspection.
Also known as: IPSG, IPv4 source guard, IPv6 source guard
Sources
- Juniper Networks, Overview of Port Security, 24 November 2023 (read 2026-11-17): the source IP of packets from an untrusted access interface is validated against the DHCP snooping database and discarded if it cannot be validated; enabled per VLAN or bridge domain; IPv6 source guard as the IPv6 counterpart
- Juniper Networks, Example: Configuring IP Source Guard with Other EX Series Switch Features, 6 December 2025 (read 2026-11-17): if the source IP and MAC in a binding are not valid, the switch does not forward the packet
- Fortinet, FortiSwitch 7.6.0 FortiLink Guide, Configuring IPv4 source guard (read 2026-11-17): only traffic from specific IPv4 addresses allowed on a port; static entries and dynamic entries learned through DHCP snooping, static winning on conflict; disabled by default, enabled per port; discarded addresses are not logged; error above 2,048 entries from a FortiGate