Route between VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Route between VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Route between VLANs
Route between VLANs
2017-07-20 22:02:54
Model : T2600G-28MPS

Hardware Version :

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

ISP :

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
  0      
  0      
#1
Options
10 Reply
Re:Route between VLANs
2017-07-26 00:18:13
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.
  0  
  0  
#2
Options
Re:Route between VLANs
2017-07-26 19:41:53
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/details/cat-39_T2600G-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/details/cat-39_T3700G-28TQ.html.

Good luck.
Ulf
  0  
  0  
#3
Options
Re:Route between VLANs
2017-07-27 01:17:57
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.
  0  
  0  
#4
Options
Re:Route between VLANs
2017-07-27 19:02:29
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.
  0  
  0  
#5
Options
Re:Route between VLANs
2017-07-28 01:49:24
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.
  0  
  0  
#6
Options
Re:Route between VLANs
2017-07-28 04:20:58

BobSmith6668 wrote


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
[/CODE]

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)#
[/CODE]

Configure switch B accordingly for VLANs 20 and 30.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#7
Options
Re:Route between VLANs
2017-07-28 15:49:58
Great stuff. Thanks R1D2. That was new to me. It's the first T2600-Series-Switch after the 3424-Series. Thanks a lot.
  1  
  1  
#8
Options
Re:Route between VLANs
2017-07-28 18:03:02
You're welcome anytime, BusinessTux. Like your postings, too! :)
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#9
Options
Re:Route between VLANs
2017-07-29 19:49:33
Thanks for the assistance.
  0  
  0  
#10
Options
Re:Route between VLANs
2017-07-31 18:24:13
It describes the encapsulation protocols used for routing between VLANs and provides some basic information about designing VLANs.
  0  
  0  
#11
Options

Information

Helpful: 0

Views: 9566

Replies: 10

Related Articles