annotate modules/privat/templates/eth0.epp @ 449:4a6ad700cded

Update config for real Raspberry Pi host * Add node config * Change Amavis setup because of Ubuntu differences * Change secondary IP address setup because Ubuntu still uses older networking approach * Make Postfix config more flexible
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Jul 2023 15:30:19 +0100
parents
children 8a3c3eb60fdd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
449
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <%- |
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 Stdlib::IP::Address::V6 $default_address,
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 Stdlib::IP::Address::V6 $gateway_address,
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 Stdlib::IP::Address::V6 $prefix_address, # Not actually an IP, but looks like one
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 | -%>
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 auto eth0
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 no-auto-down eth0
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 iface eth0 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 address <%= $default_address %>
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 gateway <%= $gateway_address %>
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 iface eth0:1 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 address <%= $prefix_address %>:1
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 iface eth0:2 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 address <%= $prefix_address %>:2
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 iface eth0:3 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 address <%= $prefix_address %>:3
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 iface eth0:4 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 address <%= $prefix_address %>:4
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 iface eth0:5 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 address <%= $prefix_address %>:5
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 iface eth0:6 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 address <%= $prefix_address %>:6
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 iface eth0:7 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 address <%= $prefix_address %>:7
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 iface eth0:8 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 address <%= $prefix_address %>:8
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 iface eth0:9 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 address <%= $prefix_address %>:9
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 netmask 64
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 iface eth0:10 inet6 static
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 address <%= $prefix_address %>:10
4a6ad700cded Update config for real Raspberry Pi host
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 netmask 64