LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-03-2011, 09:08 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
HughesNet is DHCP, My LAN is Fixed-IP (And I Don't Want to Change That)


For some time, I've had DSL and used Fixed-IP internally. I moved, no DSL, no cable, no nuthin' but dial-up and flaky cell-phone modem. Ugh. Along comes American Recovery and Reinvestment Act providing funding for making high-speed internet available to those of us in the boonies; no up-front or monthly equipment costs, affordable monthly changes, whoo-boy, that's for me. Installed, works, bada-boom, bada bing.

I have three servers, a network printer and a large format pen plotter that have all happily played together with fixed-IP for years connected via a Linksys BEFSR41 router and CAT-5 or CAT-6 cables and I do not want to screw around with DHCP (and the printer and plotter don't particularly like DHCP in any event). The servers talk to each other with SSH, their names and addresses are in /etc/host and all has been well with the world. DSL connected with PPPoE, HughesNet connects "automatically" to the modem with DHCP. I also have a switch available for additional LAN stuff as needed. Of course I had to do a hard reset of the router when setting up HugheNet (right back to infancy).

I do need to have DHCP enabled in the router for the limited occasions that a Winders thing gets connected to it (not my box, I don't mess with it).

Now, the actual question: is there any setting in the router that will enable fixed-IP, ignore DHCP leases unless the server is running DHCP (like a Winders box) and not bother me with screwy lease addresses that override my fixed-IP addresses? My servers are running Slackware 13.1, all configured with fixed-IP, all configured to "know" each other via /etc/hosts, /etc/resolv.conf has DNS Server address in it (and DHCP is not permitted to overwrite /etc/resolv.conf.

Any helpful advice is appreciated.
 
Old 02-03-2011, 10:14 AM   #2
z1p
Member
 
Registered: Jan 2011
Location: the right coast of the US
Distribution: Ubuntu 10.04
Posts: 80

Rep: Reputation: 23
Having a DHCP server on your network does not force you to have all dynamic IPs on your network. You can have a DHCP server up and running on your network and still use static IPs where you want.

You want to make sure that the static IPs you use are on the same subnet as the IPs being passed out by your router, but that they are not within the range of IPs that the DHCP server uses.

So, if your router is 192.168.1.1 and its DHCP server uses the range 192.168.1.100 through 192.168.1.254, then you would want to assign static IPs in the range of 192.168.1.2 through 192.168.1.99.

Hope this makes sense and helps.

-z1p
 
1 members found this post helpful.
Old 02-03-2011, 01:44 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Yup, it does make sense and does help, thank you.

That's pretty much what I've always done -- fixed-IP from xxx.xxx.1.2 through xxx.xxx.1.99. At one point the router decided (for whatever reason I do not know) to hand out xxx.xxx.1.100 to a server (running fixed-IP). A puzzlement, but may have had something to do with fiddling around setting up HughesNet, talking directly to the modem, who knows what. I know I need to do the pass-through port addresses for HTTP and SSH and, you know, those really want fixed-IP to not be bothersome.

So, I 'spect I'm good to go as is and thank you.

Thomas
 
Old 02-03-2011, 04:08 PM   #4
z1p
Member
 
Registered: Jan 2011
Location: the right coast of the US
Distribution: Ubuntu 10.04
Posts: 80

Rep: Reputation: 23
Quote:
Originally Posted by tronayne View Post
Yup, it does make sense and does help, thank you.

That's pretty much what I've always done -- fixed-IP from xxx.xxx.1.2 through xxx.xxx.1.99. At one point the router decided (for whatever reason I do not know) to hand out xxx.xxx.1.100 to a server (running fixed-IP). A puzzlement, but may have had something to do with fiddling around setting up HughesNet, talking directly to the modem, who knows what. I know I need to do the pass-through port addresses for HTTP and SSH and, you know, those really want fixed-IP to not be bothersome.

So, I 'spect I'm good to go as is and thank you.

Thomas
That is an odd one at it is the machine that initiate the IP assignment. Anyway, hopefully all works well. Just as a bit of an aside. Another option is static DHCP assignments. Not sure if you've run across it, but with it you can configure the systems on the network to use DHCP, but at the DHCP server assign specific IP address to specific MAC addresses. This is how I run my network. It allows me to assign specific IPs to systems I want, leave the rest dynamic and I get to administer the IPs at one point (the DHCP server). It also has the advantage that if I swap out the router and the new one defaults to a different subnet, everything still comes online even before I get a chance to assign IPs.

Best of Luck.

-z1p
 
Old 02-03-2011, 04:25 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Interesting. Never thought of doing that (but, as is, stuff is mumbling happily to each other) and may give it try when things cools down a little and I've got time to fiddle.

Thanks for the suggestion.
 
  


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
using Hughesnet with DynDNS microsoft/linux General 3 12-20-2006 11:12 AM
DHCP with fixed IPs alithenake Slackware 4 03-18-2005 09:02 AM
Fixed IP Address with DHCP dgreenbean Linux - Networking 9 09-19-2004 01:12 PM
Changing dhcp ip -> fixed ip Lakani Linux - Networking 0 05-05-2004 05:32 AM
Reasons to change fixed IPs in our Lan to DHCP? mfeoli Linux - Networking 1 02-02-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:48 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