For details about how to configure DHCP for a Cisco switch 3550, refer to some settings in this article for comparison. After setting "ip helper-address dhcp server ADDRESS" according to the instructions on the Internet, the project finds that the client cannot obtain the ip address from the DHCP server, I recently set up 3550 as a DHCP server relay proxy. I was also confused for a long time. Later, I searched for information on the Internet and asked for help from the Forum. I finally passed the test in the project, in order to avoid such problems in the project, we need to adjust the settings to the right.
Network Environment: A 3550EMI switch is divided into three VLANs. vlan2 is the network where the server is located, named server, IP address segment is 192.168.2.0, subnet mask: 255.255.255.0, Gateway: 192.168.2.1, the Domain server is a Windows 2000 advance server and also serves as a DHCP server. The DNS server has the IP address 192.168.2.10, vlan3 is the network where client 1 is located, the IP address segment is 192.168.3.0, The subnet mask is 255.255.255.0, And the Gateway: 192.168.3.1 is named work01, vlan4 is the network where client 2 is located, named work02, IP address segment is 192.168.4.0, subnet mask: 255.255.255.0, Gateway: 192.168.4.1.3550, Ports 1-8 on VLAN 2, ports 9-16 are divided into VLAN 3 and ports 17-24 are divided into VLAN 4.
The command and procedure for configuring DHCP for a CISCO 3550 Switch are as follows: www.2cto.com configure DHCP for a CISCO 3550 Switch Step 1: Create a VLAN: Switch> Vlan DatabaseSwitch (Vlan)> Vlan 2 Name serverSwitch (Vlan)> vlan 3 Name work01Switch (vlan)> Vlan 4 Name work02
Step 2 of configuring DHCP for a CISCO 3550 switch: enable DHCP relay Proxy:/* key step. If the following two commands are missing, use "ip helper-address dhcp server ADDRESS" in the VLAN to specify the DHCP server ADDRESS. The client still cannot obtain the ip address */Switch> EnableSwitch # Config tSwitch (Config) Service DhcpSwitch (Config) ip Dhcp Relay Information OptionCISCO 3550 Switch setting DHCP Step 3: Set VLAN Ip Address: Switch (Config)> Int Vlan 2 www.2cto.com Switch (Config-vlan) Ip Address 192.168.2.1 255.255.255.0Switch (Config-vlan) no ShutSwitch (Config-vlan)> Int Vlan 3 Switch (Config-vlan) Ip Address 192.168.3.1 255.255.255.0Switch (Config-vlan) No ShutSwitch (Config-vlan)> int Vlan 4 Switch (Config-vlan) Ip Address 192.168.4.1 255.255.255.0Switch (Config-vlan) No ShutSwitch (Config-vlan) Exit/* Note: Because the port is not set to VLAN2, 3, 4, so each VLAN will be DOWN. After the port is assigned to each VLAN, the VLAN will get up */
This article is from the fat shark network.