eve-ng in GCP connecting to ubuntu VM in same VPC

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
jasonbrown
Posts: 1
Joined: Tue Sep 01, 2020 5:39 am

eve-ng in GCP connecting to ubuntu VM in same VPC

Post by jasonbrown » Tue Sep 01, 2020 6:52 am

So I'm trying to set up a eve-ng vm in Google gcp that will have an external ubuntu vm connect into some mgnt interfaces / web guis through a cloud networks. In GCP I have 2 vpc networks the default for the region and then a 10.100.100.0/24. I have the eve-ng and Ubuntu vm attached to both networks. I've made sure that the GCP firewall rules allow for all 10.0.0.0/8 traffic on both networks.

one thing I noticed is that the eve-ng vm has the extra network interface set to ens5 not instead of eth5. ens5 inet addr:10.100.100.9 Bcast:10.100.100.9 Mask:255.255.255.255

I looked at the /etc/udev/rules.d/70-persistent-net.rules but looks like thats just for eth0 and is already set up like that.

also tired changing /etc/default/grub to have GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" after looking around.

I tried setting up 9 VPC in eve-ng with an ip of 10.100.100.101-109, then created 9 networks set to cloud 1-9 and attached each one to to a vpc. Then used my ubuntu vm thats in gcp that has been assigned 10.100.100.10 but it can't ping anything.

I just wanna learn some vxlan and ansible, any tips would be helpful thanks!

mjohnson3150
Posts: 3
Joined: Sat Oct 31, 2020 3:23 am

Re: eve-ng in GCP connecting to ubuntu VM in same VPC

Post by mjohnson3150 » Thu Dec 03, 2020 8:57 pm

Hi Jason,

Did you ever get this working? I'm trying to do the same thing and I am also unable to ping from the external VM to a router running in EVE-NG Pro.

Post Reply