Hello,
I've been reading all the troubleshooting posts about EVPN trying to figure out a solution to the problem I'm having but no luck yet.
I'm experimenting in a 2-node Proxmox cluster:
vmbr0 interfaces:
Node 1: 10.0.1.131/24
Node 2: 10.0.1.132/24
Proxmox firewall is disabled for the moment, plan to use it in the future.
I'm following this tutorial https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_setup_example_evpn
I'm trying to get the VM in Node 1 (vnet1) to ping the VM in Node 2 (vnet2) but I'm getting `Host Unreachable`.
VNET 1 has the 10.0.5.0/24 network, gateway 10.0.5.1. VNET 2 has 10.0.6.0/24 network, gateway 10.0.6.1.
My configurations look like this:
controllers.cfg
zones.cfg
vnets.cfg
subnets.cfg
Node specific configurations:
Node 1:
/etc/network/interfaces.d/sdn
/etc/frr/frr.conf
Node 2:
/etc/network/interfaces.d/sdn
/etc/frr/frr.conf
Any guidance or suggestions would be more than welcome!
I've been reading all the troubleshooting posts about EVPN trying to figure out a solution to the problem I'm having but no luck yet.
I'm experimenting in a 2-node Proxmox cluster:
vmbr0 interfaces:
Node 1: 10.0.1.131/24
Node 2: 10.0.1.132/24
Proxmox firewall is disabled for the moment, plan to use it in the future.
I'm following this tutorial https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_setup_example_evpn
I'm trying to get the VM in Node 1 (vnet1) to ping the VM in Node 2 (vnet2) but I'm getting `Host Unreachable`.
VNET 1 has the 10.0.5.0/24 network, gateway 10.0.5.1. VNET 2 has 10.0.6.0/24 network, gateway 10.0.6.1.
My configurations look like this:
controllers.cfg
Code:
evpn: myevpncl
asn 65000
peers 10.0.1.131,10.0.1.132
zones.cfg
Code:
evpn: myevpnzn
controller myevpncl
vrf-vxlan 10000
exitnodes-primary pve
ipam pve
mac BC:24:11:2A:62:B7
mtu 1450
nodes pve,pve-home-2
vnets.cfg
Code:
vnet: myvnet1
zone myevpnzn
tag 11000
vnet: myvnet2
zone myevpnzn
tag 12000
subnets.cfg
Code:
evpn: myevpnzn
controller myevpncl
vrf-vxlan 10000
exitnodes-primary pve
ipam pve
mac BC:24:11:2A:62:B7
mtu 1450
nodes pve,pve-home-2
Node specific configurations:
Node 1:
/etc/network/interfaces.d/sdn
Code:
#version:47
auto myvnet1
iface myvnet1
address 10.0.5.1/24
hwaddress BC:24:11:2A:62:B7
bridge_ports vxlan_myvnet1
bridge_stp off
bridge_fd 0
mtu 1450
ip-forward on
arp-accept on
vrf vrf_myevpnzn
auto myvnet2
iface myvnet2
address 10.0.6.1/24
hwaddress BC:24:11:2A:62:B7
bridge_ports vxlan_myvnet2
bridge_stp off
bridge_fd 0
mtu 1450
ip-forward on
arp-accept on
vrf vrf_myevpnzn
auto vrf_myevpnzn
iface vrf_myevpnzn
vrf-table auto
post-up ip route add vrf vrf_myevpnzn unreachable default metric 4278198272
auto vrfbr_myevpnzn
iface vrfbr_myevpnzn
bridge-ports vrfvx_myevpnzn
bridge_stp off
bridge_fd 0
mtu 1450
vrf vrf_myevpnzn
auto vrfvx_myevpnzn
iface vrfvx_myevpnzn
vxlan-id 10000
vxlan-local-tunnelip 10.0.1.131
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
auto vxlan_myvnet1
iface vxlan_myvnet1
vxlan-id 11000
vxlan-local-tunnelip 10.0.1.131
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
auto vxlan_myvnet2
iface vxlan_myvnet2
vxlan-id 12000
vxlan-local-tunnelip 10.0.1.131
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
/etc/frr/frr.conf
Code:
frr version 8.5.1
frr defaults datacenter
hostname pve
log syslog informational
service integrated-vtysh-config
!
!
vrf vrf_myevpnzn
vni 10000
exit-vrf
!
router bgp 65000
bgp router-id 10.0.1.131
no bgp hard-administrative-reset
no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
neighbor VTEP remote-as 65000
neighbor VTEP bfd
neighbor 10.0.1.132 peer-group VTEP
!
address-family l2vpn evpn
neighbor VTEP route-map MAP_VTEP_IN in
neighbor VTEP route-map MAP_VTEP_OUT out
neighbor VTEP activate
advertise-all-vni
exit-address-family
exit
!
router bgp 65000 vrf vrf_myevpnzn
bgp router-id 10.0.1.131
no bgp hard-administrative-reset
no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
exit
!
route-map MAP_VTEP_OUT permit 1
exit
!
line vty
Node 2:
/etc/network/interfaces.d/sdn
Code:
#version:47
auto myvnet1
iface myvnet1
address 10.0.5.1/24
hwaddress BC:24:11:2A:62:B7
bridge_ports vxlan_myvnet1
bridge_stp off
bridge_fd 0
mtu 1450
ip-forward on
arp-accept on
vrf vrf_myevpnzn
auto myvnet2
iface myvnet2
address 10.0.6.1/24
hwaddress BC:24:11:2A:62:B7
bridge_ports vxlan_myvnet2
bridge_stp off
bridge_fd 0
mtu 1450
ip-forward on
arp-accept on
vrf vrf_myevpnzn
auto vrf_myevpnzn
iface vrf_myevpnzn
vrf-table auto
post-up ip route add vrf vrf_myevpnzn unreachable default metric 4278198272
auto vrfbr_myevpnzn
iface vrfbr_myevpnzn
bridge-ports vrfvx_myevpnzn
bridge_stp off
bridge_fd 0
mtu 1450
vrf vrf_myevpnzn
auto vrfvx_myevpnzn
iface vrfvx_myevpnzn
vxlan-id 10000
vxlan-local-tunnelip 10.0.1.132
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
auto vxlan_myvnet1
iface vxlan_myvnet1
vxlan-id 11000
vxlan-local-tunnelip 10.0.1.132
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
auto vxlan_myvnet2
iface vxlan_myvnet2
vxlan-id 12000
vxlan-local-tunnelip 10.0.1.132
bridge-learning off
bridge-arp-nd-suppress on
mtu 1450
/etc/frr/frr.conf
Code:
frr version 8.5.1
frr defaults datacenter
hostname pve-home-2
log syslog informational
service integrated-vtysh-config
!
!
vrf vrf_myevpnzn
vni 10000
exit-vrf
!
router bgp 65000
bgp router-id 10.0.1.132
no bgp hard-administrative-reset
no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
neighbor VTEP remote-as 65000
neighbor VTEP bfd
neighbor 10.0.1.131 peer-group VTEP
!
address-family l2vpn evpn
neighbor VTEP route-map MAP_VTEP_IN in
neighbor VTEP route-map MAP_VTEP_OUT out
neighbor VTEP activate
advertise-all-vni
exit-address-family
exit
!
router bgp 65000 vrf vrf_myevpnzn
bgp router-id 10.0.1.132
no bgp hard-administrative-reset
no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
exit
!
route-map MAP_VTEP_OUT permit 1
exit
!
line vty
Any guidance or suggestions would be more than welcome!
Last edited: