Shortround.net Articles

Ubuntu Network Server

Ubuntu

I wanted to build a good server for my network to handle all of my weird needs, but I also wanted to have a linux desktop, just incase. This is my series of articles detailing how I built my network server on a desktop install of Ubuntu.

Before We Get Started...

Since we are using the Desktop edition of Ubuntu, we need modify the way that networking is handled. For my system, eth0 is the network card facing the world and eth1 is the network card facing my private network.

Edit the /etc/network/interfaces file. Modify it so it looks like what I use below.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
    address 192.168.100.1
    netmask 255.255.255.0

By default, Ubuntu uses NetworkManager to set up the interfaces. The above settings force the system to set up networking during the start up process.

To have these settings take effect, run the following:

sudo invoke-rc.d networking restart

Table of Contents

This was posted on Wednesday, August 27, 2008 at 10:29. It is filed under Ubuntu.
It is licensed under the Creative Commons Attribution 3.0 Unported License. View the markdown for this article.