05-06-2016, 12:49 PM
(This post was last modified: 05-06-2016, 01:06 PM by torreydale.)
glin22,
It would seem to me that you would just leave off the gateway address on the computers you don't want to access the Internet.
You can have all 4 computers on the same class C network connected to the switchports (ie. Ethernet ports) of the same router. But for the 2 computers you don't want going to the Internet, just statically configure their network settings for the same Class C network, and leave off the gateway address. In other words, for the 2 computers you don't want to access the internet, you only need to configure their IP address and subnet mask. Do not configure any DNS Server entries or the Gateway IP address.
The Gateway address (ie. the router's IP address) is the gateway, or the doorway, to the Internet. Without that doorway, those 2 computers have no path to the Internet. But with the IP addresses and subnet masks configured, they will be able to communicate with devices on that local class C network only, which is what you say you want.
Cheers.
It would seem to me that you would just leave off the gateway address on the computers you don't want to access the Internet.
You can have all 4 computers on the same class C network connected to the switchports (ie. Ethernet ports) of the same router. But for the 2 computers you don't want going to the Internet, just statically configure their network settings for the same Class C network, and leave off the gateway address. In other words, for the 2 computers you don't want to access the internet, you only need to configure their IP address and subnet mask. Do not configure any DNS Server entries or the Gateway IP address.
The Gateway address (ie. the router's IP address) is the gateway, or the doorway, to the Internet. Without that doorway, those 2 computers have no path to the Internet. But with the IP addresses and subnet masks configured, they will be able to communicate with devices on that local class C network only, which is what you say you want.
Cheers.
Want to thank me? Click my [Thank] link.