VM1-----Internal Network-----VM with Ubuntu 12.04-----Internal Network------VM2
VM1 have IP 192.168.10.1 and VM2 have 192.168.10.10.
My VM with Ubuntu have 2 ethernet interfaces. I want to create a bridge in Ubuntu so VM1 and VM2 can talk to each other.
I have created a bridge in Ubuntu with
- Code: Select all Expand viewCollapse view
sudo ifconfig eth0 0.0.0.0 down
sudo ifconfig eth1 0.0.0.0 down
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 eth1
sudo ifconfig br0 up
sudo ifconfig eth0 promisc up
sudo ifconfig eth1 promisc up
The command "brctl showstp br0" shows me that the state of eth0 and eth1 is forwarding. Then I start tshark in bridge with
- Code: Select all Expand viewCollapse view
sudo tshark -i br0
If in VM2 I try to ping VM1 I get
- Code: Select all Expand viewCollapse view
ARP 60 Who has 192.168.10.1? Tell 192.168.10.10
In the bridge I get the ARP Request from VM2 but I don't see ARP Reply from VM1
When I run the tshark at VM1 gets this
- Code: Select all Expand viewCollapse view
ARP 60 Who has 192.168.10.1? Tell 192.168.10.10
ARP 42 192.168.10.1 is at XX:XX:XX:XX:XX:XX (mac hidden)
With this I see that ARP gets passed through the brige, Computer1 receives the ARP and sends the reply but that reply don't go through the bridge.
Any ideas???
Thanks