Hello! I am wondering if anyone could validate if my network design is possible to implement.
- I have a modem connected to the WAN port on a regular router. The router gets a public IP from the modem, has a LAN IP of 192.168.0.1/24, and then through internal DHCP server it hands out 192.168.0.[2-255] to devices connected to its LAN ports. I plugged in my laptop to the LAN port, my laptop gets an IP of 192.168.0.2, and it can access the internet. Sweet!
- I have another router that runs Cisco IOS with 3 ports (ETH0/ETH1/ETH2). ETH0 is connected to one of the LAN ports on the first router. I assigned 192.168.10.1/24 to ETH1, 192.168.20.1/24 to ETH2 via Cisco IOS, and did nothing to ETH0.
- I have two switches, the first switch is connected to ETH1, the second switch is connected to ETH2.
- I have 4 devices (A,B,C,D) with the following configurations:
Device A connected to the first switch, with IP=192.168.10.10/24, GW=192.168.10.1, DNS=192.168.0.1
Device B connected to the second switch, with IP=192.168.20.10/24, GW=192.168.20.1, DNS=192.168.0.1
Device C connected to the second switch, with IP=192.168.20.11/24, GW=192.168.20.1, DNS=192.168.0.1
Device D connected to the second switch, with IP=192.168.20.12/24, GW=192.168.20.1, DNS=192.168.0.1
I have never used Cisco IOS, thus I am not familiar with its capabilities. Is it theoretically possible to configure the Cisco router in such a way that all 4 devices can access the internet (I assume I need to configure NAT?), and that the router can route traffics between the two switches, with the exception that I want to block traffic between Device A and Device B? Do you see anything fundamentally wrong with the above configurations?
Thank you in advance!
- I have a modem connected to the WAN port on a regular router. The router gets a public IP from the modem, has a LAN IP of 192.168.0.1/24, and then through internal DHCP server it hands out 192.168.0.[2-255] to devices connected to its LAN ports. I plugged in my laptop to the LAN port, my laptop gets an IP of 192.168.0.2, and it can access the internet. Sweet!
- I have another router that runs Cisco IOS with 3 ports (ETH0/ETH1/ETH2). ETH0 is connected to one of the LAN ports on the first router. I assigned 192.168.10.1/24 to ETH1, 192.168.20.1/24 to ETH2 via Cisco IOS, and did nothing to ETH0.
- I have two switches, the first switch is connected to ETH1, the second switch is connected to ETH2.
- I have 4 devices (A,B,C,D) with the following configurations:
Device A connected to the first switch, with IP=192.168.10.10/24, GW=192.168.10.1, DNS=192.168.0.1
Device B connected to the second switch, with IP=192.168.20.10/24, GW=192.168.20.1, DNS=192.168.0.1
Device C connected to the second switch, with IP=192.168.20.11/24, GW=192.168.20.1, DNS=192.168.0.1
Device D connected to the second switch, with IP=192.168.20.12/24, GW=192.168.20.1, DNS=192.168.0.1
I have never used Cisco IOS, thus I am not familiar with its capabilities. Is it theoretically possible to configure the Cisco router in such a way that all 4 devices can access the internet (I assume I need to configure NAT?), and that the router can route traffics between the two switches, with the exception that I want to block traffic between Device A and Device B? Do you see anything fundamentally wrong with the above configurations?
Thank you in advance!