Skip to content

Commit bf38df2

Browse files
committed
remove third-party DHCP example
this is sort of broken and does not make too much sense Signed-off-by: Emanuele Di Pascale <[email protected]>
1 parent 9b5eb15 commit bf38df2

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

docs/user-guide/vpcs.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ spec:
4646
isolated: true # Makes subnet isolated from other subnets within the VPC (doesn't affect VPC peering)
4747
restricted: true # Causes all hosts in the subnet to be isolated from each other
4848
49-
third-party-dhcp: # Another subnet
50-
dhcp:
51-
relay: 10.99.0.100/24 # Use third-party DHCP server (DHCP relay configuration), access to it could be enabled using a static External
52-
subnet: "10.10.2.0/24"
53-
vlan: 1002
54-
5549
dhcp-relay-to-other-vpc: # Another subnet with DHCP relay to a separate VPC
5650
dhcp:
5751
relay: 10.20.20.200/32 # IP address to reach the DHCP server in the target VPC
@@ -109,17 +103,6 @@ If the `disableDefaultRoute` is set to `true`, and the VPC is `mode: l3vni` the
109103
fabric DHCP server will send routes to the end hosts so that they can reach
110104
other hosts inside of the VPC via the VPC gateway.
111105

112-
### Third-party DHCP server configuration
113-
114-
To use a third-party DHCP server, configure `spec.subnets.<subnet>.dhcp.relay`. Additional information is
115-
added to the DHCP packet forwarded to the DHCP server to make it possible to identify the VPC and subnet. This
116-
information is added under the RelayAgentInfo (option 82) in the DHCP packet. The relay sets two suboptions in the
117-
packet:
118-
119-
* _VirtualSubnetSelection_ (suboption 151) is populated with the VRF which uniquely identifies a VPC on the Hedgehog
120-
Fabric and will be in `VrfV<VPC-name>` format, for example `VrfVvpc-1` for a VPC named `vpc-1` in the Fabric API.
121-
* _CircuitID_ (suboption 1) identifies the VLAN which, together with the VRF (VPC) name, maps to a specific VPC subnet.
122-
123106
### DHCP Relay to another VPC
124107

125108
It is possible to configure DHCP relay for a VPC subnet towards a DHCP server in another VPC. To do so:

0 commit comments

Comments
 (0)