[PVE-User] Inter VRF traffic
Cyrus
cyruspy at gmail.com
Mon Mar 10 21:39:25 CET 2025
Hello!,
I'm trying to make traffic work between VRFs passing through a an
external firewall (opnsense+frr) but traffic seems to be resolved
locally by the node, even though source/destination are on different
VRFs (and ultimately doesn't work):
root at pve-01:~/bin# ip route get 192.168.111.10
192.168.111.10 via 192.168.203.145 dev vrfbr_L01VPN01 src
192.168.203.212 uid 0
cache
root at pve-01:~/bin# ip route get 192.168.111.10
192.168.111.10 dev ol111001 src 192.168.111.1 uid 0
cache
root at pve-01:~/bin# ip addr show dev ol111001
191: ol111001: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue master vrf_L01VPN01 state UP group default qlen 1000
link/ether bc:24:11:e6:34:58 brd ff:ff:ff:ff:ff:ff
inet 192.168.111.1/25 scope global ol111001
valid_lft forever preferred_lft forever
inet6 fe80::be24:11ff:fee6:3458/64 scope link
valid_lft forever preferred_lft forever
root at pve-01:~/bin# ip addr show dev ol107001
63: ol107001: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master vrf_SDCVPN01 state UP group default qlen 1000
link/ether bc:24:11:a9:f9:46 brd ff:ff:ff:ff:ff:ff
inet 192.168.107.1/27 scope global ol107001
valid_lft forever preferred_lft forever
inet6 fe80::be24:11ff:fea9:f946/64 scope link
valid_lft forever preferred_lft forever
"ip r" output: https://pastebin.com/Q9sF8uMv
"frr.conf.local" content: https://pastebin.com/KAqNqKB1
rendered "frr.conf": https://pastebin.com/gUpYnuc0
/etc/pve/sdn/*: https://pastebin.com/U7yjNe5N
"/etc/network/interfaces" for pve-01: https://pastebin.com/smEfYUJw
North/South traffic works anytime destination is an external network.
North/South traffic fails if destination is the host or a network in
another VRF and traffic should be forwarded via an external firewall.
Any hints?, is something missing?
Regards,
More information about the pve-user
mailing list