54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
---
|
|
- name: Configure PPPoE client
|
|
community.routeros.api_modify:
|
|
path: interface pppoe-client
|
|
data:
|
|
- disabled: false
|
|
interface: sfp-sfpplus1
|
|
keepalive-timeout: 2
|
|
name: pppoe-gpon
|
|
password: "{{ routeros_pppoe_password }}"
|
|
# Using CoreDNS container with DNS64
|
|
use-peer-dns: false
|
|
user: "{{ routeros_pppoe_username }}"
|
|
handle_absent_entries: remove
|
|
handle_entries_content: remove_as_much_as_possible
|
|
|
|
- name: Configure 6to4 tunnel interface
|
|
community.routeros.api_modify:
|
|
path: interface 6to4
|
|
data:
|
|
- comment: Hurricane Electric IPv6 Tunnel Broker
|
|
local-address: 139.28.40.212
|
|
mtu: 1472
|
|
name: sit1
|
|
remote-address: 216.66.80.162
|
|
handle_absent_entries: remove
|
|
handle_entries_content: remove_as_much_as_possible
|
|
|
|
- name: Configure veth interface for containers
|
|
community.routeros.api_modify:
|
|
path: interface veth
|
|
data:
|
|
- address: 172.20.0.2/24,2001:470:61a3:500::1/64
|
|
container-mac-address: 7E:7E:A1:B1:2A:7C
|
|
dhcp: false
|
|
gateway: 172.20.0.1
|
|
gateway6: 2001:470:61a3:500:ffff:ffff:ffff:ffff
|
|
mac-address: 7E:7E:A1:B1:2A:7B
|
|
name: veth-tailscale
|
|
comment: Tailscale container
|
|
- address: 172.20.0.3/24
|
|
dhcp: false
|
|
gateway: 172.20.0.1
|
|
name: veth-coredns
|
|
comment: CoreDNS container
|
|
- address: 192.168.239.2/30,fc64::2/126
|
|
dhcp: false
|
|
gateway: 192.168.239.1
|
|
gateway6: fc64::1
|
|
name: veth-tayga
|
|
comment: Tayga NAT64 container
|
|
handle_absent_entries: remove
|
|
handle_entries_content: remove_as_much_as_possible
|