Could we include the syntax to add tun interfaces to bridge groups?
vyos@vyos# show interfaces tunnel
tunnel tun0 {
encapsulation gre-bridge
local-ip 1.1.1.2
multicast enable
remote-ip 1.1.1.1
}
[edit]
vyos@vyos# set interfaces tunnel tun0 br
Configuration path: interfaces tunnel tun0 [br] is not validIt would be helpful in creating layer 2 bridges over gre tunnels as you can do with EdgeRouters.
I was able to easily make this happen for my local copy by doing -
sudo su
cp -r /opt/vyatta/share/vyatta-cfg/templates/interfaces/ethernet/node.tag/bridge-group /opt/vyatta/share/vyatta-cfg/templates/interfaces/tunnel/node.tag/
exit
Or simply -
sudo su
brctl addif br0 tun0
exit
vyos@vyos# set interfaces tunnel tun0 bridge-group bridge br0
vyos@vyos# show interfaces tunnel
tunnel tun0 {
bridge-group {
bridge br0
}
encapsulation gre-bridge
local-ip 1.1.1.2
multicast enable
remote-ip 1.1.1.1
}If it was part of the distribution that'd be great.