This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP Server - confusing me ....

Hello,

- setting up an dhcp service with 10 addresses (from .10 to .20)
- create an entry to the static mapping table with mac-address, ip-address and hostname for ip .15

1) a host not known in the static list asks for ip .15 -- he gets it! why?
2) later - the host with static map for ip .15 asks for a ip he gets NO ip because .15 is in use ... ???
3) if a host is asking for a ip without providing his hostname in the dhcp request the dhcp lease list shows it multiple times and the host can´t get an address .... most times MacOSX and MACOS9 Clients ...

?) why can´t i specify the lease time (expire time)?

mr.migu
------
ASL 6.300 on P3-933,512, 2*GBit + 4*100MBit


This thread was automatically locked due to age.
Parents Reply Children
  • ok maygyver, but I'm forced to define a little range (ie 192.168.0.1 -192.168.0.2), then define it on Definitions->Networks and finally define a rule that drop any traffic from this little range.
    Do you agree with me that all this is a little absurd?
  • What is the problem about that? 
    The DHCP Server needs a range, I don't think it is possible to start the DHCP Server without a range, even when you try to configure by hand.

    By default these range-IPs are not allowed to do anything.

    What do you want to have it with only static IP's? Security?
    Best way is, MAC Filter on the Switch port.
  • My target is very simple. Use the design goal of DHCP to give net access only for authorized clients without any client side configuration.
    If you read the Astaro manual you don't find: "if you want a static definition, it must be outside of the dhcp range".
    I agree with you that the dhcp server needs a range but if I define all the range with static assigments, why it gives these IP to other undefined PCs!
    As you can see I'm not the only that find this strange behavior of Astaro dhcp service (see Michael).

    If I can solve this problem with others techniques doesn't justify the wrong dhcp server behavior.
  • This is no strange behavior, every DHCP Server will act like this.
    Static IP have to be outside the range. This is basic DHCP knownledge.

    So there is no wrong behavior.
  • Hi maygyver

    excuse my ignorance but where do you read that static IP have to be outside the range?
  • There is no hint in the Astaro manual I think,
    but in every DHCP Howto or documentation you will find it.

    You should not only read the manual of the product you are using, you although have to know about the service you are using.
  • Following your suggestions, I found this document
    http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/DHCP.pdf
    about linux dhcp service.
    Here there is an example showing that static IP is defined outside the ranges.
    But it's only an example, I don't find: "use reserved/static IP outside the defined ranges...".

    On the other side, if you never used Microsoft dhcp service, it permits reserved IP inside and outside the ranges. Microsoft says that it follows the RFC 2131.

    At the webadmin side, I don't know what kind of implementation of dhcp server. (sure a linux implementation).
    On the webadmin interface this information is not reported and also on the manual.
    This cause a free interpretation and confusion on configuring static IP assigment. (see the post title...).

    At this point, for me is not a problem to define the static IP outside the range, but all the users have to know how Astaro works with dhcp service.
    This information could be found on the manual pages like a simple note:
    "If you want to use static mappings, please define it outside the range".

    However, I'm glad if you post to me one of your links talking about DHCP service and the static IP obligatory outside the range.

    Bye