- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Connecting two routers, two ISPs, two subnets
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have two gateway routers with DHCP and their own ISP, and a GS724Tv4 smart switch. How would I set the network up so that the subnets 192.168.1.xx can communicate with 192.168.2.xx and vice versa?
DHCP must be enabled on both routers. When a device is connected to either Router A or Router B they must only connect to their respective ISP. Is it possible to have them in the same subnet with non-overlapping DHCP request ranges? If so, will devices always receive the correct gateway when joining on either router?
I have an additional WNR3500L with Fresh Tomato (2019.4) installed that can be used to connect between the ISP routers if necessary if the layer-3 lite features are not enough.
Physical connections:
- Router A is connected to port 1 on subnet 192.168.1.xx (devices are wirelessly connected, like PC 1)
- Router B is connected to port 2 on subnet 192.168.2.xx (devices are wirelessly connected, like PC 2)
- An additional workstation (not shown in the diagram) is connected to port 3 (call it PC 3)
VLan config:
- Ports 1 and 2 are members of VLan 10 (untagged)
- Ports 1 and 3 are members of VLan 20 (untagged)
PVID config:
- Port 1 is set to PVID 10
- Port 2 is set to PVID 10
PC 3 should only receive an internet connection from Router A (and DHCP IP assignment), but still communicate to devices in Router B.
I can't seem to insert an image, so the diagram is in the attachment download.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Vaungo wrote:Physical connections:
- Router A is connected to port 1 on subnet 192.168.1.xx (devices are wirelessly connected, like PC 1)
- Router B is connected to port 2 on subnet 192.168.2.xx (devices are wirelessly connected, like PC 2)
- An additional workstation (not shown in the diagram) is connected to port 3 (call it PC 3)
VLan config:
- Ports 1 and 2 are members of VLan 10 (untagged)
- Ports 1 and 3 are members of VLan 20 (untagged)
PVID config:
- Port 1 is set to PVID 10
- Port 2 is set to PVID 10
Forget that assymetric VLAN stuff - do _not_ overload ports with untagged VLANs.
Configure two dedicated VLANs,
- ports which have to be used with [U]ntagged VLAN 10 put to PVID 10,
- ports to be used with [U]ntaggded VLAN 20 put to PVID20,
- ports which re inteded for VLAN trunking, e.g. for a VLAN aware wireless access point, a trunk t another vlan capable switch run all* ports as [T]agged. * one VLAN can be set untagged as shown above
If this does work accordingly, head to the fine user manual, p.152 ff. Configure VLAN Routing
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Vaungo wrote:Physical connections:
- Router A is connected to port 1 on subnet 192.168.1.xx (devices are wirelessly connected, like PC 1)
- Router B is connected to port 2 on subnet 192.168.2.xx (devices are wirelessly connected, like PC 2)
- An additional workstation (not shown in the diagram) is connected to port 3 (call it PC 3)
VLan config:
- Ports 1 and 2 are members of VLan 10 (untagged)
- Ports 1 and 3 are members of VLan 20 (untagged)
PVID config:
- Port 1 is set to PVID 10
- Port 2 is set to PVID 10
Forget that assymetric VLAN stuff - do _not_ overload ports with untagged VLANs.
Configure two dedicated VLANs,
- ports which have to be used with [U]ntagged VLAN 10 put to PVID 10,
- ports to be used with [U]ntaggded VLAN 20 put to PVID20,
- ports which re inteded for VLAN trunking, e.g. for a VLAN aware wireless access point, a trunk t another vlan capable switch run all* ports as [T]agged. * one VLAN can be set untagged as shown above
If this does work accordingly, head to the fine user manual, p.152 ff. Configure VLAN Routing