How to convert Instance as a virtual router
Hi,
Scenario what we are trying is ;
PC1 --------------- Router1 ------------------- Router 2 -----------------PC2
We have launched 3 instances (Router1 & Router 2) with vyatta cloud images, PC1 with ubuntu precise image. Topo Diaghram looks as;
Ext-Net |-----Eth1 -- Router1 --Eth2-----|Demo_Net |-------Eth1--Router2--Eth2---------|sample_Net|---PC1
172.27.10.0/24 [Instance 1] 192.168.1.0/24 [Instance2] 10.0.0.0/24 10.0.0.2
Eth1 of Router 1 is configured as 172.27.10.203 Eth2 of Router 1 is configured as 192.168.1.9
Eth1 of Router 2 is configured as 192.168.1.16 Eth2 of Router 2 is configured as 10.0.0.5
I have to communicate from 172.27.10.27 (which is my compute) to 10.0.0.2 (PC1) with the vyatta cloud image loaded in instance 1 & 2. We created the interfaces using nova interface-attach API. I tried to ping 192.168.1.16 from Instance 1 [received Destination host unreachable]. I'm not able to ping though they are back to back connected. Can anyone help me out here. What should I configure for the link (back to back connection) to be created ? Do we really require q router between 2 networks to solve this issue ?
Need help !
did you do anything about the anti-spoof firewall rule that prevents an instance from sending a packet with a source ip address that is different than what was allocated to it's port? cause that is what the vyatta instance will need to do when it routes packets.