Transparent Bridge Tunnel Configuration


#1

I am trying to create a bridge from a remote router running EdgeOS and a local machine running VyOS.

The remote machine has two interfaces, one with a public address: 10.0.0.1/24 and one without, which is the interface to be bridged:

interfaces {
bridge br0 {
aging 300
bridged-conntrack disable
hello-time 2
max-age 20
priority 32768
promiscuous disable
stp false
}
ethernet eth0 {
address 10.0.0.1/24
duplex auto
speed auto
}
ethernet eth1 {
bridge-group {
bridge br0
}
duplex auto
speed auto
}
tunnel tun0 {
bridge-group {
bridge br0
}
encapsulation gre-bridge
local-ip 10.0.0.1
remote-ip 10.0.1.1
ttl 255
}
}

I want to operate local machine using VyOS, with just one interface, with a public IP address (e.g. 10.0.1.1) with the effect that any traffic on the remote eth1 port will be bridged to the local (10.0.1.0/24) network.

E.g.

interfaces {
bridge br0 {
aging 300
stp false
}
ethernet eth0 {
address 10.0.1.1/24
duplex auto
smp_affinity auto
speed auto
}
ethernet eth1 {
duplex auto
hw-id 00:14:22:b1:20:b2
smp_affinity auto
speed auto
}
loopback lo {
}
tunnel tun0 {
description Bridge-To-UTM
encapsulation gre-bridge
local-ip 10.0.1.1
parameters {
ip {
bridge-group {
bridge br0
}
}
}
remote-ip 10.0.0.1
}
}

I would have thought I would have had to add the eth0 interface on the local machine to the bridge group, but this is not possible.

Will this configuration work?