LinuxQuestions.org
Visit Jeremy's Blog.
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 06-29-2014, 11:07 AM   #1
pittendrigh
Member
 
Registered: Jun 2014
Posts: 32

Rep: Reputation: Disabled
dhcp file backup file server


I need some high-level guidance. Once I get the gist of the idea I will be able to figure out the low-level details myself (I hope).

I have 4 computers behind a netgear router, 1 Windows 1 Mac and two linux boxes. They all get their IP address (192.168.1.xxx) from a netgear router. I use one linux box for developing web sites. I want to use the other as a backup file server, for all other boxes on my little network.

I use rsync for disk to disk mirroring on linux boxes. And I also use rsync to copy files down from remote sites with fixed IP addresses. But on my lan every box gets a slightly variable dhcp IP address from the netgear router, depending on who boots first. So I don't know how to tell the backup server to pull from the other boxes....don't know which box is which, as it were.

Perhaps the backup server should become the dhcp server instead of the netgear router. But then I still don't know which other box is which. The only way I could see that working is if the other boxes pushed files to the backup server, where the backup server somehow, someway, always ended up with a fixed IP address like 192.168.1.2 (or what ever).

What am I missing? What is the high level description for how this can be made to work?

Last edited by pittendrigh; 06-29-2014 at 11:46 AM.
 
Old 06-29-2014, 11:43 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
the router probably has a way to assign static ip's to each pc/tablet/fone/... on your network.

also linux could be setup via network-manager to ask for the same ip each boot (i assume the same for windows/mac).
 
Old 06-30-2014, 06:28 AM   #3
pittendrigh
Member
 
Registered: Jun 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
the router probably has a way to assign static ip's to each pc/tablet/fone/...
Yes it does. I just needed a finger pointed in the right direction.

There is a trick however. The DHCP setup on the router assigns a range of numbers for random assignment to computers on the local subnet, which must be set large enough to accommodate the expected load (I'll never need more than a half a dozen. A law office might need 3 dozen IP addresses). Any fixed IP address (like 192.168.1.200) matched to a specific MAC address (for some routers anyway) must be OUTSIDE the random dhcp range. Now it works. I have a linux file server with two large disks all computers on my network can save to.

Ask and ye shall receive. Thank you.

Last edited by pittendrigh; 06-30-2014 at 10:39 AM.
 
  


Reply


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
file server backup! aloshiii Linux - Server 4 07-30-2012 06:55 AM
backup server ; network file system / ftp-server ? markus1982 Linux - Security 5 06-06-2007 05:15 PM
File server backup arhitecture zWaR Linux - General 1 03-28-2006 01:51 PM
Setting up File/DHCP server westverg Linux - Networking 2 01-30-2006 10:58 PM
File server backup strategy: best way? lhoff Linux - General 1 09-01-2001 10:24 PM

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

All times are GMT -5. The time now is 09:23 AM.

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