How can I set bridge between a real eth card on a remote machine without losing my ssh connection to that machine.
I ssh into a machine via its eth1 iinterface. 188.8.131.52 255.255.255.0.
I want to join eth1 to a tun/tap device ‘tun0’. How can I do this without bringing down eth1 and losing my ssh connection.
tunctl -u root brctl addbr br0 brctl addif br0 tun1 brctl addif br0 eth1
Result, connection will be lost
- Connect to the machine via a different interface.
- Connect to the machine at the console.
- Set up the bridge in the system’s startup scripts (you didn’t specify what sort of system) and then reboot.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.