- 
                Notifications
    
You must be signed in to change notification settings  - Fork 85
 
vxlan: Add support for IPv6 vxlan-local-tunnelip #315
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
base: master
Are you sure you want to change the base?
Conversation
This commit adds the option to pass an IPv6 address instead of an IPv4 address to use as local tunnel IP address. With this change it's possible to use IPv6 as the underlay for a VXLAN based network without the need for IPv4.
          vxlan-remoteip needs to allow ipv6 too (was this PR tested?)  | 
    
          
 Only in case you set a static address. I didn't test that part as I mainly work with EVPN and BGP with VXLAN.  | 
    
          
 It maps to  So this PR is on the right track, but I think it should add support for static IPv6 VXLAN tunnels as well, not just   | 
    
| 
           I agree  I am glad there isn't support for splitting up the attributes, that seemed like a poor choice. But it's been almost 5 years with no progress on supporting IPv6 in vxlan in ifupdown2.  | 
    
| 
           Is it only ifupdown2 that needs to add support, ie. the kernel (via things like iproute2) already supports it?  | 
    
| 
           git blame on iproute2 shows it has supported IPv6 since vxlan was added to iproute2 13 years ago ifupdown2 somehow still does not support it, and over the years, has ignored patches to support it (which you pointed to), despite issue being brought up in discussions all the way back in 2018 (#50) It looks like ifupdown-ng doesn't have any issues with IPv6 in this case either, their commit to merge vxlan support in 2020 does not appear to have any v4/v6 sensitivities. They however are just calling  This patch has been floating around for 5 months now with no action to merge. Sure, the remoteip issue probably should be fixed, but that won't stop anyone using EVPN, and a patch to fix remoteip was already submitted 5 years ago (#172) that we could pull from, except Julien rejected that one for dumb reasons. @julienfortin who do we have to ping to get stuff merged into ifupdown2? It's embarrassing how long it's taken to get proper IPv6 support here  | 
    
| 
           I will try to get some work done in this PR to add the missing IPv6 features. iproute2 is indeed not the problem, it's ifupdown2.  | 
    
| 
           @apalrd nothing prevents you from taking any patches you want on your own local copy and building your own deb :) There's already enough work for me, I'm slow taking on patches as I don't want to introduces conflicts and regression. I'll try to push my latest changes soon.  | 
    
| 
           I built my own deb from #172 a year ago and I've been happy with it. I'm trying to support other installations and not having v6 support for vxlan in Proxmox is kinda a big deal for me. I could hand off my debs to everyone who asks for it, but I could also work to get the changes merged upstream. The Proxmox team is basically deciding on if they should keep their own patch set for this or waiting for upstream (this repo) to merge them, and don't want to merge a patch which will be rejected here if the attribute names may change - since you previously demanded a new attribute   | 
    
          
 
 Yeah, the reasons I'm interested in this, as it'll mean either a fork of this repo to makes things work in PVE etc. or somebody assisting you in making it "official" and we don't have yet another fork in the wild  | 
    
      
        
              This comment was marked as outdated.
        
        
      
    
  This comment was marked as outdated.
| 
           @julienfortin Do you have any changes on your end which would affect vxlan, or do you mean 'your changes' (and presumably Nvidia's changes) in general?  | 
    
          
 My changes are Nvidia changes. I pushed most of it a few months ago - since then we've fixed a few issues and added a couple features/policies (there's not a lot of new changes in the vxlan addon). In the next few weeks i'll also be working on some refactorings and performance improvements. I can try to reach out to a debian dev to make a new upload. If you know any please tag them :)  | 
    
          
 Hi, is there any reason to not merge this PR? github says it applies cleanly. Thanks!  | 
    
| 
           @julienfortin Do you happen to have any news regarding the merging of this PR into the upstream ifupdown2 ?  | 
    
| 
           @juleienfortin do you need more maintainer help for ifupdown2? This PR has been around for almost a year now, and it solves the same issue as another open and PR from 2020 which you also never merged. As far as we know there is nothing wrong with either of these PRs, they just need to be reviewed by you to be merged. If nvidia is unable to support ifupdown2 then the community would be happy to review PRs.  | 
    
This commit adds the option to pass an IPv6 address instead of an IPv4 address to use as local tunnel IP address. With this change it's possible to use IPv6 as the underlay for a VXLAN based network without the need for IPv4.