I have the following setup, using two standard cheap switches that are interconnected by a long Ethernet cable:
|------ SWITCH #1
| [ ] Equipment with public IP 217.x.x.101 (subnet 217.x.x.96/29)
| [ ] Equipment with private IP 10.0.0.1 (subnet 10.0.0.0/24)
| [ ] Free port
| [ ] Free port
| [ ] Free port
| [ ] Ethernet cable going to Switch #2
|------
^
|
|
v
|------ SWITCH #2
| [ ] Ethernet cable going to Switch #1
| [ ] Free port
| [ ] Free port
| [ ] Free port
| [ ] Equipment with private IP 10.0.0.2 (subnet 10.0.0.0/24)
| [ ] Router with public IP 217.x.x.102 (subnet 217.x.x.96/29) with internet access
Considering that:
- I do not need networks 10.0.0.0/24 and 217.x.x.96/29 to communicate between them, and I do not need 10.0.0.0/24 equipment to have internet access.
- I only need 10.0.0.1 and 10.0.0.2 can communicate between them; and 217.x.x.101 with 217.x.x.102 (and with internet access, through .102)
Is this setup "correct"? Will it work as expected?
From my very limited networks knowledge, I think there should be no problem with this setup, no need to use a managed switch or any high end equipment.