Expand/Merge two LANs in one

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

Expand/Merge two LANs in one

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Expand/Merge two LANs in one
Expand/Merge two LANs in one
2020-02-04 16:21:17 - last edited 2020-02-04 16:38:07
Hardware Version:
Firmware Version:
Good evening,
I purchased the Managed Switch in question, model TP-Link T2600G-52TS

I'll explain my need. There is a series of PCs located on the 192.168.10.x network
The 192.168.10.x network cannot be modified because it is tied to the proprietary router, they must be subclassed .10 and i cannot change from /24 to a /23 subnet mask, is forced to 255.255.255.0
The IPs of this network are finished, so I need to create a new subclass, hypothetically 192.168.11.x

My need is that this new subclass .11 can access the .10 network, at least at a couple of IP of that netwwork (Router for internet, Server and NAS)
In summary, the .11 network must be able to see the .10 network as if it were a "single network"

How can I proceed? Can you explain a step-by-step procedure?

Thanks

  0      
  0      
#1
Options
8 Reply
Re:Expand/Merge two LANs in one
2020-02-05 00:30:38 - last edited 2020-02-05 01:23:02

@G.Pane, there are several possible solutions depending on the devices you use, so for step-by-step instructions one would need much more details of your router, servers, NAS, network requirements, routing policy you want to implement etc.

 

If you want to use the L2+ switch to route between one network and another one, proceed as follows:

 

  • Create two VLANs for the two networks, e.g. VLAN 10 and 11.
  • Assign the switch an IP from the 192.168.10.0/24 nework, e.g. 192.168.10.250. To do so, see https://www.tp-link.com/de/support/faq/2122/
  • Set the default gateway for the switch to the router's IP 192.168.10.1 or whatever your router's IP is. See https://www.tp-link.com/us/support/faq/2123/
  • Create a VLAN interface for VLAN 11 and assign it an IP from the 192.168.11.0/24 network, e.g. 192.168.11.250.
  • Set up a routing protocol or add static network routes for VLAN 11 (192.168.11.0/24) on all devices in VLAN 10 (192.168.10.0/24) which need to communicate with devices in VLAN 11. The next hop will be the switch's VLAN IF 192.168.10.250.
  • Set the switch's VLAN IF 192.168.11.250 as the default gateway for the devices in VLAN 11 needing to access devices in VLAN 10.

 

With this scheme Inter-VLAN routing is done by the switch, while traffic to all unknown destinations will be forwarded to the switch's default gateway (the router).

 

Another possible solution is to use the router for Inter-VLAN routing. But the router needs to support VLANs and multiple subnets to do so.

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#2
Options
Re:Expand/Merge two LANs in one
2020-02-05 08:58:03

@R1D2 

 

I'll try your L2+ solution and let you know. Thanks

  0  
  0  
#3
Options
Re:Expand/Merge two LANs in one
2020-02-05 10:44:59

@R1D2 

 

About the VLAN, can you explain the settings? It's a 802.1Q VLAN? Tagged or Untagged? Both? What port i need to use for the .10 and the .11?

Thanks

  0  
  0  
#4
Options
Re:Expand/Merge two LANs in one
2020-02-05 13:05:59

 

G.Pane wrote

About the VLAN, can you explain the settings? It's a 802.1Q VLAN? Tagged or Untagged? Both? What port i need to use for the .10 and the .11?

 

It depends on the devices you want to connect and the network topology.

 

If you want to connect standard PCs, servers, routers etc. you use untagged VLANs. Every VLAN is always 802.1Q, there are no other types of VLANs – even Protocol-based VLANs or MAC-based VLANs are 802.1Q. You can use standard VLANs with fixed assignments per port.

 

I recommend to study the T2600G User's Guide, there are many application examples for almost any use case.

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#5
Options
Re:Expand/Merge two LANs in one
2020-02-05 16:56:43 - last edited 2020-02-05 17:01:53

@R1D2 

PC in the .11 network, some printer maybe, nothing exceptional.

 

I have some problem with this two points:

 

Set up a routing protocol or add static network routes for VLAN 11 (192.168.11.0/24) on all devices in VLAN 10 (192.168.10.0/24) which need to communicate with devices in VLAN 11. The next hop will be the switch's VLAN IF 192.168.10.250.

