Thursday, September 24, 2020

Eve-NG Google Cloud

Hi,

Has anyone been able to make a connection to the Internet from their devices in a Eve-NG topology in Google Cloud ?

My eve-ng instance has a nic0 with an IP of 192.168.2.55/24 with a default gateway of .1. When I SSH into the instance I can ping the outside no problem. Now when I create a lab and connect my device (G0/0) to Cloud0 in EVE-NG, I put G0/0 an IP address of 192.168.2.22/24 and ip route 0.0.0.0 0.0.0.0 192.168.2.1. I can ping my eve-ng instance (.55) but I cannot ping the outside. I can also ping other devices in the same VPC (192.168.2.0/24).

I'm new with Google Cloud but I guess the gateway (.1) has a 1-to-1 NAT rule with the 192.168.2.55 address so it blocks everything else in that subnet. The packet arrives to the gateway with a source IP of 192.168.2.22 so it gets deny. That's just a guest maybe it doesn't work like that, like I said I'm new with Cloud stuff.

Any ideas ?

Thx!



No comments:

Post a Comment