site  contact  subhomenews

Kernel 4.14.79 with ipvlan support

November 09, 2018 — BarryK

I posted earlier this year about configuring the kernel for veth and macvlan support:

http://bkhome.org/news/201701/kernel-4445-compiled.html

...though, I think that should have been the "4.14.45" kernel.

I posted earlier today about macvlan bridging into containers not working for wifi:

http://bkhome.org/news/201811/macvlan-bridge-does-not-work-for-wifi.html

So, started to experiment, but found that the Linux kernel is not configured to support ipvlan. CONFIG_IPVLAN is supposed to be enabled, but I had overlooked it, as it is not even listed as disabled in the .config file. How can I enable it, if it isn't even offered?

After a bit of research, discovered that something else has to be enabled, then CONFIG_IPVLAN appears and can be enabled. So, compiled the 4.14.79 kernel, with these changes:

Networking support
Networking options
[*] L3 master device support (CONFIG_NET_L3_MASTER_DEV)
Device drivers
Network device support
<*> IP-VLAN support (CONFIG_IPVLAN)

The kernel source, patches and build scripts, are here:

http://distro.ibiblio.org/easyos/source/kernel/4.14.79/

Tomorrow morning, planning to play with ipvlan! 

Tags: easy