Die Internetverbindung mit anderen lokalen Rechnern teilen drakgw
Prinzipien Dies ist nützlich wenn Sie einen Computer (3) haben, welcher Zugriff auf das Internet (2) hat und zudem auch mit einem lokalen Netzwerk (1) verbunden ist. Sie können den Computer (3) als ein Gateway verwenden um den anderen Rechnern (5) und (6) in dem lokalen Netzwerk (1) auch Zugriff darauf zu geben. Hierfür muss das Gateway zwei Schnittstellen besitzen; die erste, z.B. eine Netzwerkkarte, muss mit dem lokalen Netzwerk verbunden sein und die zweite (4) eine Verbindung mit dem Internet (2). Der erste Schritt ist es nachzuprüfen, dass das Netzwerk sowie der Zugriff auf das Internet eingerichtet ist, wie es in dokumentiert ist.
Gateway-Assistent Der Assistent Sie können das Werkzeug über die Kommandozeile aufrufen, indem Sie drakgw als root eingeben. bietet folgende Schritte, welche unten angezeigt werden: If the wizard does not detect at least two interfaces, it warns about this and asks to stop the network and configure the hardware. specify the interface used for the Internet connection. The wizard automatically suggests one of the interfaces, but you should verify that what is proposed is correct. specify which interface is used for the Lan access. The wizard also proposes one, check that this is correct. The wizard proposes parameters for the Lan network, such as IP address, mask and domain name. Check that these parameters are compatible with the actual configuration. It is recommended that you accept these values. specify if the computer has to be used as a DNS server. If yes, the wizard will check that bind is installed. Otherwise, you have to specify the address of a DNS server. specify if the computer is to be used as a DHCP server. If yes, the wizard will check that dhcp-server is installed and offer to configure it, with start and end addresses in the DHCP range. specify if the computer is to be used as a proxy server. If yes, the wizard will check that squid is installed and offer to configure it, with the address of the administrator (admin@mydomain.com), name of the proxy (myfirewall@mydomaincom), the port (3128) and the cache size (100 Mb). The last step allows you to check if the gateway machine is connected to printers and to share them. You will be warned about the need to check the firewall if it is active.
Client konfigurieren If you have configured the gateway machine with DHCP, you only need to specify in the network configuration tool that you get an address automatically (using DHCP). The parameters will be obtained when connecting to the network. This method is valid whatever operating system the client is using. If you must manually specify the network parameters, you must in particular specify the gateway by entering the IP-address of the machine acting as the gateway.
Stop connection sharing If you want to stop sharing the connection on the Mageia computer, launch the tool. It will offer to reconfigure the connection or to stop the sharing.