comparison 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
comparison
equal deleted inserted replaced
448:460bf6514bd8 449:4a6ad700cded
1 <%- |
2 Stdlib::IP::Address::V6 $default_address,
3 Stdlib::IP::Address::V6 $gateway_address,
4 Stdlib::IP::Address::V6 $prefix_address, # Not actually an IP, but looks like one
5 | -%>
6 auto eth0
7 no-auto-down eth0
8 iface eth0 inet6 static
9 address <%= $default_address %>
10 netmask 64
11 gateway <%= $gateway_address %>
12 iface eth0:1 inet6 static
13 address <%= $prefix_address %>:1
14 netmask 64
15 iface eth0:2 inet6 static
16 address <%= $prefix_address %>:2
17 netmask 64
18 iface eth0:3 inet6 static
19 address <%= $prefix_address %>:3
20 netmask 64
21 iface eth0:4 inet6 static
22 address <%= $prefix_address %>:4
23 netmask 64
24 iface eth0:5 inet6 static
25 address <%= $prefix_address %>:5
26 netmask 64
27 iface eth0:6 inet6 static
28 address <%= $prefix_address %>:6
29 netmask 64
30 iface eth0:7 inet6 static
31 address <%= $prefix_address %>:7
32 netmask 64
33 iface eth0:8 inet6 static
34 address <%= $prefix_address %>:8
35 netmask 64
36 iface eth0:9 inet6 static
37 address <%= $prefix_address %>:9
38 netmask 64
39 iface eth0:10 inet6 static
40 address <%= $prefix_address %>:10
41 netmask 64