Bootp client configuration example, Network requirement, Configuration procedure – H3C Technologies H3C S5120 Series Switches User Manual

Page 264

Advertising
background image

4-3

BOOTP Client Configuration Example

Network requirement

Switch A’s port belonging to VLAN 1 is connected to the LAN. VLAN-interface 1 obtains an IP address

from the DHCP server by using BOOTP.

Figure 4-1 Network diagram for BOOTP client configuration example

DHCP server

Gateway A

WINS server

10.1.1.4/25

Client

Switch A

Client

DNS server

10.1.1.2/25

Vlan-int1

10.1.1.1/25

Vlan-int1

10.1.1.126/25

Configuration procedure

The following describes only the configuration on Switch A serving as a client.

# Configure VLAN-interface 1 to dynamically obtain an IP address from the DHCP server.

<SwitchA> system-view

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] ip address bootp-alloc

# Use the display bootp client command to view the IP address assigned to the BOOTP client.

Advertising