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

(WIP) Adding support for DS-lite (IPv4 over IPv6) #4335

Closed
wants to merge 3 commits into from

Conversation

noctarius
Copy link
Contributor

Updated version of the DS-lite patch with UI to configure the DS-lite parameters, such as AFTR address and DHCPv6 retrieval of the address if available. The patch is not tested yet and only updated to the current source base, which is very different from what it was in 2018.

This pull request is still work in progress. Unfortunately I have to have external help to test it, since I don't have a DS-lite based internet connection anymore. The original reason why I stopped working on the codebase.

… parameters, such as AFTR address and DHCPv6 retrieval of the address if available. The patch is not tested yet and only updated to the current source base, which is very different from what it was in 2018.
@noctarius
Copy link
Contributor Author

@fichtner I'd be glad to get some feedback, especially on the part configuring the gateway. That seems to be completely different from what it was when I originally wrote the patch. DS-lite connections, when set up, always use 192.0.0.1 as the IPv4 endpoint gateway (which will then be the default gateway).

@EDanee
Copy link

EDanee commented Jan 16, 2021

Hi @noctarius !

I'm trying to test this PR but after I selecting the DS-Lite option on my WAN interface and clicking on Save the IPv4 field changes back to None.

I'm on OPNsense 21.1.r_47

A quick update:

  • I managed to 'select' dslite by creating a backup of the configuration, manually changing the value (+ adding aftr) and restoring the backup
  • dhcp6c failed on line 6 (request raw-option 64 00;) after commenting that out everything worked, tunnel is up, routing has been updated

@noctarius
Copy link
Contributor Author

Good catch, if there's a fixed AFTR configuration you wouldn't need the dhcp6c option anyways. But nice that it already comes up again.

For the setting through the UI, sounds like saving doesn't really work right now.... hu?! Need to look into it.

@AdSchellevis
Copy link
Member

timeout, maybe for a future release.

@fichtner
Copy link
Member

@noctarius we've recently made an effort to get this up and running natively with a GIF attached to IPv6 only setup: 315153a07 -- if you still have such a setup it'd be night to look into this with you if anything else from your patching may still be useful.

@noctarius
Copy link
Contributor Author

@noctarius we've recently made an effort to get this up and running natively with a GIF attached to IPv6 only setup: 315153a07 -- if you still have such a setup it'd be night to look into this with you if anything else from your patching may still be useful.

Hey @fichtner! Sorry for the late late laaaaaaate answer. Unfortunately, I'm not able to test it anymore. Vodafone configures the line as either dual stack and DSlite.

@fichtner
Copy link
Member

No worries. It appears to work fine nowadays with the improvements from our side. Still appreciate your early work and PR on it!

Cheers,
Franco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants