Skip to content

Commit d37eba8

Browse files
committed
Expanding on the issue
1 parent da1f1cd commit d37eba8

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

modules/nw-metallb-bgp-limitations.adoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ However, you can anticipate that a change in the number of `speaker` pods affect
1818
To avoid or reduce the likelihood of a service interruption, you can specify a node selector when you add a BGP peer.
1919
By limiting the number of nodes that start BGP sessions, a fault on a node that does not have a BGP session has no affect on connections to the service.
2020

21-
[id="additional_network_and_metallb_limitation_{context}"]
22-
== Additional Network and MetalLB cannot use same network
23-
24-
There is a limitation when using the same VLAN for both MetalLB and an additional network interface on a source pod. In such cases, a connection failure occurs, when the MetalLB IP and the source pod share the same node.
25-
26-
You can address this by ensuring the MetalLB IP is in another subnet so the traffic coming from a pod would take the default gateway, which is OVN-K and reach the destination via the OVN overlay. Alternatively use a MACVLAN interface instead of a VLAN interface.
27-
2821
[id="nw-metallb-bgp-limitations-single-asn_{context}"]
2922
== Support for a single ASN and a single router ID only
3023

modules/nw-metallb-infra-considerations.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,15 @@ For example, the following infrastructures can benefit from adding the MetalLB O
2121

2222
MetalLB Operator and MetalLB are supported with the OpenShift SDN and OVN-Kubernetes network providers.
2323

24+
[id="additional_network_and_metallb_limitation_{context}"]
25+
== Additional Network and MetalLB cannot use same network
26+
27+
If you use the same VLAN for both MetalLB and an additional network interface configured on a source pod, it can lead to a connection failure. A connection failure happens when both the MetalLB IP and the source pod are on the same node.
28+
29+
To resolve this issue, you have a couple of options:
30+
31+
* **Use Different Subnets**: To avoid connection failures, consider placing the MetalLB IP in a different subnet from the one where the source pod resides. By doing this, traffic from the source pod will take the default gateway, which is typically OVN-K. This way, the traffic can reach its destination by using the OVN overlay network, and the connection should work as expected.
32+
33+
* **Switch to MACVLAN Interface**: Alternatively, you can opt to use a MACVLAN interface instead of a VLAN interface for your additional network configuration. MACVLAN interfaces provide a more isolated network environment and can help prevent conflicts with MetalLB configurations. This change in interface type can help you avoid the connection issues that might arise when using the same VLAN for MetalLB and an additional network interface on the source pod.
34+
35+
You can address this by ensuring the MetalLB IP is in another subnet so the traffic coming from a pod would take the default gateway, which is OVN-K and reach the destination via the OVN overlay. Alternatively use a MACVLAN interface instead of a VLAN interface.

0 commit comments

Comments
 (0)