Welcome to TP-LINK Tech Support Forum
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Banned GreyShip is on a distinguished road
    Join Date
    Jul 2017
    Posts
    1

    Question Route between VLANs

    Model : T2600G-28MPS

    Hardware Version :

    Firmware Version : 2.0.0 Build 20160923 Rel.36081(s)

    ISP : [/COLOR]

    I am new to a TP-Link switch and would like to know how can I create static routes and route between VLANs

    Scenario:

    This is the setup:
    VLAN 10: 4x Printers 1/0/1-4
    VLAN 20: 4x Office PCs 1/0/5-8
    VLAN 30: 4x Technical PCs 1/0/9-12

    VLAN 10 IP: 10.10.10.0/24, Interface IP: 10.10.10.200
    VLAN 20 IP: 10.10.20.0/24,
    Interface IP: 10.10.20.200
    VLAN 30 IP: 10.10.30.0/24,
    Interface IP: 10.10.30.200

    Devices IP address

  2. #2
    I am trying to achieve something very similar. In summary I have created four VLANs and they are all working but I cannot create a static route between the VLANs, I have tried everything I can think of to no avail. Is there any advice that anyone can offer on configuring the inter VLAN routing on this switch.

  3. #3
    Hi GreyShip and BobSmith6668,

    routing between VLANs is only available throug a router on OSI-Layer 3. VLANs are on OSI-Layer 2 like this Layer-2-Switch (http://www.tp-link.de/products/detai...00G-28MPS.html). To communicate between this two layers you need a router with VLAN-Support or Layer-3-Switch like http://www.tp-link.de/products/detai...700G-28TQ.html.

    Good luck.
    Ulf

  4. #4
    Hi BusinessTux
    Thanks for the reply, I was under the impression the static routing feature of this L2+ switch enabled, in this case L3 routing (just not supporting BGP, OSPF etc). The documentation for the switch specifically mentions the process of creating a Layer 3 interface and the setting required to enable the L3 capabilities. Is it the the L2+ feature set doesn't go quite far enough in this case.

  5. #5
    Hi BobSmith,

    I think the level 3 features are only for management of the switch. For this the dhcp server, I've found the first time, is also a +-feature, I can't explain :-(. But for network traffic between VLANs you need a router. Every traffic between my devices on the same switch passes the router.

  6. #6
    Hi BusinessTux
    Thanks for you advice. I am certainly perplexed by this as the feature set certainly makes it sound as if it can, see http://www.tp-link.gr/faq-1220.html for an example. T2600 - Support 802.1q VLAN and inter-VLAN routing, can reduce the broadcast traffic and enhance the network security without blocking the communication between the VLANs.

  7. #7
    Members R1D2 is on a distinguished road
    Join Date
    Dec 2015
    Posts
    1,209
    Quote Originally Posted by BobSmith6668 View Post

    Thanks for you advice. I am certainly perplexed by this as the feature set certainly makes it sound as if it can, see http://www.tp-link.gr/faq-1220.html for an example.
    Yes, the switches with routing function support inter-VLAN routing. This is how you configure it:

    1) Create VLAN interfaces and assign IP addresses to the interfaces.
    2) Use the interface's IP address of the VLAN as the gateway for the corresponding subnet on connected devices.
    3) Enable a dynamic routing protocol or create static routes on the switch for the VLANs.

    For example:

    Switch A handles VLAN 10, subnet 192.168.1.0/24, switch B handles VLAN 20, subnet 192.168.3.0/24, both switches are connected through VLAN 30, subnet 192.168.2.0/24.

    1) On switch A, create both VLANs 10 and 30:

    Code:
    Switch_A#configure
    Switch_A(config)#interface vlan 10
    Switch_A(config-if)#ip address 192.168.1.1 255.255.255.0
    Switch_A(config-if)#exit
    Switch_A(config)#interface vlan 30
    Switch_A(config-if)#ip address 192.168.2.1 255.255.255.0
    Switch_A(config-if)#exit
    2) Use the interface IP 192.168.1.1 (VLAN 10) of switch A as the gateway on connected devices.

    3) Create a static route to next hop 192.168.2.2 for subnet 192.168.3.0/24:

    Code:
    Switch_A(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
    Switch_A(config)#show ip route
    Codes: C - connected, S - static
     * - candidate default
    C 192.168.0.0/24 is directly connected, Vlan1
    C 192.168.1.0/24 is directly connected, Vlan10
    C 192.168.2.0/24 is directly connected, Vlan30
    S 192.168.3.0/24 [1/0] via 192.168.2.2, Vlan30
    Switch_A(config)#
    Configure switch B accordingly for VLANs 20 and 30.
    Last edited by R1D2; 07-27-2017 at 20:23.

  8. #8
    Great stuff. Thanks R1D2. That was new to me. It's the first T2600-Series-Switch after the 3424-Series. Thanks a lot.

  9. #9
    Members R1D2 is on a distinguished road
    Join Date
    Dec 2015
    Posts
    1,209
    You're welcome anytime, BusinessTux. Like your postings, too!

  10. #10
    Thanks for the assistance.

  11. #11
    It describes the encapsulation protocols used for routing between VLANs and provides some basic information about designing VLANs.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Copyright 1996-2017 TP-LINK Technologies Co., Ltd. All rights reserved.