2-20
Figure 2-3
Network diagram for self-defined option configuration (a switch as the DHCP server)
Switch A
DHCP server
Switch B
DHCP client
Vlan-int2
10.1.1.1/24
Vlan-int2
Configuration procedure
1) Specify IP addresses for the interfaces (omitted).
2) Configure the DHCP server
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Configure DHCP address pool 0.
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] option 43 hex 80 0B 00 00 02 01 02 03 04 02 02 02 02
3) Verification
After the preceding configuration is complete, Switch B can obtain its IP address on 10.1.1.0/24 and
PXE server addresses from the Switch A. You can use the
display dhcp server ip-in-use
command
on the DHCP server to view the IP addresses assigned to the clients.
Troubleshooting DHCP Server Configuration
Symptom
A client’s IP address obtained from the DHCP server conflicts with another IP address.
Analysis
A host on the subnet may have the same IP address.
Solution
1) Disconnect the client’s network cable and ping the client’s IP address on another host with a long
timeout time to check whether there is a host using the same IP address.
2) If a ping response is received, the IP address has been manually configured on the host. Execute
the
dhcp server forbidden-ip
command on the DHCP server to exclude the IP address from
dynamic allocation.
3) Connect the client’s network cable. Release the IP address and obtain another one on the client.
Take WINDOW XP as an example, run
cmd
to enter DOS window. Type
ipconfig/release
to
relinquish the IP address and then
ipconfig/renew
to obtain another IP address.
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...