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
Các bản cập nhật gần đây có thể đã mở rộng quyền truy cập vào (các) tính năng được thảo luận trong phần Câu Hỏi Thường Gặp (FAQ) này. Truy cập trang hỗ trợ sản phẩm của bạn, chọn phiên bản phần cứng chính xác cho thiết bị của bạn và kiểm tra phần Bảng dữ liệu hoặc firmware để biết những cải tiến mới nhất được thêm vào sản phẩm của bạn.
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.
Câu hỏi thường gặp này có hữu ích không?
Phản hồi của bạn giúp cải thiện trang web này.
Mối quan tâm của bạn với bài viết này là gì?
- Không hài lòng với sản phẩm
- Quá phức tạp
- Tiêu đề khó hiểu
- Không áp dụng cho tôi
- Quá mơ hồ
- Khác
Cảm ơn
Chúng tôi đánh giá cao phản hồi của bạn.
Nhấp vàođây để liên hệ với bộ phận hỗ trợ kỹ thuật của TP-Link.
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 . Don’t show again
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 . Don’t show again
Basic Cookies
Những cookie này cần thiết để trang web hoạt động và không thể tắt trong hệ thống của bạn.
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
Cookie phân tích cho phép chúng tôi phân tích các hoạt động của bạn trên trang web của chúng tôi nhằm cải thiện và điều chỉnh chức năng trang web của chúng tôi.
Các cookie tiếp thị có thể được các đối tác quảng cáo của chúng tôi thiết lập thông qua trang web của chúng tôi để tạo hồ sơ về sở thích của bạn và hiển thị cho bạn các quảng cáo có liên quan trên các trang web khác.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au