galois6
Contributor
Contributor

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

Jump to solution

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

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

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.
0 Kudos
galois6
Contributor
Contributor

Hi! Thanks for replying me. :smileygrin:

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

0 Kudos
a_p_
Leadership
Leadership

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

galois6
Contributor
Contributor

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:

0 Kudos