How do I set up network sharing with four computers running Windows 7?
I have one dlink 8 port switch and a cablenet.
What do I need to do to set this up?
As rob suggested, make sure your PCs are all on the same subnet. Following that, If all the PCs are running Windows 7, the easiest way for you to enable connectivity between them, is by creating a Home Group. See this link for details about how:
To get all the computers on the Internet, you will need a router instead of (or in addition to) the network switch, since your cable modem probably only provides a single Internet IP address.
What's happening now is you're having a problem with network addressing--since there is no local DHCP server, the computers are probably auto-assigning themselves network addresses in the 169.254.x.x link-local IP address range. The easiest fix, as I mentioned earlier, is to install a router, which will provide DHCP, allowing all the computers to get IP addresses in the same subnet (i.e., they'll be able to see each other because they're now on the same street). Most routers have built-in 10/100 or gigabit switches, but if you want to use your existing gigabit switch, just plug one of the router's LAN (not WAN/Internet) ports into one of the ports on the gigabit switch.
If you just want the computers to see each other, you can try setting static IP addresses. There are specific private IP address ranges and subnets for home or private networks, but a common one is 192.168.x.x. I'd suggest using the following addresses just to see if you can get the computers to see each other:
And, of course, use the same subnet of 255.255.255.0 for all three computers. (FYI, this is the default subnet for Linksys routers.)
If you get this working and now want the computers to have Internet access, you may have to do some additional configuration and/or may have to change to a different IP address range. If you hook up a Linksys router (using its default settings) to your gigabit switch in the fashion I mentioned earlier, you can either switch all the computers to DHCP, or you can edit their settings so both the gateway and DNS server point to 192.168.1.1.
Your question is a bit low on detail and what you want to do depends on what you want to archive. Is that:
To solve 1):
To solve 2):
Do as 1) but also add network shares or set a homegroup. (See Pulse's answer)
To solve 3):
Configure the cable modem so that your internal network (as configured in 1) or 2) is in the same range as the cable modems IP. Then set the default gateway on the windows computers to that IP. For more details on how this works see http://serverfault.com/questions/49765/how-does-ipv4-subnetting-work
To solve 4):
If you have a switch with VLAN support: Enable that. This is not yet common with SoHO devices, so I am going to ignore this.
Else configure each of the windows 7 clients with its own distinct network and add several IPs to the cable modems NIC.
PC1 IP 192.168.10.1 Cable modem \ / PC2 IP 192.168.42.99 - [All connected] ---------- NIC with four IPs [to the switch] All four set as the PC3 IP 172.16.5.3-----/ / default gateway for / the relevant computer PC4 IP 10.99.4.7-------/
This question is unclear.
As is this. What is "a cablenet"? Internet via a cable? How, what kind of device. And more importantly, can you program that device. What are its capabilities.