The company hotel has a meeting. The guests attending the meeting need to fill out a form on the Internet in the meeting room, but the meeting room cannot access the Internet, so we temporarily pull a network cable and connect a switch, you can access the Internet by connecting your laptop to the vswitch. Because there are many computers, we decided to use DHCP to allocate relevant parameters to the computer. However, a physical network segment contains two logical subnets.
The two logical subnets are 192.168.0.0/24 and 150.0.1.0/24, and the DHCP server belongs to the 192 subnet. When the client automatically obtains the IP address, it will be the IP address of the 192.168.0.0/24 subnet. Even if a 150.0.1.0/24 subnet scope is created on the DHCP server, the client cannot be allocated to the IP address of the 150 subnet because, by default, the DHCP server only allocates IP addresses in the subnet where the IP address of its Nic is located. This is a problem because our Internet access server is located in the 150 subnet. If the IP address of the 192 subnet needs to be accessed, it needs to be forwarded through the intermediate router, which affects the speed of Internet access. So we want to allocate a 150 subnet IP address to the participants. What should we do?
We have offered the DHCP super scope for help, but it is not just a simple creation of super scope. Some special settings are required.
1. enter the DHCP Management window, right-click the "server" icon, and select "new scope" to create a 150 subnet scope. The create wizard is displayed, giving the scope a name, fill in the IP address range to be allocated in the "ip address range" window.
Next, click "Next" and configure the scope options. Configure the gateway and DNS here, and configure these two items for Internet sharing.
2. Right-click the "server" icon and select "create super scope". When selecting the scope, select the original 192 scope and the 150 scope just created above.
3. In order for the DHCP server to no longer allocate a 192-range IP address to the client, that is, for the DHCP server to assign a 150 subnet IP address to the client, we also need to make some configuration. There are two ways to temporarily disable the 192 scope: Right-click the scope and select "Disable. Another method is to create a new exclusion range in the 192 scope, exclude those IP addresses that have not been assigned, and make the 192 scope in the IP address exhausted State, at this time, the DHCP server assigns a 150 IP address to the client to achieve our goal. In order not to affect the client of the original 192 subnet to renew the IP address of the 192 scope, this method is selected here. The operation is to right-click the address pool of the 192 scope, select "New exclusion range" to exclude all unused IP addresses in the 192 scope. You can see which addresses have been rented and the lease time from the address lease ).
Related Articles]
- Full introduction to dhcp client!
- Dhcp configuration process