This may be a very basic question, but I'm a networking newbie. So I have the following setup:
- Server with one NIC on IP 192.168.10.1/24 (Network A). It is not possible to change this IP.
- Computer A with two NICs: 192.168.10.11/24 (Network A) and 192.168.1.11/24 (Network B)
Now I want to add Computer B which must be able to talk to the Server on Network A but also must be available in Network B. Since the server in Network A has only one NIC, I can not just simply connect it via cable as I did with Computer A.
So my idea is:
- Connect the Server and both Computers to a Layer 3 switch
- Put Server and Computers on same VLAN and enable VLAN trunking
In my understanding of VLANs, it should now be possible for both computers to talk to the server but they should still be on Network B. This way, no routing would be needed because communication flows on OSI layer 2.
Is this possible or do I need a routing solution?