Tunneling GRE on bridge interface

Hello, everyone,
being new, I wanted to ask: is it possible to add a GRE tunnel interface inside a bridge? Because when I try to do it I get this error:
##can't add gretunnel to bridge br-lan: Invalid argument##

How can I solve it?
Thanks in advance.

I do not see why it should fail... could you please share your config?

GRE is a layer 3 tunnel, i.e. routed. Shouldn't you use GRETAP, which is a layer 2 tunnel, if you want to add it to a bridge?

okok thank you, I did not think of this option. So can I ask you kindly if you can help me with my configuration?
I should set up a tunnel between a device that has OpenWRT and a Cisco ASR920 router. The goal is to get these two devices that have the same network '192.168.101.0/24' to communicate. Since the tunnel will have to have its own IP address, do I need to bridge between it and the interface with the IP address '192.168.101.24'?
If you can show me an example on what I should cofnigure I would appreciate it.
The IPs that I want to have communicate are:
192.168.101.24 OpenWRT device
192.168.101.200 Cisco ASR920

I don't know if Cisco supports GRETAP tunnels. Another alternative is VXLAN.

A GRETAP tunnel shouldn't have its own IP address if you include it in a bridge.

1 Like

could you give me an example of gretap tunnel configuration? at least i start to understand how to move OpenWRT side