How to setup separate network

ReneTS

Reputable
Apr 23, 2015
33
0
4,530
I would like to setup a separate network for a little lab, but I cannot understand how it is done. From what I have gathered I shall start by creating a different IP address for my second router, and give it a different subnet, but how is this done? I can't enter the web interface of the second router, as it is the same address as the first one. So if anyone has a detailed guide on how it is done, it will be much appreciated.
 
Solution
If you nest your routers the last router will behind a NAT from the first one. So the first (guest) one can't make connections to it.
You will be able to access the first router from the last one. This isn't true separation, but it will keep their layer 2 stuff separate.
To do this you just need to change the DHCP server ip range to another subnet and change the web admin/ gateway to be in that range. 192.168.X.0/24 The X needs to be different in each subnet.

A Layer 3 switch (VLANs) can properly setup multiple subnets with firewall and routing rules. These are fairly expensive and will take some time to figure out how to configure with no prior experience.

A VLAN capable router and two unmanaged switches isn't very expensive, which...
You can't have two devices on same IP address - as simple as that.
- Start with a freshly-reset second router, and a single PC connected to it over Ethernet;
- Configure second router as you like
- Connect the WAN port of the second router to a LAN port of primary one
- Done
 

ReneTS

Reputable
Apr 23, 2015
33
0
4,530
I can see I can´t connect to the internet when connecting a cable from one of the LAN ports of my main router to the WAN port of my second router. I can´t even access the web interface of the router. Anyone knows what is wrong?
 
Fresh reset of the router. Connect with Ethernet cable. Refer to router' manual how to enter the Web interface.

Connect the WAN port to LAN port of the main router. Proceed with the setup in the same way as you would do if this router was a main router - now your main router is acting as an ISP for the second router.
 
If you nest your routers the last router will behind a NAT from the first one. So the first (guest) one can't make connections to it.
You will be able to access the first router from the last one. This isn't true separation, but it will keep their layer 2 stuff separate.
To do this you just need to change the DHCP server ip range to another subnet and change the web admin/ gateway to be in that range. 192.168.X.0/24 The X needs to be different in each subnet.

A Layer 3 switch (VLANs) can properly setup multiple subnets with firewall and routing rules. These are fairly expensive and will take some time to figure out how to configure with no prior experience.

A VLAN capable router and two unmanaged switches isn't very expensive, which will be more cost effective if you only need two subnets. Anymore and the switch is better. I'm pretty sure the edgerouter X is VLAN capable. It's $50. double check this.

Getting one wifi device to broadcast two subnets is much more complicated. This requires 802.11q trunking on the wifi device and the router or switch it's connected to.
 
Solution