Page 1 of 1

SOLVED: static ip question

Posted: Sun Jul 11, 2010 10:18 am
by jpod1977
first thing first thank you for such a great product.
i got it installed and working with the help of searching the forums and the wiki
but there is on thing i cant figure out how to do
i want to setup a DHCP reservation for two MAC address to use the same IP
I know that you can not have the same IP used at the same time.
the laptop uses 192.168.1.50 when on WiFi
when i plug it into the docking station it disables WiFi and connects to Wired LAN pulling a new IP i would like to get the wired to have the same IP so i can have port forwards the same (like uTorrent on port 41000) instead of having to reset these port every time
is this possible? in the dhcp deamon if so how?

Re: static ip question

Posted: Mon Jul 12, 2010 7:41 pm
by cpg
No, I think this is not possible/

However, without static IP assignments, if the DHCP lease is released properly and cleaned up, a modern OS would probably ask the same name, and Amahi would gladly give it out.

NOW, because this usually happens quickly, the old lease is usually in the caches and/or not released nicely by the OS, so a separate lease is probably given.

That's the way the DHCP server works. I have a similar issue. But then it's hard to control when this switch happens.

Re: static ip question

Posted: Mon Jul 12, 2010 8:14 pm
by cale250
If you really want a hack on your hands, try seeing if your ethernet adapter will do MAC spoofing (google it). That way, the server is none the wiser. ;)

Re: static ip question

Posted: Tue Jul 13, 2010 8:59 pm
by jpod1977
all right thanks for the info on mac cloning/spoofing will look into that, but now i have to find out how to restore a HDD. Damn new drive died 12 hours after buying/installing and puting into LVM

Re: static ip question

Posted: Tue Jul 13, 2010 10:29 pm
by jpod1977
Wow that was a close call. HDD was fine.. SATA cable when bad, a first for me.
the spoofing method works great. Thank you