[ovs-discuss] Ovs ipv6 forwarding not working

Salman Khalid salman.khalid at uniberg.com
Thu Nov 11 13:59:08 UTC 2021


Ovs ipv6 forwarding not working
Hello
We have configured osv for ipv4 forwarding in the following way:

sudo ovs-vsctl add-br br0
sudo ovs-vsctl add-port br0 ens192
sudo ovs-vsctl add-port br0 ens224
sudo ip link set br0 up

then we add a route to the next device:
sudo ip route add 1.2.0.0/16 via 1.2.2.2 dev br0 onlink

for ipv6, we use:

sudo ip -6 route add fd19:1234:5678:332::2 dev br0 onlink
sudo ip -6 route add fd19:1234:5678::/48 via fd19:1234:5678:332::2 dev br0 onlink

In case of ipv6 there’s no reply for ping or any other command. Is there any other configurations need to be done for ipv6?

Complete setup:

User(1) --------> ovs ------> User (2)

All the traffic of user(1) is directed to go to osv which forwards it to user(2).
IP forwarding is enabled as well:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1

setup works for IPv4 but not for IPv6.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20211111/6e15a6d0/attachment-0001.html>


More information about the discuss mailing list