Ip Filtering Configuration Example - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

[Sysname-Ethernet1/0/2] quit
# Enable unauthorized DHCP server detection on Ethernet 1/0/3.
[Sysname] interface ethernet1/0/3
[Sysname-Ethernet1/0/3] dhcp-snooping server-guard enable
# Specify the method for handling unauthorized DHCP servers as shutdown on Ethernet 1/0/3..
[Sysname-Ethernet1/0/3] dhcp-snooping server-guard method shutdown

IP Filtering Configuration Example

Network requirements
As shown in
Figure
Ethernet1/0/2 is connected to Host A. The IP address and MAC address of Host A are 1.1.1.1 and
0001-0001-0001 respectively. Ethernet1/0/3 and Ethernet1/0/4 is connected to DHCP Client B and
Client C.
Enable DHCP snooping on the switch, and specify Ethernet1/0/1 as the DHCP snooping trusted
port.
Enable IP filtering on Ethernet1/0/2, Ethernet1/0/3, and Ethernet1/0/4 to prevent attacks to the
server from clients using fake source IP addresses.
Create static binding entries on the switch, so that Host A using a fixed IP address can access the
external network.
Network diagram
Figure 3-10 Network diagram for IP filtering configuration
Eth1/0/2
Host A
IP:1.1.1.1
MAC:0001-0001-0001
Configuration procedure
# Enable DHCP snooping on the switch.
<Switch> system-view
[Switch] dhcp-snooping
# Specify Ethernet1/0/1 as the trusted port.
[Switch] interface Ethernet1/0/1
3-10, Ethernet1/0/1 of the S3100-EI switch is connected to DHCP server and
DHCP Server
Eth1/0/1
Switch
DHCP Snooping
Eth1/0/4
Eth1/0/3
Client B
Client C
3-15

Advertisement

Chapters

Table of Contents
loading

Table of Contents