Unable to ping from one network to other
Hi,
I have two private networks
In net1, i have subnet1 (10.10.10.0/24) and VM1 with IP 10.10.10.2
in net2, i have subnet2 (20.20.20.0/24) and VM2 with IP 20.20.20.2
I have a bridge VM12 with interfaces to both subnet1 (of net1) and subnet2 (of net2) with IPs 10.10.10.4 and 20.20.20.4 respectively.
I set the default gateways for net1 and net2 with:
route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.10.4
route add -net 20.20.20.0 netmask 255.255.255.0 gw 20.20.20.4
and I even enabled IPv4 forwarding for VM12 with sysctl -w net.ipv4.
But i am unable to ping from VM1 to VM2 or vice versa.
in My controller node, /etc/sysctl.conf too, net.ipv4.ip_forward is set to 1
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask aditya neelkanth for more information if necessary.