ubuntu server 7.04 static ip

Asked by phil

I have ubuntu server 7.04 freshly installed. I need to make it use a static ip address on my LAN. I've tried searching around but so far found nothing that seems to work. There must be some config file somewhere to edit for this to work.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Ryan Kavanagh
Last query:
Last reply:
Revision history for this message
Best Ryan Kavanagh (ryanakca) said :

See interfaces(5) ... or edit /etc/network/interfaces...

Here's my config:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

Revision history for this message
phil (zootlewurdle) said :

This seems to work, thanks a lot.