Bitcoin Forum

Bitcoin => Mining => Topic started by: mackminer on September 29, 2011, 02:41:28 PM



Title: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: mackminer on September 29, 2011, 02:41:28 PM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: rouhaud on September 29, 2011, 02:59:24 PM
if you are under windows
use cmd : ipconfig /all


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: Iyeman on September 29, 2011, 03:01:38 PM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: kirax on September 29, 2011, 04:03:19 PM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: mackminer on September 29, 2011, 05:26:26 PM
Draytek 2820n -  8)

Thanks for the instructions, set up now!  ;)


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: jjiimm_64 on September 29, 2011, 07:22:43 PM
good info,  I wonder if my old linksys will be able to implement this.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: MadHacker on October 02, 2011, 03:46:07 PM
using windows i reference my miners by name, not by IP.
so if the ip changes... i don't know... and don't care.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: mackminer on October 02, 2011, 07:16:05 PM
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?


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: MadHacker on October 02, 2011, 08:24:00 PM
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


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: jamesg on October 03, 2011, 01:20:40 AM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: DeathAndTaxes on October 03, 2011, 02:06:30 AM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: jjiimm_64 on October 03, 2011, 02:56:44 AM
I just dug thru my old router, no mac address to ip mapping.  :(


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: cicada on October 03, 2011, 03:18:59 PM
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.


Title: Re: Dynamic ip addresses on server farm - how do you manage changing ip's?
Post by: kirax on October 03, 2011, 03:29:21 PM
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.