DHCP server 2x LAN with Deny unknown clients



  • 2.1-RELEASE  (amd64)

    I have 2x lan on the same network (the same vlan)
    DHCP configuration:
    LAN1:  address range: 10.0.1.180 - 10.0.1.200 with Deny unknown clients
    LAN2:  address range 172.16.1.10-172.16.1.20 with Deny unknown clients

    Lan1: 150 static mac addresses + static address
    Lan2: only 3 static mac addresses + static address
    Why komputer with mac address from list LAN1 got adress from LAN2?

    I need to divide my network into known and unknown computers.



  • if LAN1 and LAN2 connected to the same switch, and without setting/separating the switch ports into VLANS, it will cause confusion.



  • Thx. All is clear.



  • I created 3 VLANS.
    1 10.0.0x
    2 172.16.1.x
    3 192.168.1.x

    Lan1: 150 static mac addresses + static address (and dynamic adress 10.0.0.200-10.0.0.210)
    Lan2: ~50 static mac addresses + static address (and dynamic adress 172.16.1.230-172.16.1.240)
    Lan3: DHCP disabled.

    In LAN2 any komputer from LAN1 are not configured. Why, when i connect any komputer from LAN1 to LAN2 i get adress from dynamic range adress eg 172.16.1.231
    The same situastion is in when i connect computer from LAN2 to Lan1.
    I would like to these networks were totally separated. In my opinion it should not be.