Fusion

 View Only
  • 1.  Connecting my VM to my Mac to test MySql queries.

    Posted Jan 26, 2011 10:44 PM
    Overall Goal:
    Create an ODBC Database connection from my WinXP VM to my MySql Database on my OS X Snow Leopard for creating / testing / troubleshooting database queries.
    Currently:
    I have 2 network connections set up in my WinXP VM.  One is configured as a NAT connection and can access the internet.  The second, per below 192.168.25.10, IP on the VM is set to Host only.  I cannot figure out how to ping either the host or VM, from their respective sides.  Regardless of which one is Connected (Active).  And my assumption is I will not get my ODBC connection up till I do that. 
    I originally had a 192.168.131.128, until I removed one of the Network connections in the WinXP VM and lost the 192.168.131.128.  When I re-added another Network connection in my WinXP VM I was given the 192.168.25.128 and cannot get back the 131.128  While the 192.168.25.128 is the only Network connection active active I can ping from the WinXP what the WinXP VM see's as it's Gateway, 192.168.25.2, but not sure where that IP is coming from. 
    I ran the below command with output from another thread.  But again not sure what that file is supposed to look like.
    sudo nano /Library/Application\ Support/VMware\ Fusion/networking
    VERSION=1,0
    answer VNET_1_DHCP yes
    answer VNET_1_DHCP_CFG_HASH BCFD0627547E4535661B230CAED53AEC6676949F
    answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
    answer VNET_1_HOSTONLY_SUBNET 192.168.131.0
    answer VNET_1_VIRTUAL_ADAPTER yes
    answer VNET_1_VIRTUAL_ADAPTER_ADDR 192.168.131.1
    answer VNET_8_DHCP yes
    answer VNET_8_DHCP_CFG_HASH E1DB50A2538662F91CE795781B33C1B5E292B0D0
    answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
    answer VNET_8_HOSTONLY_SUBNET 192.168.25.0
    answer VNET_8_NAT yes
    answer VNET_8_VIRTUAL_ADAPTER yes
    answer VNET_8_VIRTUAL_ADAPTER_ADDR 192.168.25.1
    add_bridge_mapping en0 2
    Network Mac:
    AKz-MacBook-Pro:~ ak_bluesky$ ifconfig vmnet1
    vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 00:50:56:c0:00:01
    inet 192.168.131.1 netmask 0xffffff00 broadcast 192.168.131.255
    AKz-MacBook-Pro:~ ak_bluesky$ ifconfig vmnet8
    vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 00:50:56:c0:00:08
    inet 192.168.25.1 netmask 0xffffff00 broadcast 192.168.25.255
    AKz-MacBook-Pro:~ ak_blueskymce_markernbsp;
    WinXP VM Network VM:
    C:\Documents and Settings\Administrator>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
            Media State . . . . . . . . . . . : Media disconnected
    Ethernet adapter Local Area Connection 3:
            Connection-specific DNS Suffix  . :
            IP Address. . . . . . . . . . . . : 192.168.25.10
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.25.1
    C:\Documents and Settings\Administrator>ping 192.168.25.1
    Pinging 192.168.25.1 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Ping statistics for 192.168.25.1:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
    C:\Documents and Settings\Administrator>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
            Connection-specific DNS Suffix  . : localdomain
            IP Address. . . . . . . . . . . . : 192.168.25.128
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.25.2
    Ethernet adapter Local Area Connection 3:
            Media State . . . . . . . . . . . : Media disconnected
    C:\Documents and Settings\Administrator>ping 192.168.25.2
    Pinging 192.168.25.2 with 32 bytes of data:
    Reply from 192.168.25.2: bytes=32 time<1ms TTL=128
    Reply from 192.168.25.2: bytes=32 time<1ms TTL=128
    Reply from 192.168.25.2: bytes=32 time<1ms TTL=128
    Reply from 192.168.25.2: bytes=32 time<1ms TTL=128
    Ping statistics for 192.168.25.2:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Documents and Settings\Administrator>ping 192.168.25.1
    Pinging 192.168.25.1 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Ping statistics for 192.168.25.1:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


  • 2.  RE: Connecting my VM to my Mac to test MySql queries.

    Posted Jan 27, 2011 03:01 AM

    What Version and Build # of VMware Fusion are you using?

    Did you add the following lines to the "/Library/Application Support/VMware Fusion/networking" file?

    answer VNET_1_VIRTUAL_ADAPTER_ADDR 192.168.131.1

    answer VNET_8_VIRTUAL_ADAPTER_ADDR 192.168.25.1



  • 3.  RE: Connecting my VM to my Mac to test MySql queries.

    Posted Jan 28, 2011 03:25 AM

    Version was Original 2.0  Upgraded to Version 3.1.2 (332101).  Nah I didn't edit the file.  That info was there when I opened it.