LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-21-2008, 08:37 PM   #1
vertigo12369
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.

Thanks!
 
Old 02-21-2008, 09:38 PM   #2
TomaCzar
Member
 
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!!

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

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
  


Reply



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 05:09 PM
Static vs Dynamic IP Address Question amcmahon Linux - Networking 3 06-14-2007 10:24 AM
Php Coding Question: Static Functions joelhop Programming 2 08-09-2006 11:17 AM
DHCP static ip and NAMED (DNS) question Yaniv-Fer Linux - Networking 4 03-29-2006 06:55 AM
Static IP Question Gerardoj Linux - Networking 5 11-02-2003 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 PM.

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