[libvirt] [PATCH v2 0/5] Prevent losing IPv6 routes due to forwarding
Yalan Zhang
yalzhang at redhat.com
Mon Apr 17 09:30:06 UTC 2017
Hi Cédric,
I have tested it, it works well. But the interface name will repeat 2
times.
Please help to confirm this, and if below test for a single port host is
enough?
# cat /proc/sys/net/ipv6/conf/enp0s25/accept_ra
1
enable network default with ipv6 ip section
# virsh net-start default
error: Failed to start network default
error: internal error: Check the host setup: enabling IPv6 forwarding with
RA routes without accept_ra set to 2 is likely to cause routes loss.
Interfaces to look at: enp0s25, enp0s25
# echo 2 > /proc/sys/net/ipv6/conf/enp0s25/accept_ra
# virsh net-start default
Network default started
try create:
# virsh net-create default.xml
error: Failed to create network from default.xml
error: internal error: Check the host setup: enabling IPv6 forwarding with
RA routes without accept_ra set to 2 is likely to cause routes loss.
Interfaces to look at: enp0s25, enp0s25
On Wed, Mar 15, 2017 at 10:45 PM, Cédric Bosdonnat <cbosdonnat at suse.com>
wrote:
> Hi Laine, all,
>
> Here is the v2 of my series. The changes are:
>
> * Add a commit to create a virNetDevGetName() function
> * Fix Laine's comments
>
> Cédric Bosdonnat (5):
> util: extract the request sending code from virNetlinkCommand()
> util: add virNetlinkDumpCommand()
> bridge_driver.c: more uses of SYSCTL_PATH
> util: add virNetDevGetName() function
> network: check accept_ra before enabling ipv6 forwarding
>
> src/libvirt_private.syms | 3 +
> src/network/bridge_driver.c | 25 ++++---
> src/util/virnetdev.c | 19 ++++++
> src/util/virnetdev.h | 2 +
> src/util/virnetdevip.c | 158 ++++++++++++++++++++++++++++++
> ++++++++++++++
> src/util/virnetdevip.h | 1 +
> src/util/virnetlink.c | 145 ++++++++++++++++++++++++++++++
> ----------
> src/util/virnetlink.h | 9 +++
> 8 files changed, 319 insertions(+), 43 deletions(-)
>
> --
> 2.11.0
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
--
Best Regards,
Yalan Zhang
IRC: yalzhang
Internal phone: 8389413
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170417/2c1b6da6/attachment-0001.htm>
More information about the libvir-list
mailing list