I want to share a FO/Internet connection among three separate small offices.
Internet provider modem/router has LAN 192.168.1.0/24, with its gateway at 192.168.1.1 and serving IPs (192.168.1.100-200) via DHCP to all its LAN PORTS.
|CPE INTERNET PROVIDER|----- 192.168.1.1
I would like to serve the following separate subnetworks:
NETWORK 2 ETH ----- 192.168.2.0/24 (DHCP RANGE 192.168.2.100-192.168.2.200)
NETWORK 3 ETH ----- 192.168.3.0/24 (DHCP RANGE 192.168.3.100-192.168.3.200)
NETWORK 4 ETH ----- 192.168.4.0/24 (DHCP RANGE 192.168.4.100-192.168.4.200)
I am thinking in the following setup, with either a Ubiquity EdgeRouter or a SMB Cisco:
__________________________________________
| CPE INTERNET PROVIDER |
| 192.168.1.1 |
| /16 |
|__________________________________________|
.
.
.
__________________________________________
| 192.168.1.2 |
| /16 |
| WAN PORT1 |
| |
| CISCO OR UBIQUITI |
| |
| LAN PORT2 LAN PORT3 LAN PORT4 |
| 192.168.2.1 192.168.3.1 192.168.4.1 |
| /24 /24 /24 |
| (VLAN2) (VLAN3) (VLAN4) |
|__________________________________________|
. . .
. . .
. . .
. . .
SUBNETWORK2 SUBNETWORK3 SUBNETWORK4
- configuring the Internet CPE modem/router LAN to 192.168.1.0/16.
- disable DHCP in that CPE.
attach a Cisco SMB RV325 or a Ubiquiti EdgeRouter, with:
a) its WAN interface configured to 192.168.1.2/16
b) VLAN2 configured in LAN Port 2 with network 192.168.2.0/24
c) VLAN3 configured in LAN Port 3 with network 192.168.3.0/24
d) VLAN4 configured in LAN Port 4 with network 192.168.4.0/24
e) DHCP Pool configured in LAN Port 2 with IP Range 192.168.2.100-192.168.2.200
f) DHCP Pool configured in LAN Port 3 with IP Range 192.168.3.100-192.168.3.200
g) DHCP Pool configured in LAN Port 4 with IP Range 192.168.4.100-192.168.4.200
LAN ETH ports 2,3,4 would serve via ethernet cables the small offices, where a regular switch at the ends would allow connect all devices.
My doubts are:
- does this setup make sense?
- Do CISCO SMB RV325 or Ubiquiti EdgePro allow to configure separate DHCP pools per VLAN/PORT?
- How do I ensure that VLANs/subnetworks are not reachable between them?
Thanks,