PDA

View Full Version : Using VMWare on Fedora, Network help [Bridged]


slaquer
2006-05-10, 08:20 PM CDT
Okay. I installed VMWare Workstation 5.5 on my server and put winxp pro on it. It says I can use bridged or NAT. I tried both, NAT works, bridged doesnt work cause I think i set it up wrong-

My question is, if I use NAT, and I want to run a service on winxp that I can connect to through the internet, how do I do that?

Like my IP is 207.234.147.119, and I have 8 other IP's assigned to the network adapter.
I tried doing bridged networking with 207.234.147.119, and Windows says there is an IP conflict with another machine [the host machine]

NAT seems easier, but how can i make it so when people goto port 2593 on the host [Fedora 3] it will route them to the Windows VM?

sej7278
2006-05-11, 03:58 AM CDT
it seems odd to assign 9 ip's to one network card on one pc.

try turning one of those ip's off, and assigning it to the virtual winxp.

also, you could try the free vmware server beta 3, it works on fc5 with bridged for me (not tried ws5.5 on fc5, but it worked on fc4).

Brian1
2006-05-12, 05:32 PM CDT
What you need to do is edit /etc/vmware/vmnet8/nat/nat.conf. In it assign like port 8888 to a webserver like in the example.
8888 = 172.16.70.128:80

Now when you use the link in a browser on the same machine it would be http://localhost:8888.
Now to get to it from the outside then you need to access as http://207.234.147.119:8888. This based on no firewall enabled or between the machine or internet. If this machine is connected to the internet directly and using a firewall then you can add an iptables to open port 80 and then forward port 80 to 8888. Of course the same applies to the other 8 iP assign to the nic if you want to use one of them.

Brian1