forward packets to vmware virtual subnet with out NATing

My Mac's WiFi interface is on 192.168.0.0 and VMware linux VM is on 192.168.56.0(vmnet8 NAT interface). My WiFi router is a RaspberryPi running linux(RPI). I am masquerading the traffic and set the static route to guest network at my router, so I don't want to masquerade the traffic again at my MAC for the guest network .


There is also a Host-Only interface, vmnet1, for the virtual subnet that don't masquerade the traffic but it don't forward the traffic.


So how can I disable NAT on vmnet8 or forward the traffic on vmnet1?


Regards

Satya Gowtham Kudupudi

MacBook Pro (Retina, 13-inch,Early 2015), OS X El Capitan (10.11)

Posted on Feb 3, 2016 11:30 PM

Reply
6 replies

Feb 4, 2016 8:47 PM in response to necktwi

I can ping my router 192.168.0.1 from the VM but unable to ping VM(192.168.56.3) from the router!


I've added static route to 192.168.56.0 via 192.168.0.2(Mac Host) in the router.


pi@raspberrypi~ $ route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

default 172.16.4.1 0.0.0.0 UG 0 0 0 eth0

172.16.4.0 * 255.255.252.0 U 0 0 0 eth0

192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0

192.168.56.0 192.168.0.2 255.255.255.255 UGH 0 0 0 wlan0

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

forward packets to vmware virtual subnet with out NATing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.