VMware Player IP question
Posts: 53
I just installed the VMPlayer and have installed a new MEPIS 6.5 VM (i'm using it now). What I need to know is how the IP addressing is handled. Here is my network:
192.168.1.0/24 is my home network with a linksys WRT54G (with DD-WRT) doing the work between my DSL router the rest of my network. I have some port forwarding going between the 54G and some of my servers on the 192.168.1.0 network. The reason I setup a VM is so that I can test a mail server config and I would like to hit it from the internet BUT I'm not sure how/where IP routing is happening for the VM. The VM is on a 192.168.110.0/24 network. From the VM I can ping my 192.168.1.1 router but the router can't ping the 192.168.110.0 network. I am sure my host system that is running the VM is doing the routing but I am not sure where this configuration is and if I did I'm not sure I would know how to setup the routing and port forwarding to the VM.
Any help would be great!
thanks,
John
Guarddog is disabled. I
Posts: 53
Guarddog is disabled. I think it has to do with NAT and port forwarding.

What Network Setting Did You Give The VM?
Posts: 5513
Did you set the network interface for the guest VM to be "Bridged" so that it would get its own IP address, or did you set it to "Shared", or the other one that I never use? 
Also, the VM has been set with a STATIC IP right? And did you configure DD-WRT so that the VM is visible to the WAN?
Jon
The ability to comfortably use a computer is directly proportional to desire to listen, learn, and experiment, and is inversely proportional to the fear, anger, and stubbornness that you show.
I don't know how it's set.
Posts: 53
I don't know how it's set. I just installed VMPlayer from Synaptic and started using it.
Where would I set it to bridged?

In The LAN Settings
Posts: 5513
I haven't used Player for a while, so my instructions will no be exact.
But don't start up the virtual machine. Instead, go into the virtual machine's settings. There will be a list of all of the hardware (hard drives, display, CD drive...). One or more of those items (probably only one) will be a Network card. Click on it and see what it is set for. In VMware Workstation and its brethren the default is "Bridged", but in Player it may be set to "Shared". By setting it to Bridged it should obtain its own IP address from your router or ISP or whatever. That's assuming that the VM also uses DHCP to get the IP address. If you're wanting to use your virtual box to "talk" with the outside world, you will probably want to assign it a static IP address once you're ready to go live.
Jon
The ability to comfortably use a computer is directly proportional to desire to listen, learn, and experiment, and is inversely proportional to the fear, anger, and stubbornness that you show.
Thanks Jon
Posts: 53
I was making it harder than it needed to be.
I was under the assumption that it had to do with how VMPlayer was setup/installed, but it's not.
I used easyvmx.com to create my VM so I could install MEPIS as a VM and I chose the easy config and it setup the vmx file as NAT. All I had to do was change the part in the vmx file to bridged (like you said) and all is well. Thanks!

Excellent!
Posts: 5513
Great news Johnboy68! Glad I could help. 
Jon
The ability to comfortably use a computer is directly proportional to desire to listen, learn, and experiment, and is inversely proportional to the fear, anger, and stubbornness that you show.
Modify The VM's Firewall
Posts: 5513
John, if you have set up Mepis in a virtual machine, then Mepis has the guarddog firewall set to drop any pings by default. You need to go into guarddog, and modify the firewall to allow this to happen.
Jon
The ability to comfortably use a computer is directly proportional to desire to listen, learn, and experiment, and is inversely proportional to the fear, anger, and stubbornness that you show.