You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- When you configure DHCP relay with VRR, the DHCP relay client must run on the SVI; not on the -v0 interface.
92
92
{{%/notice%}}
93
93
94
+
## VRF-aware DHCP Relay
95
+
96
+
You can configure Cumulus Linux to use a single DHCP relay instance to relay DHCP requests from the multiple clients connected to different VRFs towards DHCP servers and to relay responses back from the DHCP server to clients across multiple VRFs.
97
+
98
+
To enable the DHCP relay to process DHCP requests from clients connected to interfaces in different VRFs, you must configure the relay with downstream interfaces that belong to each client VRF, while the gateway interface and uplink interface remain part of the DHCP Relay VRF.
99
+
100
+
{{< tabs "TabID175 ">}}
101
+
{{< tab "NVUE Commands ">}}
102
+
103
+
```
104
+
cumulus@switch:~$ nv set interface vlan10 vrf RED
105
+
cumulus@switch:~$ nv set interface vlan20 vrf BLUE
106
+
cumulus@switch:~$ nv set service dhcp-relay default downstream-interface vlan10,20 server-group-name SG1
107
+
cumulus@switch:~$ nv unset service dhcp-relay default downstream-interface vlan10
108
+
cumulus@switch:~$ nv config apply
109
+
```
110
+
111
+
{{< /tab >}}
112
+
{{< tab "Linux Commands ">}}
113
+
114
+
In the `/etc/default` directory, create a file with the name of the server group in the format `isc-dhcp-relay-<server-group-id>-<vrf-id>`. Add the DHCP server IP addresses and the interfaces participating in DHCP relay associated with the server group (upstream and downstream interfaces).
This section describes optional DHCP relay configurations. The steps provided in this section assume that you have already configured basic DHCP relay, as described above.
You can configure Cumulus Linux to use a single DHCP relay instance to relay DHCP requests from the multiple clients connected to different VRFs towards DHCP servers and to relay responses back from the DHCP server to clients across multiple VRFs.
172
-
173
-
To enable the DHCP relay to process DHCP requests from clients connected to interfaces in different VRFs, you must configure the relay with downstream interfaces that belong to each client VRF, while the gateway interface and uplink interface remain part of the DHCP Relay VRF.
174
-
175
-
{{< tabs "TabID175 ">}}
176
-
{{< tab "NVUE Commands ">}}
177
-
178
-
```
179
-
cumulus@switch:~$ nv set interface vlan1002 vrf vrf1
180
-
cumulus@switch:~$ nv set interface vlan1006 vrf vrf2
181
-
cumulus@switch:~$ nv set interface vlan1007 vrf vrf3
182
-
cumulus@switch:~$ nv set service dhcp-relay vrf4002 downstream-interface vlan1002,1006-1007 server-group-name sg1
183
-
cumulus@switch:~$ nv unset service dhcp-relay vrf4002 downstream-interface vlan1002
184
-
```
185
-
186
-
{{< /tab >}}
187
-
{{< tab "Linux Commands ">}}
188
-
189
-
In the `/etc/default` directory, create a file with the name of the server group in the format `isc-dhcp-relay-<server-group-id>-<vrf-id>`. Add the DHCP server IP addresses and the interfaces participating in DHCP relay associated with the server group (upstream and downstream interfaces).
When you need DHCP relay in an environment that relies on an anycast gateway (such as EVPN), a unique IP address is necessary on each device for return traffic. By default, in a BGP unnumbered environment with DHCP relay, the source IP address is the loopback IP address and the gateway IP address is the SVI IP address. However with anycast traffic, the SVI IP address is not unique to each rack; it is typically shared between racks. Most EVPN ToR deployments only use a single unique IP address, which is the loopback IP address.
Copy file name to clipboardExpand all lines: content/nvue-reference/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,4 @@ The NVUE CLI provides descriptions and examples for the following commands:
22
22
23
23
## Download the Command Reference
24
24
25
-
You can download the NVUE command reference and view it offline. {{<exlinkurl="https://docs.nvidia.com/networking-ethernet-software/nvue-reference/NVUECL514-html.zip"text="Download a zip file">}} of the command reference in HTML format, extract it locally, then open `nvue-reference.html` in your web browser.
25
+
You can download the NVUE command reference and view it offline. {{<exlinkurl="https://docs.nvidia.com/networking-ethernet-software/nvue-reference/NVUECL515-html.zip"text="Download a zip file">}} of the command reference in HTML format, extract it locally, then open `nvue-reference.html` in your web browser.
0 commit comments