How to configure the default gateway of the smart and managed switches using the old GUI

T1500G-10PS , T1600G-28TS , T1700G-28TQ , T2600G-52TS , T1500-28PCT , T2600G-28TS , T1600G-28PS , T2700G-28TQ , T1500G-10MPS , T1600G-52PS , T1600G-52TS , T3700G-28TQ , T1500G-8T , T1700X-16TS
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.
The introduction of the default route
A default route in TCP/IP network is a setting that tell the device how to forward the packets when their destination IP is not in the same subnet of the device. If we want a device to access the Internet, we need to configure the default route. And when we designate the default gateway of the device, it will create a default route automatically whose Next hop is the gateway’s IP.
For example, we assume a network shown as the picture below
After setting the Default gateway as the router’s LAN IP 172.31.48.1, the PC will generate a default route automatically.
The default route consists of three parameters: Destination, Subnet Mask and Next hop (Gateway) as shown in the picture above. The Destination IP and Mask 0.0.0.0 means arbitrary destination IP addresses that are not matched by other route entries. According to this default route, all the traffics that go to the Internet will be forwarded to the gateway router (172.31.48.1). Then we can say, the PC can access the Internet if all the other settings are OK.
How to configure the default gateway in the T series switches
When we want to use NTP (Network Time Protocol), access the switch remotely, or some other functions that need the switch acting like a computer that can access the Internet by themselves, we need to configure the default gateway route for the switch as well.
We still assume a network shown as in the picture below
1) For TP-Link L2 switches without IP routing function like T1500 series switches, we just need to designate the Default Gateway in the System-System Info-System IP-IP Config like a Windows computer as shown in the picture below. Then the switch will generate a default route for Internet as well.
2) For TP-Link L2+/L3 switches with IP routing function like T1600/T1700/T2700/T3700 Series switches, we need to add a default route manually in the Routing-Static Routing-IPv4 Static Routing Config.
As shown in the picture above, the Destination and Subnet Mask 0.0.0.0 means arbitrary destination IP addresses that are not matched by other route entries. The Next Hop is the router’s LAN IP which means all the traffic to the Internet will be forwarded to the gateway router. The Distance is an optional parameter, we can leave it as default or set it as 1 in this situation.
By the way, if you want to change the management IP address (by default, it is the interface IP of the VLAN 1) of the L2+/L3 switches, you need to go to Routing-Interface List-select VLAN 1 and click Edit to change the IP address.
Note: after the configuration, you need to click “Save Config” button in the web interface or use the command “copy running-config startup-config” in the CLI to save the configuration or it will lose after the power cycle.
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.
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy .
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy .
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
SESSION, JSESSIONID, accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, 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
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing 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