Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Network Security: Firewall, NAT, QoS, IPS and more

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-15-2005, 06:44 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,359
Default DHCP Collisions!

With ASL 5.206,
On my INT interface, I have ASL's DHCP Server enabled, with:
range start: 192.168.11.190
range end: 192.168.11.210

and Static Mappings for 3 devices at:
00:04:76:F7:4C:E9 192.168.11.197 PC
00:10:83:0C:A8:1B 192.168.11.198 JetDirect
00:01:1D:10:5F:6B 192.168.11.200 VOIP device

My notebook
00:0F:1F:16:B5:E9
gets the .197 IP!

e.g.
Today, PC was off, notebook was on. PC was booted, and was assigned .197 IP via DHCP (as is expected per the static map). When PC was unable to reliably access the internet, I eventually discovered both it and the notebook were using .197!

Assigning the notebook a static DHCP mapping of .210 works.

I'm using a 10/100 HUB, not a switch, btw. (not that this should make much difference.)

Questions:
1. Should the static mappings be OUTSIDE of the DHCP "Range".
2. If not, what the heck is going on?

I do not have any other DHCP servers on the network. The VOIP adapter only has the WAN side connected.
Regardless, in the "Leasing Table", ASL shows the MAC of the notebook assigned to .197 (twice actually, both with the same time, but different expiration times.) It does not show leases for any of the Static Mapped IPs or MACs.

Also, there is an entry in the Leasing Table for MAC FF:FF:FF:FF:FF:FF with IP 192.168.11.207
Why?
Pinging that IP does not get a response, fwiw.

/var/sec/chroot-dhcps/var/state/dhcp/dhcpd.leases is consistent with the "Leasing Table", although it does have some older entries as well. It does not have any entries for ANY of the reserved IPs/MACs.

Thanks,
Barry
Reply With Quote
  #2 (permalink)  
Old 10-15-2005, 08:58 AM
wk wk is offline
Senior Member
 
Join Date: Oct 2001
Location: Ochsenfurt, Germany
Posts: 363
Default Re: DHCP Collisions!

You are right Barry,

the static addresses should be outside the range of the dhcp leases.
Reply With Quote
  #3 (permalink)  
Old 10-15-2005, 08:24 PM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,359
Default Re: DHCP Collisions!

OK, thanks.
ISTM this should be mentioned in the builtin help, if not on the page itself, as it is not intuitive.

Thanks,
Barry
Reply With Quote
  #4 (permalink)  
Old 02-12-2006, 04:44 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,359
Default Re: DHCP Collisions!

This still isn't mentioned in the online help in 5.210.

Barry
Reply With Quote
  #5 (permalink)  
Old 02-12-2006, 10:13 PM
RFCat_vk's Avatar
Wizard
 
Join Date: Aug 2005
Location: Victoria, Australia
Posts: 2,945
Default Re: DHCP Collisions!

Barry,
before I answer part of you question. I made the same mistake as you did and couldn't understand it. I think the Astaro DHCP implementation has a minor bug in that it does allocate or record the same IP address to the same MAC address with different times and it can be within in minutes of the original request.

Stretching my brain to when I worked on DHCP deployment I remember the requirement was always to have your static addresses outside your auto assigned address range. I think Astaro assume that we know/remember this information and haven't included it in the help file.

Ian M [img]/images/graemlins/smile.gif[/img] [img]/images/graemlins/smile.gif[/img] [img]/images/graemlins/smile.gif[/img]
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:15 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.