Has anyone been able to get this working on OpenWRT 22.03? I understand that it was patched on OVS in 2019, and added to the OVS FAQ:
https://docs.openvswitch.org/en/latest/faq/configuration/
Quote:
"Q: Does Open vSwitch support IPv6 GRE?
A: Yes. L2 tunnel interface GRE over IPv6 is supported. L3 GRE tunnel over IPv6 is not supported."
My setup is fairly simple:
opkg update
opkg install openvswitch
opkg install kmod-openvswitch-gre
export PATH=$PATH:/usr/share/openvswitch/scripts
ovs-ctl start
ovs-vsctl add-br br0
ovs-vsctl add-br br0-10 br0 10
ovs-vsctl add-port br0-10 wlan0
ovs-vsctl add-port br0 tun6 -- set interface tun6 type=ip6gre options:remote_ip=<my-IPv6-Dst> options:packet_type=legacy_l2
The error I get in the last command is:
"ovs-vsctl: Error detected while setting up 'tun6': could not add network device tun6 to ofproto (Address family not supported by protocol). See ovs-vswitchd log for details."
When I install kmod-gre6, I don't get that IPv6 error. But, I don't see any outbound GRE packets on a tcpdump.
• I notice that the interface ip6gre0 does not exist until I install Kmod-gre6.
• The above configuration works fine with an IPv4 tunnel destination (slightly different ovs-vsctl command).
• Kmod-gre is a requirement for "kmod-openvswitch-gre", but not kmod-gre6??
• I know that plain vanilla OpenWRT can do IPv6 GRE L2 tunnels, as I have a working setup for that.
• I've tried installing all the Openvswitch packages available in Luci: openvswitch-python3, openvswitch-ovn-host, etc.
Am I missing a command, or is OpenWRT, OVS, and IPv6 GRE tunnels just not compatible?