IP conflicts with Amahi's DHCP

Lincee
Posts: 73
Joined: Sat Jul 04, 2009 3:34 pm
Location: Arnhem, NL
Contact:

IP conflicts with Amahi's DHCP

Postby Lincee » Sat Nov 28, 2009 3:53 pm

Hello,

It apears amahi has some problems, mostly with Windows clients.
When you assign a static IP to a computer, and that computer is not connected, DHCP gives that same IP out to other clients who connect.
thus resulting in an IP Conflict when the rightfull Client connects.

So far this has not happened on Linux, only on Windows.
LANTEA: Amahi 7 (vm), HP Proliant Microserver, 8GB RAM, 2x 1TB HDD, 1GB eth

ichat
Project Manager
Posts: 25
Joined: Sun Sep 20, 2009 6:48 am
Location: Netherlands (the)

Re: IP conflicts with Amahi's DHCP

Postby ichat » Sat Nov 28, 2009 4:03 pm

Do not fix,

its a flaw where windows doesn't follow the 'proper' authentication sheme for dhcp 'this is probably because windows server automaticaly 'restricts' access to that IP lease 'thus expluding it from the 'scope'

the best way to fix would be to remove the 'make this a fixed ip' button from your dcpd pannel (if you want you should create a fixed-ip-wizzard, just outside your dynamic scope...

ie: 192.168.1. 10-50 for static ip's ) and 50 - 240 for dynamic...
Amahi Roadmap and Project managment:
Even though im considered to be an IT Specialist,
you shouldn't ask me linux (command) specific questions,
for in general i'm only able to help with more generic problems.

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: IP conflicts with Amahi's DHCP

Postby rampage537 » Sat Nov 28, 2009 4:06 pm

I have this issue, but shouldn't the DHCP reserve that IP address to that mac address and not give it out unless it matches that mac address?
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: IP conflicts with Amahi's DHCP

Postby cpg » Sat Nov 28, 2009 4:08 pm

can you guys provide details?

is the static ip in the 100-254 range?
maybe we should not allow static IP assignment in that range.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: IP conflicts with Amahi's DHCP

Postby rampage537 » Sat Nov 28, 2009 4:31 pm

I will give a little history, I use all static ip's in my house due to my firewall, for traffic shaping, content filtering, time access etc..
So I add the ip address and mac address per the static ip page on hda. If i bring a pc into that house that is not a on static it will grab first available address if i happen to start up a pc that has static already on I will often get a conflict. So it appears that for example i will have pc1 and pc2 with static ips. pc1 is on but pc2 is off, i will bring pc3 into the house (non static), I will start pc2 and get a ip address conflict cause pc3 has taken pc2 ip address.
Hope this makes sense.
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: IP conflicts with Amahi's DHCP

Postby cpg » Sat Nov 28, 2009 4:37 pm

yeah, but if you assigned static IP addresses below 100, you should never get these conflicts!

(if you do, it's a bug!)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: IP conflicts with Amahi's DHCP

Postby rampage537 » Sat Nov 28, 2009 4:49 pm

my static ip address are from 100 - 254 which is the range in which DHCP gives out address, I have never seen a address given out below that
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: IP conflicts with Amahi's DHCP

Postby cpg » Sat Nov 28, 2009 5:02 pm

you should assign IP addresses below 100 to avoid the conflict.

what i was suggesting is that perhaps the platform should not allow users assigning IPs in the DHCP range?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: IP conflicts with Amahi's DHCP

Postby rampage537 » Sat Nov 28, 2009 5:09 pm

That is probably a good idea, I guess i just assumes that the DHCP server would lock that ip address out if it was used as a static address
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: IP conflicts with Amahi's DHCP

Postby bigfoot65 » Sat Nov 28, 2009 5:30 pm

I have the same problem. I agree with cpg, we should not allow static IP addresses in the range of 100-254 which is reserved fro dhcp.

I have adjusted my static IPs accordingly, so now all machines are <100 and only those which use DHCP will be the 100-254. Seems like a simple plan to follow.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 15 guests