Hello everyone.
I'm trying to set up pfSense to route correctly the traffic from outside of Proxmox cluster to SDN networks.
I configured EVPN zone with two exit nodes (node #1 and node #2), a primary exit node (node #1) and two BGP controllers (one for each node).
On pfSense I set up priorities for BGP, in order to route the traffic through the primary exit node in normal situations and through the other node if the first one is offline.
The BGP routes on pfSense are:
If I don't contact the VM for sometime the last routing rule (10.10.198.111/32 via 10.10.170.31) is not present.
10.10.170.1 is the IP of pfSense on EVPN/BGP Network
10.10.170.31 is the IP of node #1 on EVPN/BGP Network
10.10.170.32 is the IP of node #2 on EVPN/BGP Network
10.10.198.0/24 is a network managed by EVPN zone.
10.10.198.111 is the IP of a VM on node #2
With this configuration all the traffic must pass through node #1 even if the VM is on node #2.
I have two doubs:
1) Why node #1 advertise with BGP the IP of the VM hosted on the other node and node #2 doesn't? (this works even if the primary exit node is not set)
2) How can I avoid to set up a primary exit node and to make possible that each node advertise with BGP only the VM it is hosting (with host specific routing rules /32)?
Thanks in advance.
I'm trying to set up pfSense to route correctly the traffic from outside of Proxmox cluster to SDN networks.
I configured EVPN zone with two exit nodes (node #1 and node #2), a primary exit node (node #1) and two BGP controllers (one for each node).
On pfSense I set up priorities for BGP, in order to route the traffic through the primary exit node in normal situations and through the other node if the first one is offline.
The BGP routes on pfSense are:
Code:
BGP table version is 133, local router ID is 10.10.170.1, vrf id 0
Default local pref 100, local AS 65000
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
* i10.10.198.0/24 10.10.170.31 0 100 0 ?
*>i 10.10.170.32 0 100 10 ?
*>i10.10.198.111/32 10.10.170.31 100 0 i
Displayed 3 routes and 5 total paths
If I don't contact the VM for sometime the last routing rule (10.10.198.111/32 via 10.10.170.31) is not present.
10.10.170.1 is the IP of pfSense on EVPN/BGP Network
10.10.170.31 is the IP of node #1 on EVPN/BGP Network
10.10.170.32 is the IP of node #2 on EVPN/BGP Network
10.10.198.0/24 is a network managed by EVPN zone.
10.10.198.111 is the IP of a VM on node #2
With this configuration all the traffic must pass through node #1 even if the VM is on node #2.
I have two doubs:
1) Why node #1 advertise with BGP the IP of the VM hosted on the other node and node #2 doesn't? (this works even if the primary exit node is not set)
2) How can I avoid to set up a primary exit node and to make possible that each node advertise with BGP only the VM it is hosting (with host specific routing rules /32)?
Thanks in advance.
Last edited: