Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  MX104 DHCP relay

    Posted 12-29-2016 05:33

    Hi,

     

    Have issue with a MX104 running junos 13.3

     

    I want to configure a dhcp-helper/relay for a interface. I see that the broadcast-packet is recieved on the MX, but the router will not forward the packet to the dhcp-server.

     

    The interface is in a VRF.

     

    VRF dhcp relay config:

     

    forwarding-options {
    dhcp-relay {
    overrides {
    trust-option-82;
    proxy-mode;
    }
    server-group {
    dhcp {
    8.8.8.8;
    }
    }
    active-server-group dhcp;
    group dhcp {
    active-server-group dhcp;
    interface ae0.42;
    }
    }
    }

     

    As you see I have tried different options without success. DHCP-ip is replaced with 8.8.8.8...

     

    A filterwall filter that log packets.

     

    sfsf@pe# run show firewall log |grep ae0.42
    14:28:58 pfe D ae0.42 UDP 0.0.0.0 255.255.255.255
    14:28:58 pfe D ae0.42 UDP 0.0.0.0 255.255.255.255

     

    dhcp relay:

     

    sfsf@pe# run show dhcp relay statistics routing-instance 5515
    Packets dropped:
    Total 0

    Messages received:
    BOOTREQUEST 0
    DHCPDECLINE 0
    DHCPDISCOVER 0
    DHCPINFORM 0
    DHCPRELEASE 0
    DHCPREQUEST 0

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

     

    There are some who have managed to set up this before?

     

    On other junos routers I have manage to do this with forward-helper bootp option, but same issue there. 



  • 2.  RE: MX104 DHCP relay
    Best Answer

    Posted 12-29-2016 20:51

    Check if врсз is allowed in filter on lo0 inerface



  • 3.  RE: MX104 DHCP relay

    Posted 01-02-2017 02:23

    You had the correct solution! I had forgot to edit the RE-filter. 

     

    Also, dhcp relay within the VRF did not work. 

    I have added it to forwarding-option, and now it works fine. 

    Thank!

     

    set forwarding-options helpers bootp relay-agent-option
    set forwarding-options helpers bootp description "Connection for DHCP Relay"
    set forwarding-options helpers bootp interface ae0.42 server 8.8.8.8 routing-instance 5354