-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cl-doc-fixes' into stage
- Loading branch information
Showing
7 changed files
with
62 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,6 +536,8 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,6 +536,8 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,10 +536,11 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
||
### Configure Multiple DHCP Relays | ||
|
||
Cumulus Linux supports multiple DHCP relay daemons on a switch to enable relaying of packets from different bridges to different upstream interfaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,10 +536,11 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
||
### Configure Multiple DHCP Relays | ||
|
||
Cumulus Linux supports multiple DHCP relay daemons on a switch to enable relaying of packets from different bridges to different upstream interfaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,10 +536,11 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
||
### Configure Multiple DHCP Relays | ||
|
||
Cumulus Linux supports multiple DHCP relay daemons on a switch to enable relaying of packets from different bridges to different upstream interfaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -495,7 +495,7 @@ cumulus@leaf01:~$ nv config apply | |
|
||
### Gateway IP Address as Source IP for Relayed DHCP Packets (Advanced) | ||
|
||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. | ||
You can configure the `dhcrelay` service to forward IPv4 (only) DHCP packets to a DHCP server and ensure that the source IP address of the relayed packet is the same as the gateway IP address. By default, the source IP address of the relayed packet is taken from a layer 3 interface on the switch using normal routing methods. | ||
|
||
{{%notice note%}} | ||
This option impacts all relayed IPv4 packets globally. | ||
|
@@ -511,6 +511,13 @@ cumulus@leaf01:~$ nv set service dhcp-relay default source-ip gateway | |
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), set the source IP address to `auto`: | ||
|
||
``` | ||
cumulus@leaf01:~$ nv set service dhcp-relay default source-ip auto | ||
cumulus@leaf01:~$ nv config apply | ||
``` | ||
|
||
{{< /tab >}} | ||
{{< tab "Linux Commands ">}} | ||
|
||
|
@@ -529,10 +536,11 @@ cumulus@leaf01:~$ nv config apply | |
cumulus@leaf01:~$ sudo systemctl restart [email protected] | ||
``` | ||
|
||
To configure this setting back to the default (where the source IP address of the relayed packet is taken from a layer 3 interface), remove the `--giaddr-src` from the `OPTIONS` line. | ||
|
||
{{< /tab >}} | ||
{{< /tabs >}} | ||
|
||
|
||
### Configure Multiple DHCP Relays | ||
|
||
Cumulus Linux supports multiple DHCP relay daemons on a switch to enable relaying of packets from different bridges to different upstream interfaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters