PDA

View Full Version : Virtual Machine Troubles


kitchenfork
09-08-2010, 01:36 AM
I had a sever up and running and fully functional and I wanted to move it to a virtual machine so I did. Now I cannot connect to the everquest server on the pc running the virtual machine. I keep getting 1017. Ive looked at all the NAT fixes and I think it is just a simple matter of not putting in the appropriate lines in the hosts file.

Here is my ipconfig maybe someone can tell me what to put in hosts. If it isnt the hosts file then im lost.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Dustin>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Dustin-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Tunngle:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9 (Tunngle)
Physical Address. . . . . . . . . : 00-FF-08-3C-34-1C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller #2
Physical Address. . . . . . . . . : 40-61-86-7F-80-DC
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4c26:20dc:8ce6:4284%14(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.7(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 07, 2010 10:33:20 PM
Lease Expires . . . . . . . . . . : Wednesday, September 08, 2010 10:33:20 PM

Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 322986374
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 40-61-86-7F-80-DD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::ec66:506f:e48:e4a%19(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.116.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 469782614
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7d05:33a8:b983:5fea%21(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.142.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 503337046
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 12:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{F2099B27-F61C-4F44-B468-3B1A85603733}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{083C341C-F7ED-4A88-B662-7858C8EF27CD}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{CDD0B3C1-7492-452A-A864-353848CEDF95}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{5A495105-9148-4358-8CC8-77883ECC8A4F}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

C:\Users\Dustin>

blackdragonsdg
09-08-2010, 03:02 AM
I thought the purpose of a virtual enviroment was to isolate that enviroment from the rest of the machine in order to prevent it from being harmed. If the two enviroments can interact freely it would defeat the point of the virtual enviroment. I am certainly not an expert in virtual machines but that was my understanding of the subject.

LeftRoad
09-08-2010, 06:31 AM
I run EQEmu on a Linux virtual machine with no problems. I use VirtualBox and have been for many years, with Minilogin as well.

Use bridging so that the VM is in the same subnet as your PC. Your VM NICs show as 192.168.116.1 & 192.168.142.1 but your PC is 192.168.1.7. NAT places the VM in its own subnet which is probably more work to get working than anything else, if it is even possible. I tried changing the subnet mask so that both networks were part of the same network etc... but couldn't get it to work.

When I switched to bridging it was like magic. With a Class C subnet (255.255.255.0) the first 3 octets of the IPs (the 255) you use should be the same (e.g. 192.168.1.x). Also, give your VM a static IP so it doesn't change on you.

I also had to open up the appropriate ports on the VM's firewall. Good luck.

kitchenfork
09-09-2010, 12:59 AM
To be honest it would be really great if anyone could point me to a walkthrough on making a bridge work. I am new to virtual machines and networking. I would really like to get the server up an running because I have several zones built that I would like to debut. The reasoni the server is on a virtual machine is that I need to let my best friend be able to remote into it without afffecting whatever work I may be doing on my pc and I want to be able to play everquest from my real pc rather then having to use the virtual machine to play.

Real PC ipconfig
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Dustin>ipconfig /a;ll

Error: unrecognized or incomplete command line.

USAGE:
ipconfig [/allcompartments] [/? | /all |
/renew [adapter] | /release [adapter] |
/renew6 [adapter] | /release6 [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] |
/showclassid6 adapter |
/setclassid6 adapter [classid] ]

where
adapter Connection name
(wildcard characters * and ? allowed, see examples)

Options:
/? Display this help message
/all Display full configuration information.
/release Release the IPv4 address for the specified adapter.
/release6 Release the IPv6 address for the specified adapter.
/renew Renew the IPv4 address for the specified adapter.
/renew6 Renew the IPv6 address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
/showclassid6 Displays all the IPv6 DHCP class IDs allowed for adapter
.
/setclassid6 Modifies the IPv6 DHCP class id.


The default is to display only the IP address, subnet mask and
default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address
leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid and Setclassid6, if no ClassId is specified, then the ClassId is
removed.

Examples:
> ipconfig ... Show information
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its
name starting with EL
> ipconfig /release *Con* ... release all matching connections,
eg. "Local Area Connection 1" or
"Local Area Connection 2"
> ipconfig /allcompartments ... Show information about all
compartments
> ipconfig /allcompartments /all ... Show detailed information about all
compartments

C:\Users\Dustin>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Dustin-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller #2
Physical Address. . . . . . . . . : 40-61-86-7F-80-DC
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4c26:20dc:8ce6:4284%14(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.7(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 07, 2010 10:33:20 PM
Lease Expires . . . . . . . . . . : Thursday, September 09, 2010 10:33:20 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 322986374
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 40-61-86-7F-80-DD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::ec66:506f:e48:e4a%19(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.116.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 469782614
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7d05:33a8:b983:5fea%21(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.142.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 503337046
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-B5-61-1A-40-61-86-7F-80-DD

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 12:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{F2099B27-F61C-4F44-B468-3B1A85603733}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{CDD0B3C1-7492-452A-A864-353848CEDF95}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{5A495105-9148-4358-8CC8-77883ECC8A4F}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

C:\Users\Dustin>

Virtual Machine Ipconfig
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\EverQuest>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : WIN-KS60UAKIA2K
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Tunngle:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9 (Tunngle)
Physical Address. . . . . . . . . : 00-FF-61-B1-1C-19
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-1C-89-47
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::e157:3c0:a35f:ff32%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.142.129(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, September 08, 2010 11:53:20 PM

Lease Expires . . . . . . . . . . : Thursday, September 09, 2010 12:23:19 AM
Default Gateway . . . . . . . . . : 192.168.142.2
DHCP Server . . . . . . . . . . . : 192.168.142.254
DHCPv6 IAID . . . . . . . . . . . : 234884137
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-18-E3-50-00-0C-29-1C-89-47

DNS Servers . . . . . . . . . . . : 192.168.142.2
Primary WINS Server . . . . . . . : 192.168.142.2
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.localdomain:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:2869:35de:3f57:717e(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::2869:35de:3f57:717e%13(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{61B11C19-FCEA-4340-8175-AD8573B19525}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

C:\Users\EverQuest>

Rykeau
09-09-2010, 02:58 AM
As LeftRoad mentioned, your best and easiest way to fix your problem is to put your VM on the same IP subnet as your host machine.

Place your VM on the same subnet by changing your VMnet1 and VMnet8 adapters to be on the same subnet (or enable them to use DHCP if you don't mind the IP address changing). By the sounds of it though you would want to use a static IP address though since you have somebody else remoting into your network from the outside.

What this means is you have to set your VMnet adapters to be in the "192.168.1.xxx" range where xxx is a unique number between 2 and 254. Notice below that your VMnet adapters have IP addresses of 192.168.116.1 and 192.168.142.1 and Dustin-PC has an IP address of 192.168.1.7. These will not communicate with one another unless you have some routing help because they are on different networks.

In basic terms for home use, all of your computers (and home router) should have the same first 3 octets (192.168.1.xxx) or whatever so they can communicate with one another. Dustin-PC= 192.168.1.7, VMnet1 = 192.168.1.8 and VMnet8 = 192.168.1.9. Remember that the last number can be anything between 2-254 as long as it's unique and isn't assigned to another device (I excluded 192.168.1.1 since it's typically assigned to the router and already used which is indicated below by your gateway address aka router ip address). Also remember that your subnet mask should be 255.255.255.0 for all machines and the DHCP, Default Gateway and DNS servers should also typically match Dustin-PC.

You should be able to change the VMNet adapter settings in the VMWare software on Dustin-PC.

Dustin-PC
IPv4 Address. . . . . . . . . . . : 192.168.1.7(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 07, 2010 10:33:20 PM
Lease Expires . . . . . . . . . . : Thursday, September 09, 2010 10:33:20 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1

Ethernet adapter VMware Network Adapter VMnet1:

Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.116.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0

Ethernet adapter VMware Network Adapter VMnet8:

Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.142.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0

LeftRoad
09-09-2010, 06:40 AM
It's been a long time since I have used VMware, but I remember there being the option under settings somewhere. With VirtualBox, when the VM is powered down there is a place under Settings > Network to change from NAT to bridging. I'll see if I can dig up some info on that for VMware and check at work. I thought the process to switch between them was easy.