linuxkit icon indicating copy to clipboard operation
linuxkit copied to clipboard

Add VRF kernel module

Open barajus opened this issue 4 years ago • 11 comments

- What I did Added kernel mode for VRF

- Description for the changelog

Hi! LinuxKit is used for Docker for Mac, but since VRF is not enabled, every container who needs VRF and L3 segmentation are broken by design. https://www.kernel.org/doc/html/latest/networking/vrf.html https://man7.org/linux/man-pages/man8/ip-vrf.8.html

That would be very helpful to enable it, since a lot of networking simulation tools and containers rely on this feature :(

root@6fe1680126e4:/# ip link add vrf-blue type vrf table 10
RTNETLINK answers: Operation not permitted
root@6fe1680126e4:/# insmod vrf
insmod: ERROR: could not load module vrf: No such file or directory

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Julien Dhaille [email protected]

barajus avatar May 05 '22 16:05 barajus

@barajus sorry for the delay. Could you add a "Signed-off-by: " line to your commit to make the failing DCO action happy? Thanks!

djs55 avatar Jul 22 '22 13:07 djs55

Hi, I just force-pushed with an amended comment. Thank for considering these changes, that would be very helpful :) Julien

barajus avatar Jul 22 '22 19:07 barajus

Hi! Any chances to get an update on this one? Thanks :)

barajus avatar Aug 02 '22 11:08 barajus

Hi @djs55 Do you think it will be possible to consider this PR? sorry the noise :)

barajus avatar Sep 13 '22 14:09 barajus

This would be pretty epic to enable as I imagine people are still hitting this. Any chance this could be rebased and merged?

mestery avatar Jul 10 '23 21:07 mestery

@barajus this is still not passing the DCO check either, I think you need to update the actual commit with a correct "Signed-off-by". This can be done by doing this: git commit --amend -s, which will amend it.

mestery avatar Jul 10 '23 21:07 mestery

Hi @mestery, I just amed the commit, but it looks like DCO is still stuck :(

barajus avatar Jul 11 '23 07:07 barajus

We really need to get the DCO fixed on this and have this merged. Can someone from the linuxkit team help out here? There are valid use cases for enabling the VRF module, and it would be ideal to get this added.

mestery avatar Dec 07 '23 20:12 mestery

Hi @mestery, I just amed the commit, but it looks like DCO is still stuck :(

One of your commits still is incorrect and contains this, can you make them all as below:

Signed-off-by: barajus <[email protected]>

Also, you have a merge commit in here, not sure if that is causing problems as well.

Maybe you should just rebase your branch, squash into a single commit and fix the DCO and re-push.

mestery avatar Dec 07 '23 20:12 mestery

Looks like the DCO has not been fixed. @barajus do you want to squash the commit down to one and ensure it is signed? Conversely, @mestery , if you are active on this and want to open this in a new PR (with a single signed commit), we can get that in as soon as CI is clean.

deitch avatar Dec 11 '23 08:12 deitch

Looks like the DCO has not been fixed. @barajus do you want to squash the commit down to one and ensure it is signed? Conversely, @mestery , if you are active on this and want to open this in a new PR (with a single signed commit), we can get that in as soon as CI is clean.

I created https://github.com/linuxkit/linuxkit/pull/3966 to hopefully get this merged. Thanks!

mestery avatar Dec 11 '23 15:12 mestery

+1 I'm also interested in this feature

floatingstatic avatar Mar 28 '24 19:03 floatingstatic

This is merged upstream in https://github.com/linuxkit/linuxkit/pull/3966.

@deitch we should probably close this one now.

mestery avatar Mar 28 '24 21:03 mestery

We did! And many thanks to @mestery for providing it. It is in the 6.6.x kernel.

deitch avatar Mar 29 '24 07:03 deitch