Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Vms cannot ping dhcp server on another network with a router

HI, I create two networks and with one subnet on each: 10.0.1.0/24 on private net1 20.0.1.0/24 on private net2 then I start one VM on each of this network: server1 with 10.0.1.3 IP server2 with 20.0.1.3 IP. then I create a router and add two interfaces to this router: quantum router-interface-add router1 subnet1 quantum router-interface-add router1 subnet2 then In Vm server1, I can ping 20.0.1.3 (server2)and 20.0.1.1 (router) but I cannot ping 20.0.1.2(dhcp server) in VM server2, I can ping 10.0.1.3 and 10.0.1.1, but I cannot ping 10.0.1.2 either. in router namespace, I can ping 10.0.1.2 and 20.0.1.2: sudo ip netns exec qrouter-3d7229c6-2594-425e-8551-665817ecbb99 ping 10.0.1.2 PING 10.0.1.2 (10.0.1.2) 56(84) bytes of data. 64 bytes from 10.0.1.2: icmp_req=1 ttl=64 time=0.580 ms 64 bytes from 10.0.1.2: icmp_req=2 ttl=64 time=0.083 ms

any one can explain this?