VLAN and Routing with T2600G-52TS
VLAN and Routing with T2600G-52TS
Hi, we have TPLINK T2600G-52TS Managed Switch, we want to make 3 VLAN within it, vlan 1, 2 and 3,
Vlan 1 will contain port 1 to port 2, vlan 2 will contain port 3 to 14, and vlan 3 will contain port 15 to 48,
so, here're the promblems we are facing:
1. We have created vlan 1, 2 and 3 and assigned the desired ports to each vlan (we also removed the ports that vlan 2 and use from vlan 1), but it doesnot look like working.
we have created a network for each vlan, with several computers connected for each vlan, we have set the IP for each computer depending on the vlan where the computer is located. but the problem is, only vlan 1 functions and can communicate with other computers that are in vlan 1, while computers that are in vlan 2 and vlan 3 cannot communicate with other computers in the same vlan. we don't know why this happened. The networks we used are 192.168.0.0 (vlan 1), 129.168.1.0 (vlan 2), 192.168.2.0 (vlan 3). We also have attached an IP virtual Interface for each vlan, but again, only vlan 1 works. Please tell us why this happened.
2. This is actually a optional problem, in case we can solve problem number 1, is there any way to use static routing in T2600G-52TS to route 2 different vlan? for example we want to route vlan 2 to vlan 3.
Thank you, we hope you guys can guide us
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
From the configuration...
First off, it looks like you have not enabled ip routing, which is a global command (I didn't see it in the configuration):
Next you have these static routes configured:
#
#
ip route 192.168.0.0 255.255.255.0 192.168.1.30
ip route 192.168.1.0 255.255.255.0 192.168.0.1
#
<snip>
#
interface vlan 10
ip address 192.168.1.30 255.255.255.0
description "PublicGateway"
no ipv6 enable
ip helper-address 192.168.1.1
#
interface vlan 20
ip address 192.168.0.1 255.255.255.0
description "LocalGateway"
no ipv6 enable
#
Why do you have static routes for your two connected subnets pointing to each other? That doesn't make sense. Static routes are supposed to point to next hop routers, for reachability to networks that are not locally connected. The switch knows what is directly connected, and knows how to route between the directly connected networks (provided you enable IP ROUTING).
It looks like your VLAN 20 is the local VLAN, and 192.168.0.1/24 is the default gateway for machines on that network.
Then, it looks like your VLAN 10 is the public facing side, and connects to your router to get to the rest of the world?
So, you first of all need a default route on the switch:
ip route 0.0.0.0 0.0.0.0 192.168.1.1
Then, on your upstream router (the one with 192.168.1.1 configured on VLAN 10), you need a static route pointing to the next hop (which is the VLAN 10 interface on your switch):
ip route 192.168.0.0 255.255.255.0 192.168.1.30
Delete the two routing entries you have, and just add the default route to the switch, and the static route, on your upstream router, for your local network.
And what is the IP Helper 192.168.1.1 for?
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 6443
Replies: 11
Voters 0
No one has voted for it yet.