Set the switch's VLAN IF 192.168.11.250 as the default gateway for the devices in VLAN 11 needing to access devices in VLAN 10.

 

Can you explain me how i can do it? Destination, Next Hop, Distance, i have try but not work. I have try different ways. Check the attachment

Thanks

 

P.S. On port 1 have connetect the cable from the router, the .10 network. On the same port i have created the VLAN 10. On port 2 i have created the VLAN 11. Is right?

File:
img.pngDownload
  0  
  0  
#6
Options
Re:Expand/Merge two LANs in one
2020-02-05 17:53:36

@G.Pane,

 

first, to use the switch for routing in VLAN 11, all devices of VLAN 11 must be connected to the switch, else Inter-VLAN routing on the switch does not make sense, but should happen on your router instead.

 

Secondly, the switch setup is screwed up. You have two default routes (0.0.0.0) and two network routes for 192.168.10.0. This can't work.

 

I guess your existing network and router already use other switches, right? Is the router VLAN-aware? If not, how do you plan to handle the 192.168.11.0 network on the router? Or don't you need Internet on the devices in the 192.168.11.0 network at all? There are just too many unknown things to be able to help you setting up a switch.

 

I think it is best if you post a plan for the intended network topology first (and please include pictures in your post using the »image« button in the editor when writing the post, do not append them as files).

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#7
Options
Re:Expand/Merge two LANs in one
2020-02-05 19:38:42 - last edited 2020-02-05 19:54:57

@R1D2 

 

I'll expalin better as i can. This is the actual confuguration, simplified

 

Since i have Printers, PCs, Phone, NAS, Laptops, WIFI, on the same network. My IP are over. For the reason (that i have already explain) the only things i can do is move the PCs to another network. But they need to communicate with the "old" network. Like in this way, more or less:

 

Or directly on the TPLINK (but i think is better to use another switch on every port)

 

Anyway, so i can have 253 PCs on a network and 253 Device (Printer, NAS, Phones, Server, WIFI etc.) on another one, finally. But i need the PC on the .11 can communicate with .10, with the NAS, with the Server (Samba Folders) and the Printers

 

I need internet on both LAN. I don't need the DHCP on network .11, i can also put the IP manually and static if is not possible with the actual configuration, i don't know. The router do the DHCP on the .10 but i can disable it if create problem

 

I'll hope is all clear now.

Thanks again for your help

 

 

 

 

 

  0  
  0  
#8
Options
Re:Expand/Merge two LANs in one
2020-02-05 21:34:48 - last edited 2020-02-05 21:57:32

 

G.Pane wrote 

I need internet on both LAN.

 

This is the important point: If you need Internet on both LANs, you need either two routers or a router which can handle two networks.

 

You could use:

  1. two separate »dumb« Internet routers for the 192.168.10 and 192.168.11 networks each,
  2. or use one Internet router for both networks if the router is able to handle two networks itself,
  3. or use one Internet router for 192.168.10 network and a router between the 192.168.11 and 192.168.10 networks,
  4. or use one Internet router for both networks 192.168.10 and 192.168.11 and routing between the networks on the T2600G switch.

 

Requirements:

Method 1) is the easiest way, but needs two Internet uplinks. Routing between the .10 and .11 networks can be done on the T2600G switch.

Method 2) requires a router which lets you create two network interfaces and can handle Multi-Nets NAT. If it is VLAN-aware, the better.

Methods 3) and 4) need a router which lets you define network routes.

 

Since you wrote your router doesn't let you change the subnet mask because it is proprietary, it almost certainly does not meet any of the requirements in 2) to 4) above, right?

 

So, I'm sorry to say that IMO you cannot extend a network which is limited to a single /24 network on the existing Internet router already, except if you add a second router with NAT capabilities between the .10 and .11 networks as a variant of method 3), but then you will have very limited accessibility from the .10 to the .11 network by using port forwarding on the second router for some selected services only.

 

Maybe another user in this forum has a better idea how to solve this problem better.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#9
Options

Information

Helpful: 0

Views: 1539

Replies: 8

Related Articles