Help Route Traffic between VMs and Hosts

swgit
swgit used Ask the Experts™
on
Dear Experts - i have the following setup:

laptop/host: win10 on 10.10.10.x
rhel6 vmware vm: nat on 192.168.14.x

from rhel6 vm, i can ping anything on the 10.10.10.x subnet, but not the reverse.

could you please help me make the configuration changes so that the two networks can talk to each other? thanks!!!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Can you set the virtual machine networking to Bridged so guests are on the same network as the hosts?

Is the RedHat firewall blocking the host network?
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018
Distinguished Expert 2017

Commented:
Hi Swgit,

John is correct further you can take help of below link, to know steps to create bridge network.

BridgeNetwork
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Are you using VMware Workstation?

Your configuration is BY DESIGN

When you have configured NAT - Network Address Translation, your VM is actually protected from your Main HOST LAN.

So your VM can ping the main LAN and Host, but devices on your LAN will not be able to connect or ping your VM, unless you make some changes....

1. Advanced Network Address Translation

see here

https://www.vmware.com/support/ws5/doc/ws_net_nat_dhcp_custom_windows.html

https://www.vmware.com/support/ws5/doc/ws_net_nat_advanced.html

https://www.virten.net/2013/03/how-to-setup-port-forwarding-in-vmware-workstation-9/

You create rules, port forward to "port forward traffic from LAN to VM"



2. Bridged Networking

This will make your VM use the same IP Address as your Host Networking, if this is what you want to do!
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
VMware Workstation does use NAT by design (I agree with you) and needs firewall changes (normally) to permit traffic flow.

I find Bridged networking easier to get started with and prove it works before using NAT.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial