Hi, help set up the network :(. He stretched the locale, set the hub, wrote the IP addresses, set up the modem, and refused to work on the Internet. Although computers see each other. The question is how to connect 11 computers to one main point so that the Internet is at all 11 te computers. Thanks in advance.

    3 answers 3

    There is probably an Internet connection on the Main Computer itself. In the properties of this connection to the Internet on the "Advanced" tab there is "Connection Sharing" where you need to select the required LAN connection (if there are several). In the properties of the Local Area Connection on other PCs, specify the ip-address of the Main Computer itself as a gateway. DNS - either provider or Google 8.8.8.8 (or both can be specified). This is if you want all traffic to go through one PC (for example, to collect statistics, view channel traffic, etc.). If you have Internet via an ADSL modem or another router (for example, sapido rb-1632), then when you turn it on in the LAN, you only need to specify its ip-address as a gateway. Recommendations are given for windows. If you have another OS, please specify.

      The simplest thing is to buy, install and configure a router (router). If there is a desire to make a router out of a computer, then two network cards are necessary for it. And further depends on the OS, what is on it. If Linux - then configure masquerading (NAT) in iptables. If Windows - then we establish a bridge between network connections.

      • Network Bridge? To connect a local network with the Internet? You are joking? - sergarcada
      • Put to connect to the Internet "Allow other network users to use the Internet connection of this computer." Perhaps it would be more correct. According to modern. It used to be "Bridge type connection" (for win2000). - Vladimir 1
      • It's still a little bit different stuff. The network bridge connects two networks. Any PC from Network 1 is available to any PC from Network 2 and vice versa. "Allow other users on the network ..." is already a NAT translation, accessing any PC from network 1 to any PC behind NAT from network 2 just won't work. - sergarcada

      If the provider provides you with a dynamic ip, then you only need to put "automatic DHCP" in the connection settings and simply pass the twisted pairs on the subsequent machines (ip should be automatically registered in this case) with static connection on the switch, set the addresses as you like, the main thing is that the main cable I stood in the cell at number one and was registered as 192.168.0.1, the next ones are incrementing 192.168.0.2, 3, 4, 5, etc. (do not forget to specify the DNS) In many respects everything depends on the equipment and OS: we build the local network | network do it yourself

      • one
        Are you sure about your words? I can assure you that you made a mistake in at least half of your answer .--------- The provider’s internal network (the one behind the modem) has no relation to the DHCP .------- - In what sequence to connect the cable does not play any role. The switch is such a stupid box that only executes a simple algorithm by matching the MAC addresses and the numbers of its ports. It is not configurable. - Dex
      • Well, if half the answer makes sense ... I didn’t catch the meaning in this set of letters. The first link is still nothing, and the second one can be replaced by one sentence “Local networks exist” - sergarcada
      • @sergarcada, a small sense in simplifying the explanation in the second part of the answer is still visible, did not want to be so categorical. - Dex