I want to able to ssh from VM1 to VM2, both VM are connected to a Linux bridge(br0). Below is my topology
1 Created bridge br0
$ sudo ip link add dev br0 type bridge $ sudo ip addr add 10.200.1.1/24 dev br0 $ sudo ip link set br0 up $ sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1
2 Specified bridge name while launching VM
veeru@ghost:~$ brctl show bridge name bridge id STP enabled interfaces br0 8000.fe540005c7df no vnet0 vnet1 docker0 8000.024205ca1927 no virbr0 8000.5254003bf832 yes virbr0-nic
I can see the network is UP in guest VMs and ABLE to ssh from host to guest without any problem.
But when I try to do ssh from VM1(m1) to VM2(m2), VM2 is not reachable. I have checked with tcpdump in VM2(m2) that ssh packet are not reaching from VM1(m1). But I can ping from VM1 to VM2.
Seems like I'm missing some points about linux briding concepts
I also try to add my wifi interface(wlp0s20f3) to linux bridge, but
sudo ip link set wlp0s20f3 down sudo ip link set br0 down sudo brctl addif br0 wlp0s20f3 can't add wlp0s20f3 to bridge br0: Operation not supported
I have not touched iptables in guest as well as host