How to configure a TP-Link Switch as DHCP Server in Standalone mode

SG2428LP , SX3008F , SG3428MP , SG3428X , SG3452P , TL-SG2210P , SG2428P , TL-SX3008F , TL-SG3428 , TL-SG2218 , SG2210P , S4500-8G , SG2218 , SG3428 , TL-SG3452P , TL-SG3428X , S5500-8MHP2XF , T1600G-28TS , TL-SG3428MP , TL-SG2008 , S4500-16G2F , T1600G-28PS , TL-SG3210 , TL-SG3452 , SG3210 , SG3452 , Festa FS310GP , TL-SG3210XHP-M2 , S5500-24GP4XF , SG3428XMP , TL-SG2428P , TL-SG3428XMP
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
At times you may want to configure your TP-Link switch to act as the DHCP server of your network instead of using your router. This FAQ will show you how to do that.
*Note: This FAQ assumes you are using a TP-Link ER605 SMB router. Actions on the router may vary depending on what you are using.
Network Topology:
Step 1. Set a Static IP for the switch
Use the router’s IP to log into its Web interface. Go to Network > LAN > DHCP Client List to check what the switch’s IP is.
Use that IP to log in to its web interface.
Go to L3 Features > Interface > Edit IPv4 to set the IP address as static for better convenience to log into the switch after the router’s DHCP feature is turned off.
Step 2. Turn off the DHCP server on the router
If there are two DHCP servers in your network, it will create serious issues on your network, so we need to turn off the router’s DHCP server.
Using the router’s IP, log into its Web Interface. Go to Network > LAN > Network List and click on the edit button.
Then find Status under DHCP to uncheck the small box near Enable and click on Ok.
Step3. Add Static Routing to the router
It will be necessary to configure static routing on the RE605 router to know where the packets need to be delivered. It should be to IP addresses of VLAN2. Go to Transmission > Routing > Static Route. Add the following entries.
Next Hop: Fill in 192.168.0.101 which is interface IP of TL-SG3428X.
Destination IP: VLAN 2’s subnet segment.
Interface: Select the default LAN.
There is no need to create VLAN2 on the ER605. This is because ER605 supports Multi-Net NAT automatically.
Note: As VLAN1 is the default Network, you will not need to add a Static Routing Rule for VLAN1. However, if you have created other VLAN, additional Static Routing rules will be needed.
Step 4. Create 802.1Q VLAN on the switch
As the router’s DHCP feature has now been disabled, the PC connected to the switch will not be able to get IPs from the router any longer. To successfully log into the switch’s interface, a static IP set on the PC is required. The Static IP should be on the same subnet as Switch’s IP (192.168.0.101).
This FAQ shows how to set a static IP on the PC: https://www.tp-link.com/support/faq/14/
After logging into the switch’s web interface. Go to L2 FEATURES > VLAN > 802.1Q VLAN > VLAN Config, then click Add. Since VLAN1 is the default VLAN, we only need to create VLAN2.
In the pop-up page, set the VLAN ID to 2, and add port 15, connected PC2, as an Untagged Port.
Next, modify the PVID of port15. Turn to Port Config, then click APPLY.
Step 5. Create the VLAN interface
Go to L3 FEATURES > Interface, and click Add.
Step 6. Enable the DHCP server to allow the switch to assign IP addresses to clients
Go to L3 FEATURES > DHCP Service > DHCP Server, enable the DHCP server, and add the DHCP pools for VLAN1 and VLAN2.
Turn to Pool Settings to fill in related information.
Don’t forget to create VLAN1’s DHCP server pool.
Step 7. Configure Static Routing to the switch
Go to L3 FEATURES >Static Routing > IPv4 Static Routing to add the default route entry. Default route entry is indispensable because IP packets to the Internet whose destination IP is not in the direct routing table will be forwarded according to default route entry. Here we set it as 192.168.0.1, which is the router’s IP.
Note: Don't forget to Click the Save button for saving configuration.
Step 8 Verification
We can now check that PC2 can get a IP from 192.168.2.1/24 while PC1 get a IP from 192.168.0.1/24 and they both can access the internet.
PC2 on port 15:
PC1 on any port but port 15:
Is this faq useful?
Your feedback helps improve this site.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.

TP-Link Community
Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.
As explained further in our website Privacy Policy, we allow certain advertising partners to collect information from our website through cookies and similar technologies to deliver ads which are more relevant to you, and assist us with advertising-related analytics (e.g., measuring ad performance, optimizing our ad campaigns). This may be considered "selling" or "sharing"/disclosure of personal data for "targeted advertising" as defined by certain U.S. state laws. To opt out of these activities, press "Opt Out" below. If the toggle below for "Targeted Advertising and 'Sale' Cookies" is to the left, you are already opted out and you can close these preferences.
Please note that your choice will apply only to your current device/browser. You must indicate your choice on each device and browser you use to access our website. If you clear your cookies or your browser is set to do so, you must opt out again.
Your Privacy Choices
As explained further in our website Privacy Policy, we allow certain advertising partners to collect information from our website through cookies and similar technologies to deliver ads which are more relevant to you, and assist us with advertising-related analytics (e.g., measuring ad performance, optimizing our ad campaigns). This may be considered "selling" or "sharing"/disclosure of personal data for "targeted advertising" as defined by certain U.S. state laws. To opt out of these activities, press "Opt Out" below. If the toggle below for "Targeted Advertising and 'Sale' Cookies" is to the left, you are already opted out and you can close these preferences.
Please note that your choice will apply only to your current device/browser. You must indicate your choice on each device and browser you use to access our website. If you clear your cookies or your browser is set to do so, you must opt out again.
Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off.
TP-Link
SESSION, JSESSIONID, accepted_local_switcher, tp_privacy_banner, tp_privacy_base, tp_privacy_marketing, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Zendesk
OptanonConsent, __cf_bm, __cfruid, _cfuvid, _help_center_session, _pendo___sg__.<container-id>, _pendo_meta.<container-id>, _pendo_visitorId.<container-id>, _zendesk_authenticated, _zendesk_cookie, _zendesk_session, _zendesk_shared_session, ajs_anonymous_id, cf_clearance
Targeted Advertising and "Sale" Cookies
These cookies allow targeted ads or the "sale" of personal data (toggle to the left to opt out).
Analytics cookies enable us to analyze your activities on our and other websites in order to improve and adapt the functionality of our website and our ad campaigns.
Advertising cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au
Meta Pixel
_fbp
Crazy Egg
cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs
lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or
_rdt_uuid
Welcome to Our Website! If you stay on our site, we and our third-party partners use cookies, pixels, and other tracking technologies to better understand how you use our site, provide and improve our services, and personalize your experience and ads based on your interests. Learn more in your privacy choices.