Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2008, 09:37 PM   #1
LQ Newbie
Registered: Feb 2008
Location: Canton, MI
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
Static IP Question

Hello all,

I would like to set up a static IP for my server. I currently have a WRT-54GL router running DD-WRT acting as my DHCP server. Now, I can have the router set static IPs with a DHCP override, or I can update my interfaces and resolv.conf files to specify a static IP.

Which place makes the most sense? Should I update both areas?

I am running Ubuntu 7.10 server with the Xubuntu GUI.

Old 02-21-2008, 10:38 PM   #2
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Rep: Reputation: 15
I think that in the case described it is pretty much a 6 of one, half a dozen of the other situation however, traditional networking best practices would have you assign static IPs at the DHCP server as it is a single point of configuration (which matters a GREAT deal when you have more than one box) as well as remaining constant over CLIENT OS installs (which can also happen frequently in larger networks). Again, for what you describe, I believe you're safe with either one. Good luck!!

Old 02-21-2008, 10:56 PM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Configuring a static IP address for the interface (based on the MAC address) as you first suggested would have the advantage that the other information would be served by your DHCP server. For example, your ISP's DNS server addresses could change in the future. If you configure a samba server for WINS support, you could enter the WINS IP in the DHCP server. Your system may update your smb.conf using the /etc/samba/dhcp.conf script.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static IP address - port opening question notinthehead Linux - Networking 3 12-01-2007 06:09 PM
Static vs Dynamic IP Address Question amcmahon Linux - Networking 3 06-14-2007 11:24 AM
Php Coding Question: Static Functions joelhop Programming 2 08-09-2006 12:17 PM
DHCP static ip and NAMED (DNS) question Yaniv-Fer Linux - Networking 4 03-29-2006 07:55 AM
Static IP Question Gerardoj Linux - Networking 5 11-02-2003 10:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration