My problem is how to specify a DHCP domain for each VLAN. For example, VLAN 2 corresponds to DHCP Test2 vlan3 corresponds to DHCP test3. suppose:
Scenario 1: there is now a router with Multiple DHCP domains.
Then, VLAN on the switch. What is the IP address of the IP help-address on the vswitch? Which port is the IP address of the router? For example, the configuration on the router:
Ip dhcp excluded-address 10.0.199.200 10.0.199.254! Ip dhcp pool Test 1 network 10.0.199.0 255.255.255.0 default-router 10.0.199.1 DNS-server 10.0.199.252 lease 0 0 5
Ip dhcp pool Test 2 network 10.0.200.0 255.255.255.0 default-router 10.0.200.1 DNS-server 10.0.199.252 lease 0 0 5
On a vswitch:
Interface vlan199 IP address 10.0.199.1 255.255.0 IP helper-address ???????????????
Int VLAN 200.
IP address 10.0.200.1 255.255.0 IP helper-address ??????????? What is the helper-address specified here? In order to match the vlan199 and the vlan200 computers
DHCP scope ???
Scenario 2: Use the Win2000's DHCP server in the LAN to divide the DHCP into two scopes based on the IP address 192.168.10.1 of the DHCP server.
The first scope 192.168.10.10 ----- 192.168.10.255 the second scope 192.16.000010 ------ 192.16.255.255.
After VLAN division, how can I ensure that the DHCP server is still used in other regions. That is, the machine in vlan10 obtains the IP address in the first scope: that is, the IP address in the second scope is obtained from 192.168.10.10 ----- 192.168.10.255. what is the helper-address specified here? In order to obtain the corresponding DHCP scope ???
Case 3: Divide Multiple DHCP domains on a 3550emi. Because it can be routed. It can also be VLAN-based. So what is the helper-address specified here? In order to obtain the corresponding DHCP scope ???
FW: ip dhcp pool valn x
Network x. x
Default-router x. x
The VLAN x pool is a subset of the global pool.
Interface VLAN x
IP helper-address x. x
The Helper address can be a specific DHCP server address, or it can be the network address
If other DHCP servers are on the destination network segment. Using the network address enables other servers to respond to DHCP requests.
If you have multiple servers, you can configure one helper address for each server.
DHCP relay:
Http://www.cisco.com/en/US/products...00800c6ed2.html
FW: Here is a summary of a configuration case:
The Int fa0/0 of router1 is connected to the DHCP server. The IP address connection scheme with router2 through S0/0 is as follows:
Route1:
Int fa0/0 10.1.1.254/24 int fa0/1 10.1.2.254/24 int S0/0 192.168.0.1/30 route2:
Int fa0/0 10.2.1.254/24 int fa0/1 10.2.2.254/24 int S0/0 192.168.0.2/30 DHCP server adderss: 10.1.1.1
Configuration:
Router1 :! IP forward-Protocol UDP
! Int fa0/0 ip addr 10.1.1.254 255.255.255.0
No shutdown! Int fa0/1 ip addr 10.1.2.254 255.255.255.0
IP helper-address 10.1.1.1 No shut!
Int S0/0 ip addr 192.168.0.1 255.255.255.252 No shut
Encap PPP
!
IP Route 10.2.0.0 255.255.0.0 192.168.0.2! Router2 :!
IP forward-Protocol UDP! Int fa0/0 ip addr 10.2.1.254 255.255.255.0
IP helper-address 10.1.1.1 no shutdown!
Int fa0/1 ip addr 10.2.2.254 255.255.255.0 IP helper-address 10.1.1.1 No shut
! Int S0/0 ip addr 192.168.0.2 255.255.255.252
No shut encap PPP! IP Route 10.1.0.0 255.255.0.0 192.168.0.1! DHCP server: Scope 11: router: 10.1.1.254
Scope 12: router: 10.1.2.254 scope 21: router: 10.2.1.254
Scope 22:
Router: 10.2.2.254
The VLAN configuration is the same. Replace int FA with int VLAN.
To:
You only need to use the VLAN as the route option of the nth scope.
Divide VLANs on your vswitch as usual:
Suppose there are: vlan20 and vlan30, you should first divide them on the vswitch (this step should be done), and then set the VLAN gateway on the vro (assuming fa0/0.1: 192.168.255.254/24 and fa0/0.2: 192.168.30.254/24), set IP help-address dhcp_server_add and IP forward UDP under the vlan20 interface and vlan30 interface respectively. In fact, it doesn't matter where the dhcp_server is connected, you only need to be able to route. The key is that when scope is set on dhcp_server, you can divide it into two, one of which is the 192.168.20.0 network segment, the corresponding route option is 192.168.255.254, And the other scope is the 192.168.30.0 network segment, its corresponding route option is 192.168.30.254. After completing the preceding settings, you must be able to connect to the dhcp_server in both network segments. ArticleInput: CSH responsible editor: CSH
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service