VMware Cloud Community
galois6
Contributor
Contributor
Jump to solution

No connection from VM to outside and viceversa spite are connected to the same vswitch

Hello All,

I have a small home lab on my laptop and I have few problems on it. I'd like to fix it to learn the product.

ESXi 6.7 is installed VMware Workstatation for Linux (My dist is Kubuntu 18.04 with no firewall). And virtual machines are inside esxi.

I've configured networking, and I can ping outside from esxi. I can reach my lan, and getting internet.

For the other hand, virtual machines can ping esxi server but cant reach lan or internet connection.

In conclusion:

Reach Virtual Machines <- ESXi -> Reach Physical Computers & Internet

Virtual Machines  ----------> Can't reach Physical Computers & Internet

From Physical Computers & Internet ----------> Can't ping Virtual Machines

Virtual machines can ping each other.

I've read a lot, I've done several things but nothing works. :S

All my machines are in the same network: 192.168.0.0/24

Also, from my understanding, all my vm and vmkernel are attach to the same vswitch.

Does anybody know how to fix this problem?

Sorry for my poor English :smileygrin:

Regards,

--

Galois

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

Welcome to the Community,

this sounds as if you need to set the vmnic adapter on the host to promiscuous mode.

see Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts

André

View solution in original post

4 Replies
tayfundeger
Hot Shot
Hot Shot
Jump to solution

In which network mode do you run the virtual machines you create on the workstation? Host-only, NAT, Bridge etc.

--
Blog: https://www.tayfundeger.com
Twitter: https://www.twitter.com/tayfundeger

vBlogger, vExpert, Cisco Champions

Please, if this solution helped your problem, "Helpful" if it solves your problem "Correct Answer" to mark.
Reply
0 Kudos
galois6
Contributor
Contributor
Jump to solution

Hi! Thanks for replying me. :smileygrin:

Now It's connected in bridge mode, but i've tried in nat mode. 

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Welcome to the Community,

this sounds as if you need to set the vmnic adapter on the host to promiscuous mode.

see Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts

André

galois6
Contributor
Contributor
Jump to solution

A really big... big thank you.

At first i've change permission but didn't work. Then, I had uninstalled the product and then I've installed again with user root and it WORKED!

Thanks! :smileygrin:

Reply
0 Kudos