Usually, you get to see IP by broadcasting DHCP packets in your LAN and then the server will respond to the request of the client. Therefore, keeping the DHCP server and the client in the same LAN is important. If you require more than one DHCP subnets, then you will require more than one DHCP server in the same LAN with subnets.
This will be difficult to manage and increase the cost of network. The function of DHCP Relay is used to resolve the issue. It transmits DHCP packets of different subnets. So, each packet will help you share the same DHCP server. Then, you can configure the DHCP Relay in your TP-Link Switch.
You need a DHCP server that enables you to allocate over one subnet. Now, you need to take an L2+ switch of TP-Link. Now, we are going to give two different subnets to the client, which are connected to the T1600G-28TS and 192.168.10.0.
Step 1: Log in to the T2600G-28TS, enable the DHCP server and set up two IP address pools. Go to Routing, DHCP server, DHCP server and then finally enable it.
Step 2: Go to Routing, DHCP Server, pool Setting, and then enter the Network Address. Also, you are required to subnet the mask. Therefore, Default Gateway and Lease Time are required. After that, select Create. Carry out the same step once again and then set an IP address pool. Now, you are going to get two address pools on the pool table.
Step 3: Create a static routing in your T2600G-28TS. It tells you how to send the packets back to the clients. Go to Routing, Static Routing. Enter Subnet Mask and destination subnet. Now, we are going to set the 192.168.0.10. You can see it as the next hop of your routing. Now, the configuration of the DHCP server is over.
Step 4: In the first step of this settings, you must give it another interface as it conflicted with the one in T2600G-28TS. Select Routing and then select Interface. Now, change its interface to 192.168.0.10. Then, you can log in by entering the IP address 192.168.0.10.
Step 5: After that, various subnets will be divided into many VLANs. Therefore, we need to make two VLANs. Now, you are required to add the port 1/0/4, 1/0/6 and 1/0/8 in VLAN10. After that, you need to add the port 1/0/3 and 1/0/5 in VLAN20.
Step 6: After that, you must turn on the DHCP relay. After that, you must go to Routing, DHCP Relay and then finally select Global Config. DHCP server settings is used for specifying DHCP server for VLANs. Now, the configuration about the DHCP Relay will be over. After that, check whether this is working or not.
Step 7: Connect your computer to the ports which belong to the various ports. After that, run CD and enter the command ipconfig/release and ipconfig/renew. Now, you are going to see some results on the screen.
Now, the clients will receive IP from the DHCP server correctly.