]> git.proxmox.com Git - pve-network.git/blob - test/zones/evpn/exitnode_snat/expected_sdn_interfaces
b364a5840c8e78104e5709b41d09e520f9ee30fa
[pve-network.git] / test / zones / evpn / exitnode_snat / expected_sdn_interfaces
1 #version:1
2
3 auto myvnet
4 iface 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
16 auto vrf_myzone
17 iface vrf_myzone
18 vrf-table auto
19
20 auto vrfbr_myzone
21 iface vrfbr_myzone
22 bridge-ports vrfvx_myzone
23 bridge_stp off
24 bridge_fd 0
25 mtu 1450
26 vrf vrf_myzone
27
28 auto vrfvx_myzone
29 iface vrfvx_myzone
30 vxlan-id 1000
31 vxlan-local-tunnelip 192.168.0.1
32 bridge-learning off
33 bridge-arp-nd-suppress on
34 mtu 1450
35
36 auto vxlan_myvnet
37 iface vxlan_myvnet
38 vxlan-id 100
39 vxlan-local-tunnelip 192.168.0.1
40 bridge-learning off
41 bridge-arp-nd-suppress on
42 mtu 1450