Author

Topic: Dynamic ip addresses on server farm - how do you manage changing ip's? (Read 2530 times)

member
Activity: 77
Merit: 10
I have an old eeePC netbook running dhcp and netboot for all my miners.  The MAC address to hostname/static ip mapping in ISC dhcpd is a cakewalk, and has no limitation on the number of mappings you can make.  The miners get their hostname from the dhcp server as well, so I can reference them by name or by ip.

The netbook pulls about 11W and has its own battery backup, and the miners don't need any local storage at all.  A couple edits to the boot server and I can have a new miner up and running in minutes.

If your router for some reason will not let you assign static IP's, or for some reason caps out at 20 (I would have thought better of cisco, but I guess they want you to buy the next biggest one...), then a netbook, old pentium type machine, etc will make a fine router. There are a few linux distros just for this sort of thing, the one I used ages ago was smoothwall.
full member
Activity: 196
Merit: 100
I have an old eeePC netbook running dhcp and netboot for all my miners.  The MAC address to hostname/static ip mapping in ISC dhcpd is a cakewalk, and has no limitation on the number of mappings you can make.  The miners get their hostname from the dhcp server as well, so I can reference them by name or by ip.

The netbook pulls about 11W and has its own battery backup, and the miners don't need any local storage at all.  A couple edits to the boot server and I can have a new miner up and running in minutes.
legendary
Activity: 1876
Merit: 1000
I just dug thru my old router, no mac address to ip mapping.  Sad
donator
Activity: 1218
Merit: 1079
Gerald Davis
You should look into dd-wrt.  It is an open source router project.  Has tons of features (including unlimited IP reservation).

Many (but not all) routers can be flashed w/ dd-wrt firmware.  There are other open source router programs but dd-wrt is the grandfather.

An alternative solution is to get a cheapo linux box and run a custom router distro.  Even a entry level board w/ onboard video, 1GB of ram, sempron CPU and flash drive blows away any off the shelf router.  It is easier if you find a board with dual network but if not you can always install a PCIe 1x NIC.
vip
Activity: 1358
Merit: 1000
AKA: gigavps
Use reservations in the router so that the same MAC's get the same IP's every time. Easier to do that then assign statics to each machine. Basically the same thing but easier to implement.

My Cisco wrv210 router only allows for 20 reservations. Is there anyway to get around this limitation. I will soon have more that 20 rigs and dymanic were a big PITA until recently.
full member
Activity: 235
Merit: 100
using windows i reference my miners by name, not by IP.
so if the ip changes... i don't know... and don't care.

I'm looking for settings to do this on my Draktek router. How have you implemented this, via a computer service?
this is a built in option that is by default enabled when you install windows... since windows 95
what ever you name your computers, is what u can use instead of their IP address
sr. member
Activity: 348
Merit: 251
using windows i reference my miners by name, not by IP.
so if the ip changes... i don't know... and don't care.

I'm looking for settings to do this on my Draktek router. How have you implemented this, via a computer service?
full member
Activity: 235
Merit: 100
using windows i reference my miners by name, not by IP.
so if the ip changes... i don't know... and don't care.
legendary
Activity: 1876
Merit: 1000
good info,  I wonder if my old linksys will be able to implement this.
sr. member
Activity: 348
Merit: 251
Draytek 2820n -  Cool

Thanks for the instructions, set up now!  Wink
member
Activity: 77
Merit: 10
Use reservations in the router so that the same MAC's get the same IP's every time. Easier to do that then assign statics to each machine. Basically the same thing but easier to implement.

This. And, since you set it by MAC address, if you have to wipe network settings, try a new OS, etc, they still get the same IP... and a good router means it is all a handy list all in one place.
sr. member
Activity: 1183
Merit: 251
Use reservations in the router so that the same MAC's get the same IP's every time. Easier to do that then assign statics to each machine. Basically the same thing but easier to implement.
hero member
Activity: 888
Merit: 571
Payer sa baguette en BTC, c'est possible
if you are under windows
use cmd : ipconfig /all
sr. member
Activity: 348
Merit: 251
Hi,
I rebooted two machines last night and their ip's changed. I had to go into the router to find the new IP's, otherwise it would have been a subnet ping. How have people got around this issue or should I just use static?

Thanks a mill.
Jump to: