From d3699dbe872354bdbab0ad70d2eb0698e186de8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Thu, 8 Nov 2018 02:09:59 +0100 Subject: [PATCH] Add dhcrelay example to using old syntax "DHCP relay configuration (Example)" section works for more recent versions 4.3.6 (in Fedora), but it doesn't work with the version in 4.2.5 (CentOS 7). Add example configuration for version 4.2.5 (Centos) as well. Closes-Bug: #1774637 Change-Id: Ifa828c572d3c6dfc408d2fbebc52f4aa2c571615 --- .../advanced_deployment/routed_spine_leaf_network.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/source/install/advanced_deployment/routed_spine_leaf_network.rst b/doc/source/install/advanced_deployment/routed_spine_leaf_network.rst index 48db6725..1cfd046d 100644 --- a/doc/source/install/advanced_deployment/routed_spine_leaf_network.rst +++ b/doc/source/install/advanced_deployment/routed_spine_leaf_network.rst @@ -230,13 +230,20 @@ IP address when the following configuration is used:: DHCP relay configuration (Example) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In the following example ``dhcrelay`` from +In the following examples ``dhcrelay`` from `ISC DHCP software `_ is started using configuration parameters to relay incoming DHCP request on interfaces: ``eth1``, ``eth2`` and ``eth3``. The undercloud DHCP servers are on the network segment connected to the ``eth0`` interface. The DHCP server used for ``introspection`` is listening on ip address: ``172.20.0.1`` and the DHCP -server used for ``provisioning`` is listening on ip address: ``172.20.0.10``:: +server used for ``provisioning`` is listening on ip address: ``172.20.0.10``. + +Example, dhcrelay version 4.2.5 (in CentOS 7):: + + dhcrelay -d --no-pid 172.20.0.10 172.20.0.1 \ + -i eth0 -i eth1 -i eth2 -i eth3 + +Example, dhcrelay version 4.3.6 (in Fedora 28):: dhcrelay -d --no-pid 172.20.0.10 172.20.0.1 \ -iu eth0 -id eth1 -id eth2 -id eth3