IPv6 loadbalancing with keepalived/IPVS is not possible due to missing CONFIG_IP_VS_IPV6 kernel config

Open
#2,860 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start by reviewing the Raspberry Pi kernel configuration and the CONFIG_IP_VS_IPV6 setting, then reproduce the issue with the provided ipvsadm commands and inspect /proc/config.gz. The work is done when IPv6 IPVS setup succeeds on the affected Raspberry Pi kernels and the configuration is verified.

Written by the indexing model from the issue text.

Description

Waiting for external input

Describe the bug
It´s not possible to set up IPv6 capable IP virtual servers (IPVS).

An Ubuntu related issue can be found here

To reproduce
Install ipvsadm and try to add a trivial IPv6-IPVS:

ipvsadm -A -t [fc00::1]:80
ipvsadm -a -t [fc00::1]:80 -r [fc00::3]:80 -g
Resource temporarily unavailable

AFAIK the kernel config attribute CONFIG_IP_VS_IPV6 must be enabled, but it´s not. To get the current kernel config run this:

modprobe configs
zgrep CONFIG_IP_VS_IPV6 /proc/config.gz 
# CONFIG_IP_VS_IPV6 is not set

Expected behaviour
Setup of IPv6 based IPVS is possible ;)

Actual behaviour
Setup of IPv6 based IPVS is not possible ;)

System
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:

  • Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW
    Pi1, Pi3, Pi3B+

  • Which OS and version (cat /etc/rpi-issue)?
    Raspberry Pi reference 2017-03-02
    Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, f563e32202fad7180c9058dc3ad70bfb7c09f0fb, stage2

  • Which firmware version (vcgencmd version)?
    Nov 4 2018 16:32:03
    Copyright (c) 2012 Broadcom
    version ed5baf9520a3c4ca82ba38594b898f0c0446da66 (clean) (release)

  • Which kernel version (uname -a)?
    4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
    4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l GNU/Linux

Logs
Not needed from my point of view

Additional context
Relevant for IPv6 load balancing with Docker/LXD

Thank you very much in advance for your attantion and help.
Dominik

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.