2 dhcp server configuration commands example – Amer Networks SS2R48G4i V2 User Manual

Page 170

Advertising
background image

SS2R24G4i/SS2R48G4i

159

Global Mode

ip dhcp conflict logging

no ip dhcp conflict logging

Enables logging for DHCP address to
detect address conflicts

Admin Mode

clear ip dhcp conflict <address | all>

Deletes a single address conflict record or
all conflict records

4.

Configure count of ping packets and out time

Command Explanation
Global Mode

ip dhcp ping packets <count>

no ip dhcp ping packets

Configure count of ping packets to be be
assigned in DHCP Address pool

ip dhcp ping timeout <milliseconds>

no ip dhcp ping timeout

Configure timeout time after set ping
packets to receive responses

18.2.2 DHCP Server Configuration Commands Example

Scenario 1
Too save configuration efforts of network administrators and users, a company is using SS2R24/48G4i
switch switch as a DHCP server. The Admin VLAN IP address is 10.16.1.2/24. The local area network
for the company is divided into network A and B according to the office locations. The network
configurations for location A and B are shown below.

PoolA(network 10.16.1.0)

PoolB(network 10.16.2.0)

Device

IP address

Device

IP address

Default gateway

10.16.1.200
10.16.1.201

Default gateway

10.16.1.200
10.16.1.201

DNS server

10.16.1.202

DNS server

10.16.1.202

WINS server

10.16.1.209

WINS server

10.16.1.209

WINS node type

H-node

WINS node type

H-node

Lease

3 days

Lease

1 days


In location A, a machine with MAC address 00-03-22-23-dc-ab is assigned with a fixed IP address of
10.16.1.210 and named as “management”.
Switch(Config)#interface vlan 1
Switch(Config-If-Vlan1)#ip address 10.16.1.2 255.255.255.0
Switch(Config--If-Vlan1)#exit
Switch(Config)#ip dhcp pool A
Switch(dhcp-A-config)#network 10.16.1.0 24
Switch(dhcp-A-config)#lease 3
Switch(dhcp-A-config)#default-route 10.16.1.200 10.16.1.201
Switch(dhcp-A-config)#dns-server 10.16.1.202

Advertising