Please ensure that you have read the Installation documentation before proceeding.
Go to Administrator.
In the left navigation bar, click Network Management > External IP Address Pool.
Click Create External IP Address Pool.
Refer to the following instructions to configure certain parameters.
| Parameter | Description |
|---|---|
| Type |
|
| IP Resources | Support input in CIDR and IP range formats. Click Add to support multiple entries, examples as follows: CIDR: 192.168.1.1/24.IP Range: 192.168.2.1 ~ 192.168.2.255. |
| Available Nodes | In L2 mode, available nodes are those used to carry all VIP traffic; in BGP mode, available nodes are those used to carry VIPs, establish BGP connections with peers, and announce routes externally.
|
| BGP Peers | Select BGP peers; please refer to BGP Peers for specific configurations. |
Click Create.
Go to Administrator.
In the left navigation bar, click Network Management > BGP Peers.
Click Create BGP Peer.
Refer to the instructions below to configure the parameters.
| Parameter | Description |
|---|---|
| Local AS Number | The AS number of the AS where the BGP-connected node resides. Note: If there are no special requirements, it is recommended to use an IBGP configuration, meaning the local AS number should be consistent with the peer AS number. |
| Peer AS Number | The AS number of the AS where the BGP peer resides. |
| Peer IP | The IP address of the BGP peer, which must be a valid IP address capable of establishing a BGP connection. |
| Local IP | The IP address of the BGP-connected node. When the BGP-connected node has multiple IPs, select the specified local IP to establish a BGP connection with the peer. |
| Peer Port | The port number of the BGP peer. |
| BGP-Connected Node | The node that establishes the BGP connection. If this parameter is not configured, all nodes will establish BGP connections. |
| eBGP Multi-Hop | Allows the establishment of BGP sessions between BGP routers that are not directly connected. When this feature is enabled, the default TTL value of BGP packets is 5, allowing the establishment of BGP peer relationships across multiple intermediate network devices, making network design more flexible. |
| RouterID | A 32-bit numeric value (usually represented in dotted-decimal format, similar to IPv4 address format) used to uniquely identify a BGP router in the BGP network, generally used for establishing BGP neighbor relationships, detecting routing loops, selecting optimal paths, and troubleshooting network issues. |
Click Create.
BGP mode
| Symptom | Possible Cause | Resolution |
|---|---|---|
| No external IP assigned | No valid IPAddressPool or pool misconfigured | Verify IP range and namespace |
| Pods CrashLoop | Speaker or Controller RBAC missing | Check Operator permissions |
| BGP not established | ASN mismatch or peer unreachable | Check BGPPeer spec and network routes |
| L2 not working | Wrong VLAN or ARP filtering | Use arping to verify broadcast reachability |
To see more Troubleshooting MetalLB