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

Support nat64 #12

Merged
merged 1 commit into from
Jun 6, 2017
Merged

Support nat64 #12

merged 1 commit into from
Jun 6, 2017

Conversation

bukepo
Copy link
Member

@bukepo bukepo commented Jun 2, 2017

This PR enables NAT64 service.

@bukepo bukepo requested review from lanyuwen and jwhui June 2, 2017 08:16
Copy link
Member

@lanyuwen lanyuwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks script/_nat64 was not added? :)

@bukepo
Copy link
Member Author

bukepo commented Jun 2, 2017

Thanks, added now.

@bukepo
Copy link
Member Author

bukepo commented Jun 5, 2017

The reserved prefix 64:ff9b:1::/48 is not allowed by tayga currently, so this PR doesn't change the prefix, leaving it as the default value 2001:db8:1:ffff::/96. Thoughts? @jwhui

@jwhui
Copy link
Member

jwhui commented Jun 5, 2017

I think this is fine for now. The new prefix is still in draft-spec stage and not yet an RFC.

@jwhui
Copy link
Member

jwhui commented Jun 5, 2017

@bukepo, can you add/create wiki content for configuring/using the NAT64 service?

@lanyuwen
Copy link
Member

lanyuwen commented Jun 6, 2017

2001:db8:1:ffff::/96 would be an option, it can be used to support NAT of both global and private IPv4 addresses, but the flaw may be that "2001:db8::/32" prefix was designated for documentation only purpose [RFC3849]

Another option of prefix would be using the well-known prefix 64:ff9b::/96 defined in RFC6052. The benefit would be that since it's a widely used NAT64 prefix, and we can use some public DNS64 service instead of deploying our own. For example, Google provides a public DNS64 server which bonds responses to "64:ff9b::/96" prefix. Drawback is that this prefix is not allowed to use for private IPv4 addresses such as "192.168.1.xxx".

No matter which one to use here, we should allow people to configure it easily. Hopefully we can make it done through #23 soon. The question mainly is about which one to use for default prefix when people don't care about it at all.

Any thoughts on which one to use for default? @jwhui

@jwhui
Copy link
Member

jwhui commented Jun 6, 2017

Yes, 2001:db8::/32 is reserved for documentation purposes only and should not be used in practice. The default should be the well-known prefix 64::ff9b::/96 RFC 6052. I also agree we should allow a user to manually configure the NAT64 prefix.

Long-term, we should support the prefix reserved for Local-use IPv4/IPv6 Translation draft-ietf-v6ops-v4v6-xlat-prefix-00.

@bukepo
Copy link
Member Author

bukepo commented Jun 6, 2017

Thanks for your suggestions. I will update this PR and create wiki page later. @jwhui @lanyuwen

@bukepo bukepo requested review from lanyuwen and jwhui and removed request for lanyuwen and jwhui June 6, 2017 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants