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

DHCPD Only hand out reservations but no range??

I am using ASL 4.009.
I am using the DHCP Server and I know all the mac addresses of all the computers on my network.
I have reservations for the computers in the dhcp server.
I do not want to have a range of ips that are used if they are not in my reservations?

I do not want to hand out an IP to anyone I do not know their mac address basically.

Can I do this?

Did I explain myself correctly and understandable?

Thanks,
HAiRY  


This thread was automatically locked due to age.
Parents
  • In the ip range in DHCP sign 

    *.*.*.2 ---> *.*.*.3 for use of  2 clients --------- * NetMask 255.255.255.252
    *.*.*.2 ---> *.*.*.7 for use of  6 clients --------- * NetMask 255.255.255.248
    *.*.*.2 ---> *.*.*.15 for use of  14 clients ------ * NetMask 255.255.255.240
    *.*.*.2 ---> *.*.*.31 for use of  30 clients ------ * NetMask 255.255.255.224
    *.*.*.2 ---> *.*.*.63 for use of  62 clients ------ * NetMask 255.255.255.192
    *.*.*.2 ---> *.*.*.127 for use of  126 clients --- * NetMask 255.255.255.128
    ----------------------------------------------------------------- * Of the interface u use DHCP on
    *.*.*.1 is the ip of ASL's internal interface and GW for the clients

    Set the reservatoins for the computors u have in your network
    Set reservations for the rest of the ip's with MAC's u make up yourself! (0,00000001 chanse u hit the one you don't want to give access to)
    This could be quite a long list of reservations if you for example have 70 clients on your network, cause
    you have to reserve the whole range *.*.*.2 ---> *.*.*.127.
    Even worse if you have 129 clients, You'll have to define 253 IP's!
    Good luck making your reservations!        
  • cyclops,

    sorry but it is not that easy.

    ASL DHCP server implementation allows unknown clients to connect and you
    cannot leave the nework range fields blank.

    The only way to archieve it is to change /var/chroot-dhcps/etc/dhcpd.conf-default.

    allow unknown-clients; -> deny unknown-clients;

    read u
    o|iver

      
  •  
    Svar till:

     ASL DHCP server implementation allows unknown clients to connect and you
    cannot leave the nework range fields blank.
     

    [/ QUOTE ] 

    But I thought all ip's in the range ex, 192.168.0.0/29 would be reserved if you reserv them, even if the MAC adress you assign for the ip's with no clients are false.

    EX
    00:F3:7A:B3:30:A1   192.168.0.2 ---- True Client
    00:F4:7A:C2:30:A2   192.168.0.3 ---- True Client
    00:20:7A:C2:32:A2   192.168.0.4 ---- True Client
    00:F4:F8:C2:30:A2   192.168.0.5 ---- True Client
    00:F4:7A:A2:30:A2   192.168.0.6 ---- False Client
    00:F4:7A:B5:30:A2   192.168.0.7 ---- False Client

    And Internal interface is IP : 192.168.0.1 ---- NM : 255.255.255.248
    Only IP's in the range is 192.168.0.0 - 192.168.0.7 !?
    Which ip will the clients get?
      
Reply
  •  
    Svar till:

     ASL DHCP server implementation allows unknown clients to connect and you
    cannot leave the nework range fields blank.
     

    [/ QUOTE ] 

    But I thought all ip's in the range ex, 192.168.0.0/29 would be reserved if you reserv them, even if the MAC adress you assign for the ip's with no clients are false.

    EX
    00:F3:7A:B3:30:A1   192.168.0.2 ---- True Client
    00:F4:7A:C2:30:A2   192.168.0.3 ---- True Client
    00:20:7A:C2:32:A2   192.168.0.4 ---- True Client
    00:F4:F8:C2:30:A2   192.168.0.5 ---- True Client
    00:F4:7A:A2:30:A2   192.168.0.6 ---- False Client
    00:F4:7A:B5:30:A2   192.168.0.7 ---- False Client

    And Internal interface is IP : 192.168.0.1 ---- NM : 255.255.255.248
    Only IP's in the range is 192.168.0.0 - 192.168.0.7 !?
    Which ip will the clients get?
      
Children
No Data