How come you can use 1 switch for 2 network segments
Posted on 2012-03-31
I have three different boxes on each of them there are six virtual computers, three on ip 192.168.0.1 and three on 172.16.0.1. Inside each host box there are two virtual switches and they are attached to the same physical NIC card of the server
Machines on 192.168.0.1 segment need to see the other virtual computers in the same ip segment but located on the other two boxes and the same with the computers on the ip segment 172.16.0.1. They do not need to exchange date between ip segments.
Now I have only one switch, a cisco 3750, and three network cables, each server host have only one NIC. So I have the switch with three connections
How come you can use 1 switch for 2 network segments? Can the two IP segments travel on the same port at the same time? can the IP 192.168.0.1 see its own traffic only and the 172.16.0.1 can see its own ip traffic only as well?
Now, I tried to use VLAN on the switch and divide the ports but I couldn’t because it assumes that I use two physical network cables and I do not have but only one network cable per host server.
Any help will be appreciate