3 dhcp troubleshooting, 1 monitor and debug commands, 1 clear ip dhcp binding – Amer Networks SS2R48G4i V2 User Manual

Page 171: 2 clear ip dhcp conflict

Advertising
background image

SS2R24G4i/SS2R48G4i

160

Switch(dhcp-A-config)#netbios-name-server 10.16.1.209
Switch(dhcp-A-config)#netbios-node-type H-node
Switch(dhcp-A-config)#exit
Switch(Config)#ip dhcp excluded-address 10.16.1.200 10.16.1.210
Switch(Config)#ip dhcp pool B
Switch(dhcp-B-config)#network 10.16.2.0 24
Switch(dhcp-B-config)#lease 1
Switch(dhcp-B-config)#default-route 10.16.2.200 10.16.2.201
Switch(dhcp-B-config)#dns-server 10.16.2.202
Switch(dhcp-B-config)#option 72 ip 10.16.2.209
Switch(dhcp-config)#exit
Switch(Config)#ip dhcp excluded-address 10.16.2.200 10.16.2.210
Switch(Config)#ip dhcp pool A1
Switch(dhcp-A1config)#host 10.16.1.210
Switch(dhcp-A1-config)#hardware-address 0003.2223.dcab
Switch(dhcp-A1-config)# client-name

management

Switch(dhcp-A1-config)#exit

Usage Guide

When a DHCP/BootP client is connected to a VLAN1 port of the switch, the client can

only get its address from 10.16.1.0/24 instead of 10.16.2.0/24. This is because the broadcast packet
from the client will be requesting the IP address in the same segment of the VLAN interface after VLAN
interface forwarding, and the VLAN interface IP address is 10.16.1.2/24, therefore the IP address
assigned to the client will belong to 10.16.1.0/24.
If the DHCP/BootP client wants to have an address in 10.16.2.0/24, the gateway forwarding broadcast
packets of the client must belong to 10.16.2.0/24. The connectivity between the client gateway and the
switch must be ensured for the client to get an IP address from the 10.16.2.0/24 address pool.

18.3 DHCP Troubleshooting

18.3.1 Monitor and Debug Commands

18.3.1.1 clear ip dhcp binding

Command clear ip dhcp binding {<address> | all }

Function

Deletes the specified IP address-hardware address binding record or all IP

address-hardware address binding records.

Parameters

<address> is the IP address that has a binding record in decimal format. all refers to all

IP addresses that have a binding record.

Command mode

Admin Mode

Relative Command show ip dhcp binding

18.3.1.2 clear ip dhcp conflict

Advertising