]> git.proxmox.com Git - mirror_ifupdown2.git/blob - docs/examples/interfaces_with_template
.gitignore: pycharm remote execution update
[mirror_ifupdown2.git] / docs / examples / interfaces_with_template
1 #
2 # Example interfaces file using mako templates
3 #
4 # The below section can be copied into
5 # /etc/network/interfaces file
6 # or
7 # to a file under /etc/network/interfaces.d/
8 # and include in the interfaces file using the
9 # 'source' command.
10 #
11 # see manpage interfaces(5) for details
12 #
13 #
14
15 %for v in range(1000,1100):
16 auto vlan-${v}
17 iface vlan-${v} inet static
18 bridge-ports glob swp1-6.${v}
19 bridge-stp on
20 bridge-ageing 200
21 bridge-maxage 10
22 bridge-fd 10
23 %endfor
24