Configuration task list, Creating a dhcp address pool, Dhcp server configuration examples – H3C Technologies H3C S12500 Series Switches User Manual

Page 57: Static ip address assignment configuration example

Advertising
background image

44

Task Command

Clear DHCP server statistics.

reset dhcp server statistics

58B

DHCP server configuration examples

NOTE:

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.

DHCP networking involves the following types:

The DHCP server and clients reside on the same subnet and exchange messages directly.

The DHCP server and clients are not on the same subnet and they communicate with each other
through a DHCP relay agent.

The DHCP server configuration for the two types is identical.

205B

Static IP address assignment configuration example

331B

Network requirements

As shown in

692H

Figure 16

, Switch B (DHCP client) and Switch C (BOOTP client) obtain the static IP address,

DNS server address, and gateway address from Switch A (DHCP server).
The client ID of VLAN-interface 2 on Switch B is:
0030-3030-662e-6532-3439-2e38-3035-302d-566c-616e-2d69-6e74-6572-6661-6365-32.
The MAC address of VLAN-interface 2 on Switch C is 000f-e249-8050.

Figure 16 Network diagram

332B

Configuration procedure

1.

Configure the IP address of VLAN-interface 2 on Switch A:

<SwitchA> system-view

[SwitchA] interface vlan-interface 2

[SwitchA-Vlan-interface2] ip address 10.1.1.1 25

[SwitchA-Vlan-interface2] quit

Advertising