I have a switch in my room with 2 machines connected. There is another switch in another room connected to a DHCP server. One of the two machines in my room can access the network past the switch in my room and it gets its IP dynamically from the DHCP server from the other room.. However, the other machine in my room can't reach outside the network on the switch in my room.
The two machines in my room can ping each other fine.
The network is: 192.168.2.0 and the subnet mask is 255.255.255.0