WIP Enabled support for ipv6. Plus feature of multiple ips for macvlans.#94
Open
pamidur wants to merge 2 commits intolancachenet:masterfrom
Open
WIP Enabled support for ipv6. Plus feature of multiple ips for macvlans.#94pamidur wants to merge 2 commits intolancachenet:masterfrom
pamidur wants to merge 2 commits intolancachenet:masterfrom
Conversation
Author
|
When setup in my lan together with lancache-dns-ipv6: Download speeds are good. |
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IPV6
This PR removes limitations that prevents ipv6 usage.
With this changes user can run cache with ipv6 support.
In case no macvlan is setup but docker is configured for ipv6 support
In case macvlan (name publan) network is setup
Note, how to setup UPSTREAM_DNS ip (+ optional port) properly.
Ipv6 :
[fd01::1]:6453 [fd01::2]Ipv4 :
8.8.8.8 1.1.1.1:53mixed :
8.8.8.8 [fd01::1]:6453ADDITIONAL IPS
This feature requires macvlan to be setup and the container to be granted NET_ADMIN capability.
Since when using macvlan only one external IP can be set (one ipv4 + one ipv6) , this feature makes container to use additional IPs.
Assuming macvlan is set like this:
User can run the container like this:
TEST
You can get images for testing here: https://hub.docker.com/r/pamidur/lancache/tags