Configure source IP address verification

The source IP address verification function enables an interface to check validity of source IP addresses in received packets. Packets with invalid source addresses are discarded.
As defined in RFC 1812, the following IP source addresses cannot be used as source addresses:

Broadcast addresses of Class A, B, and C

Class D addresses (multicast addresses)

Reserved Class E addresses

All-0 or all-1 addresses

Addresses on the network segment on the network outside the host

<HUAWEI> system-view
[~HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] ip verify source-address
[*HUAWEI-Vlanif100] commit

Scroll to top