Enabling Duplicated Address Detection; Setting The Dscp Value For Dhcp Packets Sent By The Dhcp Client - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Use an ASCII string as the client ID. If an ASCII string is used, the type value is 00.
Use a hexadecimal number as the client ID. If a hexadecimal number is used, the type value is
the first two characters in the number.
Use the MAC address of an interface to generate a client ID. If this method is used, the type
value is 01.
The type value of a DHCP client ID can be displayed by the display dhcp server ip-in-use or
display dhcp client command.
Restrictions and guidelines
Make sure the ID for each DHCP client is unique.
Procedure
To configure a DHCP client ID for an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure a DHCP
client ID for the
interface.

Enabling duplicated address detection

DHCP client detects IP address conflict through ARP packets. An attacker can act as the IP address
owner to send an ARP reply. The spoofing attack makes the client unable to use the IP address
assigned by the server. As a best practice, disable duplicate address detection when ARP attacks
exist on the network.
To enable duplicated address detection:
Step
1.
Enter system view.
2.
Enable duplicate address
detection.
Setting the DSCP value for DHCP packets sent by
the DHCP client
The DSCP value of a packet specifies the priority level of the packet and affects the transmission
priority of the packet.
To set the DSCP value for DHCP packets sent by the DHCP client:
Step
1.
Enter system view.
Command
system-view
interface interface-type
interface-number
dhcp client identifier { ascii
ascii-string | hex hex-string |
mac interface-type
interface-number }
Command
system-view
dhcp client dad enable
Command
system-view
153
Remarks
N/A
N/A
By default, an interface generates the
DHCP client ID based on its MAC address.
If the interface has no MAC address, it uses
the MAC address of the first Ethernet
interface to generate its client ID.
Remarks
N/A
By default, the duplicate address
detection feature is enabled on an
interface.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents