Configuring Source IP Addresses Verification
Context
Configuring source IP address verification enables an interface to check validity of source IP addresses of received packets. Packets with invalid addresses are discarded. The interface only check validity of source IP addresses of the packets that are forwarded to the CPU and does not check validity of source IP addresses of the packets that will be directly forwarded according to the FIB table.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed. The interface can be a VLANIF, Loopback, or tunnel interface.
- Run:
ip verify source-address
Source IP address verification is configured.
By default, an interface does not check validity of source IP addresses of received packets.