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
Copy file name to clipboardExpand all lines: docs/user-guide/vpcs.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,11 @@ spec:
56
56
subnet: 10.10.100.0/24
57
57
vlan: 1100
58
58
59
+
bgp-on-host: # Another subnet with hosts peering with leaves via BGP
60
+
subnet: 10.10.50.0/25
61
+
hostBGP: true
62
+
vlan: 1050
63
+
59
64
permit: # Defines which subnets of the current VPC can communicate to each other, applied on top of subnets "isolated" flag (doesn't affect VPC peering)
60
65
- [subnet-1, subnet-2, subnet-3] # 1, 2 and 3 subnets can communicate to each other
61
66
- [subnet-4, subnet-5] # Possible to define multiple lists
@@ -108,6 +113,24 @@ packet:
108
113
Fabric and will be in `VrfV<VPC-name>` format, for example `VrfVvpc-1` for a VPC named `vpc-1` in the Fabric API.
109
114
*_CircuitID_ (suboption 1) identifies the VLAN which, together with the VRF (VPC) name, maps to a specific VPC subnet.
110
115
116
+
### HostBGP subnets
117
+
118
+
At times, it is useful to have BGP running directly on the host and peering with the Fabric: one such case is
119
+
to support active-active multi-homed servers, or simply to have redundancy when other techniques such
120
+
as MCLAG or ESLAG are not available, for example because of hardware limitations.
121
+
122
+
Consider this scenario: `server-1` is connected to two different Fabric switches `sw-1` and `sw-2`, and attached to
123
+
`vpc-1/subnet-1` on both of them. This subnet is configured as `hostBGP`; the switches will be configured to peer with
124
+
`server-1` using unnumbered BGP (IPv4 unicast address family), only importing /32 prefixes in the subnet of the VPC and
125
+
exporting routes learned from other VPC peers. Similarly, BGP is running on `server-1`, unnumbered BGP sessions are
126
+
established with each leaf, and one or more Virtual IPs (VIPs) in the VPC subnet are advertised. With this setup, the
127
+
host is part of the VPC and can be reached via one of the advertised VIPs from either link to the Fabric.
128
+
129
+
It is important to keep in mind that Hedgehog Fabric does not directly operate the host servers attached to it;
130
+
running subnets in HostBGP mode requires running a routing suite and configuring it accordingly. To facilitate this
131
+
process, however, we do provide a container image which can autogenerate a valid configuration, given some input parameters.
132
+
For more details, see [the related section in the Host Settings page](host-settings.md#hostbgp-container).
133
+
111
134
## VPCAttachment
112
135
113
136
A VPCAttachment represents a specific VPC subnet assignment to the `Connection` object which means a binding between an
0 commit comments