]> git.proxmox.com Git - pve-network.git/blobdiff - test/zones/evpn/exitnode_snat/expected_sdn_interfaces
frr: update config frrversion to 8.2.2
[pve-network.git] / test / zones / evpn / exitnode_snat / expected_sdn_interfaces
index b364a5840c8e78104e5709b41d09e520f9ee30fa..47df77a4c125c27564270b742869bfbe790853dd 100644 (file)
@@ -11,11 +11,29 @@ iface myvnet
        bridge_stp off
        bridge_fd 0
        mtu 1450
+       ip-forward on
+       arp-accept on
+       vrf vrf_myzone
+
+auto myvnet2
+iface myvnet2
+       address 2a08:2142:302:3::1/64
+       post-up ip6tables -t nat -A POSTROUTING -s '2a08:2142:302:3::/64' -o vmbr0 -j SNAT --to-source 192.168.0.1
+       post-down ip6tables -t nat -D POSTROUTING -s '2a08:2142:302:3::/64' -o vmbr0 -j SNAT --to-source 192.168.0.1
+       post-up ip6tables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
+       post-down ip6tables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
+       bridge_ports vxlan_myvnet2
+       bridge_stp off
+       bridge_fd 0
+       mtu 1450
+       ip6-forward on
+       arp-accept on
        vrf vrf_myzone
 
 auto vrf_myzone
 iface vrf_myzone
        vrf-table auto
+       post-up ip route del vrf vrf_myzone unreachable default metric 4278198272
 
 auto vrfbr_myzone
 iface vrfbr_myzone
@@ -40,3 +58,11 @@ iface vxlan_myvnet
        bridge-learning off
        bridge-arp-nd-suppress on
        mtu 1450
+
+auto vxlan_myvnet2
+iface vxlan_myvnet2
+       vxlan-id 200
+       vxlan-local-tunnelip 192.168.0.1
+       bridge-learning off
+       bridge-arp-nd-suppress on
+       mtu 1450