Hello,
I've a problem with the ethernet tunnel feature of recent OpenSSH versions.
With a layer 3 tunnel all things are working great. Here is my setup:
A client with OpenSSH has one interface and is connected to an OpenSSH
server. These server isn't the gateway of a network (but in another
network than the client), so it has only one ethernet card. I can use an
IP tunnel without problems. All is running fine on Linux with the tun
interfaces. But I would like to use a layer 2 tunnel.
If I run on the client
ssh -o Tunnel=ethernet -w 0:0 server
the tap devices are created by OpenSSH.
On the server I've typed
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
ifconfig br0 10.1.1.1
and then on the client I can see the ethernet broadcasts on the tap0
interface! But, the client can't use these network, because on the
server the requests don't sent in to the network. I've seen on the
server ARP broadcast requests from the client, but no answers.
I haven't found examples for layer 2 tunnels with OpenSSH.
I'm happy abount any helpful hint
Thanks in advance
Micha