VMware Cloud Community
crombiecrunch
Contributor
Contributor

private network not working as needed

Hello all

I have several groups of VM's that I am trying to create a private network for each group that can only communicate with the VM's in that group. There is one active NIC to my server for outside web access that each vm is also connected too.

What I have done from reading other posts is created a new virtual switch that has no uplink connected to it, each VS is named according to the group that will connect to them; ie group1, group2, etc. I then created a new portgroup again named for each group. On each VM nic 1 is assigned a static IP to the outside world, on nic 2 it is assigned to the proper portgroup and I have also assigned a static IP of 10.0.0.1, etc to each vm.

Issue is there is no connection between the vm's. So if i ping 10.0.0.2 from 10.0.0.1 i get a no route to destination error.

Ive read several posts and tried multiple solutions but none seem to work.

0 Kudos
1 Reply
Sinorama
Enthusiast
Enthusiast

Have you try to configure a static route?

If you need more help then please provide more details of vm guests.

On my Arch Linux guests I create a static route on guest1 with

ip route add 10.0.0.0/24 via 10.0.0.1 dev eth1

On my Arch Linux guests I create a static route on guest2 with

ip route add 10.0.0.0/24 via 10.0.0.2 dev eth1

0 Kudos