To solve the problem of mutual access between different network segments in the LAN, you can enable Routing and Remote Access Services, take windows server 2003 as an example (server 2003 requires two NICs and their IP addresses are set to different IP segments. Let's take 192.168.1.1 and 192.168.2.1 as an example): 1. the default system settings for enabling Routing and Remote Access Services do not enable this service, so we must first install and enable it. Click "Control Panel> Administrative Tools", double-click the "Routing and Remote Access" option, open the "Routing and Remote Access" window, right-click the "local" server, select the "configure and enable Routing and Remote Access" option in the pop-up menu. In the "route and Remote Access Server Installation Wizard" dialog box, click "Next, select "custom configuration", click "Next", select the "LAN routing" option, and click "finish.
2. configure DHCP relay proxy. install the DHCP relay agent. In the "route and remote access" window, expand the "local Server> IP Route Selection> General" option, right-click the "General" option, select "add route protocol" in the pop-up menu, select "DHCP relay agent" in the "New route protocol" window, and then click "OK. B. specify the DHCP server www.2cto.com, right-click the added "DHCP relay agent" option, and select "properties" in the pop-up menu to go to the "DHCP relay agent properties" dialog box, on the "General" tab, enter the IP address of the DHCP server of one of its subnets (that is, the IP address of one of the NICS), such as 192.168.1.1, and then click "add, add the IP address of the DHCP server of another subnet (that is, the IP address of another Nic). For example, 192.168.2.1 click "OK" to close the dialog box. C. right-click "DHCP relay agent" and select "add interface" from the shortcut menu ", in the "interface" list box in the "New Interface of DHCP relay agent" dialog box, select two NICs and click "OK. In this way, the relay function is enabled. D. In the CIDR Block, the PC sets the gateway to enable the PC's network neighbors in the LAN → properties → local → properties → internet Protocol properties, at 192.168.1 .? Set 192.168.1.1 as the default gateway for the PC in the CIDR block, and 192.168.2.1 as the default gateway for the PC in the CIDR block of 192.168.2.1. Then, you can connect to other CIDR blocks in the same way.