Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
543ad771
Commit
543ad771
authored
Feb 27, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxd: configure ipv6 for containers
parent
bfa13a30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
playbooks/roadhouse.yml
playbooks/roadhouse.yml
+2
-1
roles/lxd/templates/dnsmasq.conf.j2
roles/lxd/templates/dnsmasq.conf.j2
+1
-1
roles/lxd/templates/lxd-bridge-default.j2
roles/lxd/templates/lxd-bridge-default.j2
+8
-8
No files found.
playbooks/roadhouse.yml
View file @
543ad771
...
...
@@ -25,4 +25,5 @@
-
role
:
lxd
subnet
:
10.48.14
subnet
:
10.0.0
subnet6
:
2001:470:b368:4242
roles/lxd/templates/dnsmasq.conf.j2
View file @
543ad771
server=/lxd/{{ subnet }}.1
server=/lxd/{{ subnet
4
}}.1
bind-interfaces
except-interface=lxdbr0
roles/lxd/templates/lxd-bridge-default.j2
View file @
543ad771
...
...
@@ -17,16 +17,16 @@ LXD_DOMAIN="lxd"
# IPv4
## IPv4 address (e.g. 10.0.8.1)
LXD_IPV4_ADDR="{{ subnet }}.1"
LXD_IPV4_ADDR="{{ subnet
4
}}.1"
## IPv4 netmask (e.g. 255.255.255.0)
LXD_IPV4_NETMASK="255.255.255.0"
## IPv4 network (e.g. 10.0.8.0/24)
LXD_IPV4_NETWORK="{{ subnet }}.0/24"
LXD_IPV4_NETWORK="{{ subnet
4
}}.0/24"
## IPv4 DHCP range (e.g. 10.0.8.2,10.0.8.254)
LXD_IPV4_DHCP_RANGE="{{ subnet
}}.2,{{ subnet
}}.254"
LXD_IPV4_DHCP_RANGE="{{ subnet
4 }}.2,{{ subnet4
}}.254"
## IPv4 DHCP number of hosts (e.g. 250)
LXD_IPV4_DHCP_MAX="252"
...
...
@@ -36,16 +36,16 @@ LXD_IPV4_NAT="true"
# IPv6
## IPv6 address (e.g. 2001:470:b368:4242::1)
LXD_IPV6_ADDR=""
LXD_IPV6_ADDR="
{{ subnet6 }}::1
"
## IPv6 CIDR mask (e.g. 64)
LXD_IPV6_MASK=""
LXD_IPV6_MASK="
64
"
## IPv6 network (e.g. 2001:470:b368:4242::/64)
LXD_IPV6_NETWORK=""
LXD_IPV6_NETWORK="
{{ subnet6 }}::/64
"
## NAT IPv6 traffic
LXD_IPV6_NAT="
fals
e"
LXD_IPV6_NAT="
tru
e"
# Run a minimal HTTP PROXY server
LXD_IPV6_PROXY="
tru
e"
LXD_IPV6_PROXY="
fals
e"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment