Planet WGSW-52040 Configuration Manual page 260

48-port 10/100/1000base-t + 4-port 100/1000x sfp managed switch
Hide thumbs Also See for WGSW-52040:
Table of Contents

Advertisement

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.201
Switch(config)#ip dhcp pool A1
Switch(dhcp-A1-config)#host 10.16.1.210
Switch(dhcp-A1-config)#hardware-address 00-03-22-23-dc-ab
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.
Scenario 2:
DHCP Client
DHCP Client
DHCP Client
As shown in the above figure, route switch is configured as a DHCP relay. The DHCP server
address is 10.1.1.10, the configuration steps is as follows:
E1/1
192.168.1.1
DHCP Relay
Figure 31-3: DHCP Relay Configuration
31-39
E1/2
10.1.1.1
DHCP Server
10.1.1.10

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents