Internetverbinding delen met andere lokale computers
drakgw
Principes
Dit is zinvol als u een computer (3)
heeft met een internetverbinding (2), die ook met een lokaal netwerk (1)
verbonden is. U kunt computer (3) gebruiken als gateway om internettoegang
te geven aan de andere systemen (5) en (6) in het lokale netwerk
(1). Hiervoor moet de gateway twee netwerkkaarten hebben, de ene moet
verbonden zijn met het lokale netwerk en de tweede (4) met internet (2).
De eerste stap is: controleren of het netwerk en de internetverbinding zijn
ingesteld zoals beschreven in .
Gateway wizard
The wizard
U kunt deze tool op de commandoregel starten, door als root drakgw te typen.
offers successive steps
which are shown below:
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.
Configure the client
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.