Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Configuring a DHCP and BOOTP Relay Agent

    You can configure a QFX Series switch to act as a Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) relay agent. This means that if a locally attached host can issue a DHCP or BOOTP request as a broadcast message and the switch relays the message to a specified DHCP or BOOTP server. You should configure a switch to be a DHCP and BOOTP relay agent if you have locally attached hosts and a remote DHCP or BOOTP server.

    To configure a switch to act as a DHCP and BOOTP relay agent, include the bootp statement at the [edit forwarding-options helpers] hierarchy level:

    [edit forwarding-options helpers]bootp {client-response-ttl number;description text-description;interface (interface-name | interface-group) {client-response-ttl number;description text-description;maximum-hop-count number;minimum-wait-time seconds;no-listen;server address }maximum-hop-count number;minimum-wait-time seconds;relay-agent-option;server server-identifier }

    To include a description of the BOOTP service, DHCP service, or interface, use the description statement.

    To configure a logical interface or a group of logical interfaces with a specific DHCP relay or BOOTP configuration, include the interface statement.

    To stop packets from being forwarded, include the no-listen statement.

    To set the maximum allowed number in the hops field of the BOOTP header, include the maximum-hop-count statement. Headers that have a larger number in the hops field are not forwarded. If you omit the maximum-hop-count statement, the default value is four hops.

    To set the minimum allowed number of seconds in the secs field of the BOOTP header, include the minimum-wait-time statement. Headers that have a smaller number in the secs field are not forwarded. The default value for the minimum wait time is zero (0).

    To set the IP address that specify the DHCP or BOOTP server for the router, switch, or interface, include the server statement. You can include multiple server statements.

    To set an IP time-to-live (TTL) value for DHCP response packets sent to a DHCP client, include the client-response-ttl statement.

    The following example demonstrates a BOOTP relay agent configuration.

    user@host# show forwarding-optionshelpers {bootp {description "dhcp relay agent global parameters";server 192.168.55.44;server 172.16.0.3 routing-instance c3;maximum-hop-count 10;minimum-wait-time 8;interface {xe-0/0/1 {description "use this info for this interface";server 10.10.10.10;server 192.168.14.14;maximum-hop-count 11;minimum-wait-time 3;}xe-0/0/2 {no-listen; ###ignore DHCPDISCOVER messages on this interface}all {description "globals apply to all other interfaces";}}}}
     

    Related Documentation

     

    Published: 2012-06-27