Routing from VMWare Bridged Guest
I have a Linux (CentOS) OS running on a Windows 2008 VMware host (2 NICs, only one plugged in). My Windows host has IP addresses in two subnets. main IP: 196.95.95.1, gateway 196.95.95.20 other IPs: 196.20.23.22, 196.20.23.23, etc. I need to use VMWare network bridging to give the Linux OS its own IP as setting up NAT/Port Forwarding is not possible for the application the Linux box will host (VoIP). So the Linux OS is configured with IP 196.20.23.22 but it can't work with the gateway that the ISP has provided (and they won't/can't provide me a gateway on the 196.20.23.x subnet). I'm assuming that there must be a way to set up a router on a single IP address within Windows. Can I set the Linux gateway to 196.20.23.23, set up a router on 196.20.23.23 (same NIC) and have all traffic forward through the 196.95.95.20 gateway? If so, how? If not, any other ideas? Thanksctudorprice
June 24th, 2009 10:20am

I don't follow your logic. If the vms are on a network bridged to a physical NIC you can route between the two NICs on the host machine. You don't have to use NAT. You can use normal LAN routing. Personally I dislike routing through the host machine. I would run the vms on a privatevirtual networknot connected to any NIC (I don't know what VMWare calls them) and run a router in a vm to route this network to the physical LAN. This router would have one NIC in the private network and one in a network bridged to a physical NIC on the host.Bill
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2009 9:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics