DHCP + WINS + HELPER ADDRESS

xiaoxiao2021-03-06  68

I recently used DHCP to plan IP addresses for company LAN. Here are some experience: using the Win2000 DHCP reservation feature, you can define the IP address and MAC address. Use a group policy to limit the client to not modify the IP address. But the unit has a Cisco 3550 EMI three-layer switch, so you need to emphasize the problem of Helper Address. Of course, due to cross-route, the gateway, WINS, and DNS server addresses should be developed in DHCP. Here DNS I use the win2000 forwarding function, first of all, the name of the domain, if you don't know, forward to the DNS of Inc, this is a great reduction of the communication speed of the server and client. There is no long address process. In order to save time, here is reprinted an article, from www.net130.com:

3550 Configure DHCP Relay Agent Projects Author: usr001 2003-12-3

(Original) 3550 configuration DHCP relay agent engineering instance

(Original) 3550 Configuring DHCP Relay Agent Projects Author: usr0013550 configuration dhcp, and more discussion on the network, but most of the mistakes exist, according to the configuration of an online presentation after "IP HELPER-ADDRESS DHCP server address", the project found that among clients I can't get the IP address from the DHCP server. I have just been configured with 3550 as a DHCP server relay agent. I was also confused for a long time. Later, I found it online and seek all the people on the forum. I finally test it in the project, in order to avoid Everyone encounters such a case in the project, the right adjustment, the special configuration process is written, give you a reference.

Network Environment: One 3550EMI switch, divided 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, domain server for Windows 2000 Advance Server, while also serving as a DHCP server, DNS server, IP address is 192.168.2.10, VLAN3 is a network, IP address segment is 192.168.3.0, subnet mask: 255.255.255.0, gateway: 192.168.3.1 Name For Work01, VLAN4 is the network of the client 2, named WORK02, IP address segment is 192.168.4.0, subnet mask: 255.255.255.0, gateway: 192.168.4.1.3550 on port 1-8 to VLAN 2, port 9-16 is divided into VLAN 3, port 17-24 is divided into VLAN 4.

The configuration commands and steps are as follows:

Step 1: Create VLAN: Switch> VLAN DatabaseSwitch (VLAN)> VLAN 2 Name Serverswitch (VLAN)> VLAN 3 Name Work01Switch (VLAN)> VLAN 4 Name Work02

Step 2: Enable DHCP Relay Agent: / * Key Step, if the following two commands are missing, use the IP Helper-Address DHCP Server Address in the VLAN to specify DHCP servers, the client still cannot get the IP address * / switch> Enableswitch # config tswitch (config) Service DHCPSwitch (config) IP DHCP Relay Information Option

Step 3: Setting VLAN IP Address: Switch (Config)> INT VLAN 2Switch (Config-VLAN) IP Address 192.168.2.1 255.255.255.0switch (config-vlan) No Shutswitch (Config-VLAN)> Int VLAN 3Switch (config- vlan) Ip Address 192.168.3.1 255.255.255.0Switch (Config-vlan) No ShutSwitch (Config-vlan)> Int Vlan 4Switch (Config-vlan) Ip Address 192.168.4.1 255.255.255.0Switch (Config-vlan) No ShutSwitch (Config -VLAN) EXIT / * Note: Since the port assignment is not set to VLAN 2, 3, 4, each VLAN will drop, and the port is assigned to each VLAN, and the VLAN will get up * / fourth: Set the port Global Parameter Switch (Config) Interface Range Fa 0/1 - 24Switch (config-if-range) Switchport Mode Accessswitch (config-if-range) spanning-tree portfast

Step 5: Add port to VLAN2, 3, 4 / * Add port 1-8 to VLAN 2 * / switch (config) Interface Range Fa 0/1 - 8Switch (config-if-range) Switchport Access VLAN 2

/ * Add port 9-16 to VLAN 3 * / switch (config) Interface Range Fa 0/9 - 16Switch (config-if-range) Switchport Access VLAN 3

/ * Add port 17-24 to VLAN 4 * / switch (config) Interface Range Fa 0/17 - 24Switch (config-if-range) Switchport Access VLAN 4Switch (config-if-range) exit

/ * After this step, each VLAN will get up * /

Step 6: Set the DHCP server address / * VLAN 2 in VLAN 3 and 4 Do not specify DHCP server address * / switch (config) INT VLAN 3Switch (config-vlan) IP helper-address 192.168.2.10switch (config) INT VLAN 4Switch (config-vlan) ip helper-address 192.168.2.10

Step 7: Enable routing / * Route enabled, each VLAN host can access each other, if you need to further control access, you need to apply to access control list * / switch (config) ip routing

Eight Step: End and save Configure Switch (config-vlan) endswitch # Copy Run Start

The above test is passed, thanks to all those given to me, thanks to Teru, Wheat's access list. If there is unclear welcome to contact me, my email is: usr0012003@yahoo.com, please Keep the author information ------ full text ------ (Reprinted please keep the author and from the Cisco Network Technology Forum http://bbs.net130.com, you must not be used for commercial purposes)

转载请注明原文地址:https://www.9cbs.com/read-88675.html

New Post(0)