]> git.proxmox.com Git - pve-network.git/blame - test/zones/evpn/exitnode_snat/expected_sdn_interfaces
tests: fix evpn vrf
[pve-network.git] / test / zones / evpn / exitnode_snat / expected_sdn_interfaces
CommitLineData
82f6b09f
AD
1#version:1
2
3auto myvnet
4iface myvnet
5 address 10.0.0.1/24
6 post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/24' -o vmbr0 -j SNAT --to-source 192.168.0.1
7 post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/24' -o vmbr0 -j SNAT --to-source 192.168.0.1
8 post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
9 post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
10 bridge_ports vxlan_myvnet
11 bridge_stp off
12 bridge_fd 0
13 mtu 1450
14 vrf vrf_myzone
15
16auto vrf_myzone
17iface vrf_myzone
18 vrf-table auto
a8fb936d 19 post-up ip route add vrf vrf_myzone unreachable default metric 4278198272
82f6b09f
AD
20
21auto vrfbr_myzone
22iface vrfbr_myzone
23 bridge-ports vrfvx_myzone
24 bridge_stp off
25 bridge_fd 0
26 mtu 1450
27 vrf vrf_myzone
28
29auto vrfvx_myzone
30iface vrfvx_myzone
31 vxlan-id 1000
32 vxlan-local-tunnelip 192.168.0.1
33 bridge-learning off
34 bridge-arp-nd-suppress on
35 mtu 1450
36
37auto vxlan_myvnet
38iface vxlan_myvnet
39 vxlan-id 100
40 vxlan-local-tunnelip 192.168.0.1
41 bridge-learning off
42 bridge-arp-nd-suppress on
43 mtu 1450