Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th July 2008, 01:35
Carlo Gambino Carlo Gambino is offline
Junior Member
 
Join Date: Jul 2008
Location: Columbus, Ohio
Posts: 17
Thanks: 4
Thanked 0 Times in 0 Posts
Send a message via MSN to Carlo Gambino Send a message via Yahoo to Carlo Gambino
Default Setting static IP on Ubuntu 8.04 Server

I have been configuring this server and thought I had set the static IP by configuring /etc/network/interfaces:

Code:
# 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 dhcp
        address 192.168.1.199
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
But when I restart the nework, the IP is still assigned via DHCP. Is there something else I should be doing?
Reply With Quote
Sponsored Links
  #2  
Old 20th July 2008, 08:19
ralic ralic is offline
Member
 
Join Date: Jun 2008
Posts: 69
Thanks: 0
Thanked 11 Times in 11 Posts
Default

Code:
# The primary network interface
auto eth0
iface eth0 inet dhcp
        address 192.168.1.199
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
Change the dhcp to static.
Reply With Quote
The Following User Says Thank You to ralic For This Useful Post:
Carlo Gambino (21st July 2008)
  #3  
Old 21st July 2008, 16:50
Carlo Gambino Carlo Gambino is offline
Junior Member
 
Join Date: Jul 2008
Location: Columbus, Ohio
Posts: 17
Thanks: 4
Thanked 0 Times in 0 Posts
Send a message via MSN to Carlo Gambino Send a message via Yahoo to Carlo Gambino
 
Default

Thanks, ralic!

I knew something simple was standing in my way. I've been pushing myself to learn in so many different directions that I seem to be missing simple things.

Perhaps tis time to slow down a little!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
running TeamSpeak & Ventrilo Server on Ubuntu LTS 8.04 Desktop Edition nibbles Installation/Configuration 0 9th June 2008 05:25
On Ubuntu 8.04 LTS Server Setup chrisathowtoforge Technical 4 2nd June 2008 18:20
ISPconfig problem - The perfect server Ubuntu 8.04 charles HOWTO-Related Questions 5 20th May 2008 23:54
Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft flashback_pa HOWTO-Related Questions 2 23rd April 2008 17:11
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 13:58


All times are GMT +2. The time now is 17:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.