Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 #53

Open
zamatscha opened this issue Sep 5, 2019 · 4 comments
Open

IPv6 #53

zamatscha opened this issue Sep 5, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@zamatscha
Copy link

We're had problems setting this hole thing up, till we disabled the ipv6 in the windows clients for dns.

We suggest an FAQ or a hint on the install instructions that people should disable their ipv6 on clients?!

Thanks for lancache!

@Candunc
Copy link

Candunc commented Sep 13, 2019

Docker doesn't support dual stack network (At least the last time I looked into this issue) so you must either disable IPv6 DNS lookup or manually set up an IPv6 DNS server with the proper domains forwarded.

In lieu of IPv6 support I agree there should be a note to disable IPv6 DNS lookup on the clients, even if it's implicitly made obvious by echo Please configure your router/dhcp server to serve dns as $HOST_IP in the example script.

@astrolox astrolox self-assigned this Nov 4, 2019
@astrolox astrolox added the enhancement New feature or request label Nov 4, 2019
@GotenXiao
Copy link
Member

One way to achieve dual-stack IPv4/IPv6 support when using Docker is to use the macvlan network driver.

As an example in docker-compose syntax:

version: '2.3'

services:
  # this service is simply here as an anchor for the networks
  hodor:
    image: tianon/true
    restart: no
    networks:
      vlan8:

networks:
  vlan8:
    name: vlan8
    driver: macvlan
    driver_opts:
      # the dotted suffix here is a VLAN identifier
      # you can also specify the exact name of a host interface
      parent: enp1s0.8 
    enable_ipv6: true
    ipam:
      config:
        - subnet: 10.255.255.0/24
          # the gateway address must be a router on this subnet
          gateway: 10.255.255.1
          # this will result in 10.255.255.64 - 10.255.255.127 being available in the IP pool for containers
          ip_range: 10.255.255.64/26
        - subnet: '2001:db8:6c61:6e::/64'
          gateway: '2001:db8:6c61:6e::1'
          # this will result in 2001:0db8:6c61:6e:1:: - 2001:0db8:6c61:6e:1:ffff:ffff:ffff being in the pool
          ip_range: '2001:db8:6c61:6e:1::/80'  

I'd generally advise manually creating the network using docker network create however.

@recklessnl
Copy link

How is IPv6 support looking now? I now have an IPv6 native ISP connection so I can't disable IPv6 on the Monolithic docker container server. What is the recommended workaround, or when will IPv6 be properly supported?

@crkinard
Copy link

Haven't tried it yet because my ISP chances the ipv6 prefix every so often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants