Monday, September 5, 2011

Network configuration with a minimal installation

I get a Server with a Debian 6.0.2 and minmal installation.
Because this he has no network connection and i have to edit all files with nano.

For a correct connection to the internet i edited the following files:

auto eth0
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static

In this way the local ip adress is and the gateway (in this case a router) is .
The ip-adress is in this case static, and with auth eth0 the connection is coming up automatic.

Then i add the nameserver to the

Then i edit the
route add -host eth0
route add gw

This add the route to the kernel routing table every time i boot.

No comments:

Post a Comment