SRX

 View Only
last person joined: 14 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  DHCP relay but all packet are dropped

    Posted 11-20-2020 01:08
    I configure DHCP relay  following 

    [edit forwarding-options]
    root@Group2# show
    dhcp-relay {
    server-group {
    dhcpserver {
    10.10.20.2;
    }
    }
    active-server-group dhcpserver;
    group dhcpserver {
    interface ge-0/0/0.0;
    interface ge-0/0/4.0;
    }
    }

    And try to monitor by using below command

    [edit forwarding-options]
    root@Group2# run show dhcp relay statistics
    Packets dropped:
    Total 59
    Interface not configured 59

    Messages received:
    BOOTREQUEST 0
    DHCPDECLINE 0
    DHCPDISCOVER 0
    DHCPINFORM 0
    DHCPRELEASE 0
    DHCPREQUEST 0
    DHCPLEASEACTIVE 0
    DHCPLEASEUNASSIGNED 0
    DHCPLEASEUNKNOWN 0
    DHCPLEASEQUERYDONE 0

    Messages sent:
    BOOTREPLY 0
    DHCPOFFER 0
    DHCPACK 0
    DHCPNAK 0
    DHCPFORCERENEW 0
    DHCPLEASEQUERY 0
    DHCPBULKLEASEQUERY 0

    it seems all packet are dropped. Client is connected ge-0/0/0.0 and Uplink is ge-0/0/4.0
    What am i missing here?


  • 2.  RE: DHCP relay but all packet are dropped

    Posted 11-20-2020 01:26
    Hi Halo,

    Did you enable dhcp in host-inbound-traffic?

    e.g:
    set security zones security-zone <zone name> interfaces ge-0/0/0.0 host-inbound-traffic system-services dhcp
    set security zones security-zone <zone name> interfaces ge-0/0/4.0 host-inbound-traffic system-services dhcp



  • 3.  RE: DHCP relay but all packet are dropped

    Posted 11-20-2020 01:37
    I've changed SRX to router mode 

    root@Group2# show security forwarding-options
    family {
    mpls {
    mode packet-based;
    }
    }

    Do I need o to enable DHCP service  or not? Please suggest me


  • 4.  RE: DHCP relay but all packet are dropped
    Best Answer

    Posted 11-22-2020 15:18
    Edited by Halo 11-23-2020 07:27
    Hi Halo

    You shouldn't need to change the forwarding mode to packet-based.

    You should double-check that the DHCP client is actually connected to the IPv4 configured interfaces ge-0/0/0.0 or ge-0/0/4.0. If you have configured VLANs then add the vlan.x interface to group dhcpserver DHCP configuration.

    Kerry





  • 5.  RE: DHCP relay but all packet are dropped

    Posted 11-23-2020 07:26
    Hi 
    My client connect with ge-0/0/0.0 but also associate with vlan.x 

    I've changed interface from ge-0/0/0.0 with irb.20 after that it works!!!!
    Thank you so much