Router and Gateway
The DNS is not the only one required to accomplish the connection to the server. Before it actually contacts the DNS, the client computer needs to know the door to get out. That door is known as gateway. Without the gateway, the connection will not be possible. The computer may actually look for the default local host, but the local host (127.0.0.1) is not the correct path to get out. That is the reason that whenever you declare values to the net card it needs to know all this information.
The information is given in two ways… static or dynamic. Static means you place the values manually and dynamic means it is assigned automatically by the remote server.
- Enter the default gateway IP address number and make sure it is enabled.
- Click on Accept.
- Click on Dismiss
- Click on Dismiss again
- Click on Quit
On figure 3.17, my gateway is the router, because the router is the actual door to the Internet (read chapter 2 routers). Note that you cannot assign that IP number to another host instead all hosts must have this number as its gateway if they are in the same subnet.
Once you click on Do it, the changes are saved. You can now reboot the system. At boot time you will see your network adapter (Bringing interface eth0 up …….OK)
Congratulations you successfully configured your network adapter.