DHCP server not working on brigde interface



  • I have a problem with DHCP server, what is missing on my config?
    DHCP server not working on brigde interface. I was read many thred on forum and try other setup but can not make OPT1,2,3 work on brigde mode. Please helpe me.

    Setup 1:

    LAN ip 192.168.5.1, actived, DHCP server enabled
    OPT1: IP none, actived
    OPT2: IP none, actived
    OPT3: IP none, actived
    Brigde0 (OPT1, 2, 3) : 192.168.6.1, actived, DHCP server enabled
    Group interfaces: LAN, OPT1, OPT2, OPT3
    Firewall rule: Brigde0: ipv4+6 pass any
    net.link.bridge.pfil_member 1
    net.link.bridge.pfil_bridge 0
    Result:
    DHCP on LAN working fine, new IP like 192.168.1.2
    DHCP on Brigde0 not working, no IP have found. But i can set static IP for PC like 192.168.6.2 OPT1 working fine.

    Setup 2:

    LAN ip 192.168.5.1, actived, DHCP server enabled
    OPT1: IP none, actived
    OPT2: IP none, actived
    OPT3: IP none, actived
    Brigde0 (LAN, OPT1, 2, 3): IP none, actived, DHCP server disabled
    Group interfaces: LAN, OPT1, OPT2, OPT3
    Firewall rule: Brigde0, LAN: ipv4+6 pass any
    net.link.bridge.pfil_member 1
    net.link.bridge.pfil_bridge 0
    DHCP on all port not working, no IP have found. But i can set static IP for PC like 192.168.5.2 working fine.



  • Hi,

    The subject is less known in the forum, true.
    Read the manual, you'll understand why.



  • @Gertjan

    When creating a rule to allow traffic on an interface, normally the source is specified similar to OPT1 Subnet so that only traffic from that subnet is allowed out of that segment. With DHCP, that is not enough. Because a client does not yet have an IP address, a DHCP request is performed as a broadcast.

    That is reson ? I know firewall was blocked DHCP traffic but i dont know how to config that.
    I will try config follow this document.
    Thank you.


Log in to reply