LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2010, 08:44 AM   #1
ivanmacx
Member
 
Registered: Apr 2006
Location: Cambridge, UK
Distribution: Ubuntu Jaunty
Posts: 45

Rep: Reputation: 16
Fallback DHCP server


I have a home network, with an OpenWrt router operating successfully as DHCP server (using DNSMasq). I'm planning to install LinuxMCE on my main fileserver and in order for this to properly detect devices around the home it requires that it is the DHCP server. That would be fine except that I sometimes power down the fileserver (eg. when my in-laws sleep in the spare room where the server lives) and that would leave me with no DHCP which creates problems (when my in-laws want to get their laptop connected to the internet).

One answer is to get new in-laws which would be OK except that I'm still pretty keen on my wife.

Alternatively is there any way to set up a fallback DHCP server ie. the router would check if there's a functioning DHCP server on the network (ie. the fileserver) and if it gets no response it will serve DHCP addresses itself.
 
Old 04-08-2010, 11:53 AM   #2
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
I've never done it, but it looks like this is what you want. You'd have to replace dnsmasq's dhcp with the isc-dhcp on your openwrt box, but it's one of the packages you can get through 'opkg'.

Good luck.
 
Old 04-09-2010, 10:13 AM   #3
ivanmacx
Member
 
Registered: Apr 2006
Location: Cambridge, UK
Distribution: Ubuntu Jaunty
Posts: 45

Original Poster
Rep: Reputation: 16
Great, that looks like what I need, I will give it a try.

Thanks.
 
  


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
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Interpretation required for '(none) dhcpd: Sending on Socket/fallback/fallback-net' ttomsant Linux - Newbie 0 04-07-2009 02:31 PM
triple-homed ubuntu server proxy/router acting as a fallback gateway mhykgyver Linux - Networking 1 12-10-2007 05:42 PM
DHCP Fallback IP? Zylar Linux - Networking 6 06-01-2007 11:30 AM
DHCP Problems -- fallback solution ? introuble Debian 1 03-26-2006 08:55 PM

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

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