communication between VM's present in different tenant netwoks
Hi,
Could 2 VM's present in different tenants be connected?
I have done the following
1) created a shared network in demo tenant and booted a VM with a NIC on this network( IP 192.168.0.2)
2)created another network(not shared) in admin tenant and booted a Vm with a NIC on this network(IP 172.16.74.2)
I had created a router in admin tenant and attached these networks as interfaces to the this router.Then I tried to ping the other VM .But packets are dropped somewhere.
This is the configuration present in the router namespace
sudo ip netns exec qrouter-82eb8bb2-ea7e-45a2-9edc-b512d37b5de9 ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qr-481a2de2-b3 Link encap:Ethernet HWaddr fa:16:3e:1d:8f:5c
inet addr:172.16.74.1 Bcast:172.16.74.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe1d:8f5c/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:1910 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:404742 (404.7 KB) TX bytes:3026 (3.0 KB)
qr-baaa1e22-58 Link encap:Ethernet HWaddr fa:16:3e:fc:83:8f
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fefc:838f/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:1857 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:398637 (398.6 KB) TX bytes:5582 (5.5 KB)
I can see the ICMP packets in the router namespace.But there is no ICMP reply .Please let me know if I'm doing wromg anywhere