MSHorne89 ревизій цього gist . До ревизії
1 file changed, 1 insertion, 1 deletion
gistfile1.txt
@@ -12,7 +12,7 @@ services: | |||
12 | 12 | ipv4_address: 192.168.178.2 # change it to your internal IPv4 exisitng network | |
13 | 13 | ipv6_address: xxxx:xxxx:xxxx:xxxx::2 # fixed external IPv6/64 prefix + your own private /64 identifier | |
14 | 14 | macvlan-bridge: | |
15 | - | ipv4_address: 172.16.0.1 # randon private ipv4 address which is not in the same segment as above | |
15 | + | ipv4_address: 172.16.0.2 # randon private ipv4 address which is not in the same segment as above | |
16 | 16 | ipv6_address: xxxx:xxxx:xxxx:xxxx::2 # random ipv6 address which has not the same prefix as above | |
17 | 17 | ||
18 | 18 | networks: |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 2 insertions, 2 deletions
gistfile1.txt
@@ -4,8 +4,8 @@ services: | |||
4 | 4 | image: adguard/adguardhome:latest | |
5 | 5 | container_name: adguard | |
6 | 6 | volumes: | |
7 | - | - /volume1/docker/adguard/config:/opt/adguardhome/conf:rw | |
8 | - | - /volume1/docker/adguard/data:/opt/adguardhome/work/data:rw | |
7 | + | - /volume1/docker/adguard/config:/opt/adguardhome/conf | |
8 | + | - /volume1/docker/adguard/data:/opt/adguardhome/work/data | |
9 | 9 | restart: always | |
10 | 10 | networks: | |
11 | 11 | macvlan-host: |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 2 insertions, 2 deletions
gistfile1.txt
@@ -37,8 +37,8 @@ networks: | |||
37 | 37 | driver: bridge | |
38 | 38 | ipam: | |
39 | 39 | config: | |
40 | - | - subnet: "172.16.0.0/24" # paste in a random private subnet address (look on your router) | |
41 | - | gateway: "172.16.0.1" # paste in a random private gateway address (look on your router) | |
40 | + | - subnet: "172.16.0.0/24" # paste in a random private subnet address | |
41 | + | gateway: "172.16.0.1" # paste in a random private gateway address | |
42 | 42 | ip_range: "172.16.0.2/32" # the ip range for addresses for this bridge. Paste in your choosen address from 15 (/32 means only one to use) | |
43 | 43 | - subnet: "xxxx:xxxx:xxxx:xxxx::/64" # paste in a random private ipv6 subnet address | |
44 | 44 | gateway: "xxxx:xxxx:xxxx:xxxx::1" # paste in a random private ipv6 gateway address |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 1 insertion, 1 deletion
gistfile1.txt
@@ -9,7 +9,7 @@ services: | |||
9 | 9 | restart: always | |
10 | 10 | networks: | |
11 | 11 | macvlan-host: | |
12 | - | ipv4_address: 192.168.178.2 x change it to your internal IPv4 exisitng network | |
12 | + | ipv4_address: 192.168.178.2 # change it to your internal IPv4 exisitng network | |
13 | 13 | ipv6_address: xxxx:xxxx:xxxx:xxxx::2 # fixed external IPv6/64 prefix + your own private /64 identifier | |
14 | 14 | macvlan-bridge: | |
15 | 15 | ipv4_address: 172.16.0.1 # randon private ipv4 address which is not in the same segment as above |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 1 insertion, 1 deletion
gistfile1.txt
@@ -37,7 +37,7 @@ networks: | |||
37 | 37 | driver: bridge | |
38 | 38 | ipam: | |
39 | 39 | config: | |
40 | - | - subnet: "172.16..0/24" # paste in a random private subnet address (look on your router) | |
40 | + | - subnet: "172.16.0.0/24" # paste in a random private subnet address (look on your router) | |
41 | 41 | gateway: "172.16.0.1" # paste in a random private gateway address (look on your router) | |
42 | 42 | ip_range: "172.16.0.2/32" # the ip range for addresses for this bridge. Paste in your choosen address from 15 (/32 means only one to use) | |
43 | 43 | - subnet: "xxxx:xxxx:xxxx:xxxx::/64" # paste in a random private ipv6 subnet address |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 1 deletion
gistfile1.txt
@@ -31,7 +31,6 @@ networks: | |||
31 | 31 | gateway: "xxxx:xxxx:xxxx:xxxx::1" # paste in your existing private ipv6 gateway address (look on your router) | |
32 | 32 | ip_range: "xxxx:xxxx:xxxx:xxxx::2/128" # the ip range for ipv6 addresses for this macvlan. Past in your choosen address from 13 (/128 means only one to use) | |
33 | 33 | ||
34 | - | ||
35 | 34 | macvlan-bridge: | |
36 | 35 | name: macvlan-bridge | |
37 | 36 | enable_ipv6: true |
MSHorne89 ревизій цього gist . До ревизії
1 file changed, 46 insertions
gistfile1.txt(файл створено)
@@ -0,0 +1,46 @@ | |||
1 | + | version: "3" | |
2 | + | services: | |
3 | + | adguard: | |
4 | + | image: adguard/adguardhome:latest | |
5 | + | container_name: adguard | |
6 | + | volumes: | |
7 | + | - /volume1/docker/adguard/config:/opt/adguardhome/conf:rw | |
8 | + | - /volume1/docker/adguard/data:/opt/adguardhome/work/data:rw | |
9 | + | restart: always | |
10 | + | networks: | |
11 | + | macvlan-host: | |
12 | + | ipv4_address: 192.168.178.2 x change it to your internal IPv4 exisitng network | |
13 | + | ipv6_address: xxxx:xxxx:xxxx:xxxx::2 # fixed external IPv6/64 prefix + your own private /64 identifier | |
14 | + | macvlan-bridge: | |
15 | + | ipv4_address: 172.16.0.1 # randon private ipv4 address which is not in the same segment as above | |
16 | + | ipv6_address: xxxx:xxxx:xxxx:xxxx::2 # random ipv6 address which has not the same prefix as above | |
17 | + | ||
18 | + | networks: | |
19 | + | macvlan-host: | |
20 | + | name: macvlan-host | |
21 | + | enable_ipv6: true | |
22 | + | driver: macvlan | |
23 | + | driver_opts: | |
24 | + | parent: eth0 | |
25 | + | ipam: | |
26 | + | config: | |
27 | + | - subnet: "192.168.178.0/16" # paste in your existing private subnet address (look on your router) | |
28 | + | gateway: "192.168.178.1" # paste in your existing private gateway address (look on your router) | |
29 | + | ip_range: "192.168.178.2/32" # the ip range for addresses for this macvlan. Past in your choosen address from 12 (/32 means only one to use) | |
30 | + | - subnet: "xxxx:xxxx:xxxx:xxxx::/64" # paste in your existing private ipv6 subnet address (look on your router) | |
31 | + | gateway: "xxxx:xxxx:xxxx:xxxx::1" # paste in your existing private ipv6 gateway address (look on your router) | |
32 | + | ip_range: "xxxx:xxxx:xxxx:xxxx::2/128" # the ip range for ipv6 addresses for this macvlan. Past in your choosen address from 13 (/128 means only one to use) | |
33 | + | ||
34 | + | ||
35 | + | macvlan-bridge: | |
36 | + | name: macvlan-bridge | |
37 | + | enable_ipv6: true | |
38 | + | driver: bridge | |
39 | + | ipam: | |
40 | + | config: | |
41 | + | - subnet: "172.16..0/24" # paste in a random private subnet address (look on your router) | |
42 | + | gateway: "172.16.0.1" # paste in a random private gateway address (look on your router) | |
43 | + | ip_range: "172.16.0.2/32" # the ip range for addresses for this bridge. Paste in your choosen address from 15 (/32 means only one to use) | |
44 | + | - subnet: "xxxx:xxxx:xxxx:xxxx::/64" # paste in a random private ipv6 subnet address | |
45 | + | gateway: "xxxx:xxxx:xxxx:xxxx::1" # paste in a random private ipv6 gateway address | |
46 | + | ip_range: "xxxx:xxxx:xxxx:xxxx::2/128" # the ip range for ipv6 addresses for this bridge. Past in your choosen address from 16 (/128 means only one to use) |