Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #16  
Old 11-27-2012, 11:10 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

the ip has changed for 192.168.2.x so don't get all excited noticing its 2.100 instead of 2.113 now :P

also i found dmz was on for some reason to an ip address not in use (old ip).. i disabled dmz dunno what problems that might have been causing...

ipconfig /all
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\davood>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : EXAserver
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : phub.net.cable.rogers.com

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller #2
   Physical Address. . . . . . . . . : 00-24-1D-CC-53-8C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::2ded:467f:1e8b:6d75%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.106(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : November-22-12 3:55:58 PM
   Lease Expires . . . . . . . . . . : November-28-12 6:06:50 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 301999133
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-AA-9A-4E-00-24-1D-CC-53-8E

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

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : phub.net.cable.rogers.com
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 00-24-1D-CC-53-8E
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::9446:e111:7f33:6eb3%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.2.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : November-24-12 3:39:22 PM
   Lease Expires . . . . . . . . . . : November-28-12 3:39:21 AM
   Default Gateway . . . . . . . . . : 192.168.2.1
   DHCP Server . . . . . . . . . . . : 192.168.2.1
   DHCPv6 IAID . . . . . . . . . . . : 234890269
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-AA-9A-4E-00-24-1D-CC-53-8E

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

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : 08-00-27-00-98-CD
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::5541:6f7f:6d02:e9d1%21(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.233.209(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 503840807
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-AA-9A-4E-00-24-1D-CC-53-8E

   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 isatap.{5A3669EC-A8C3-4251-A290-4E4C0A71DD04}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   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* 12:

   Media State . . . . . . . . . . . : Media disconnected
   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

Tunnel adapter isatap.phub.net.cable.rogers.com:

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

Tunnel adapter isatap.{8161418A-9F8D-419C-BBF6-B18DBB28E0BE}:

   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

C:\Users\davood>
eqemu config:
Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>MDB</shortname>
		<longname>[FV] Alakamin-TEST UNSTABLE CAN YOU CONNECT???</longname>
		
		<!-- Only specify these two if you really think you need to.  (read: You don't) -->
		<address>173.34.35.197</address>
		<localaddress>192.168.2.100</localaddress>

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>eqemulator.net</host>
			<port>5998</port>
			<account></account>
			<password></password>
		</loginserver>

		<!-- Server status.  Default is unlocked -->
		<!--<locked/>-->
		<!-- <unlocked/> -->

		<!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
		<tcp ip="192.168.2.100" port="9000" telnet="enabled"/>

		<!-- Sets the shared key used by zone/launcher to connect to world -->
		<key>??????????????</key>
		
		<!-- Enable and set the port for the HTTP service.  Defaults are shown -->
		<http port="9080" enabled="false" mimefile="mime.types" />
	</world>

	<!-- Chatserver (channels) information.  Defaults shown -->
	<chatserver>
		<host>173.34.35.197</host>
		<port>7778</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>173.34.35.197</host>
		<port>7778</port>
	</mailserver>

	<zones>
		<defaultstatus>0</defaultstatus>

		<!-- Sets port range for world to use to auto configure zones -->
		<ports low="7002" high="7500"/>
	</zones>

	<!-- Database configuration, replaces db.ini.  Defaults shown -->
	<database>
		<host>192.168.2.100</host>
		<port>3306</port>
		<username>??????????</username>
		<password>??????????</password>
		<db>????????????????</db>
	</database>

	<!-- Launcher Configuration -->
	<launcher>
		<!-- <logprefix>logs/zone-</logprefix> -->
		<!-- <logsuffix>.log</logsuffix> -->
		<!-- <exe>zone.exe or ./zone</exe> -->
		<!-- <timers restart="10000" reterminate="10000"> -->
	</launcher>

	<!-- File locations.  Defaults shown -->
	<files>
		<!-- <spells>spells_us.txt</spells> -->
		<!-- <opcodes>opcodes.conf</opcodes> -->
		<!-- <logsettings>log.ini</logsettings> -->
		<!-- <eqtime>eqtime.cfg</eqtime> -->
	</files>
	<!-- Directory locations.  Defaults shown -->
	<directories>
		<!-- <maps>Maps</maps> -->
		<!-- <quests>quests</quests> -->
		<!-- <plugins>plugins</plugins> -->
	</directories>
</server>
Router config:
All of these are port range forwarded to 192.168.2.100 as line items in my router config

7002-7500
5998-5999
9000-9000
7778-7778
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #17  
Old 11-27-2012, 11:12 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

oh and commenting out those "two lines" just made it so that i would receive no notification of a failed connection attempt by a player, and they would be stuck trying to connect for 15 minutes before getting booted.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #18  
Old 11-28-2012, 04:20 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Do you have any other PCs in your 192.168.2.x network that you could try connecting to your test server from? That will verify that it at least works for connecting as it will bypass any port or routing issues from the external network as it connects locally.

I have never tried a dual NIC and dual ISP setup for EQEmu, so I am not completely sure what other problems that might cause that could be different than the standard ones.

With your 2 LANs being in separate IP space now, that should reduce some potential routing issues. I am just not sure how the server decides which NIC to use offhand. I assume it would just be listening on port 9000 for any connection to come in and when one does, it would just reply through the same NIC it came from. It sounds like it could be getting confused on which NIC to use. Did you try disabling your other NIC yet to see what happens?

Having a DMZ set on your test server's network could definitely cause some issues. That is basically like having all ports forwarded to 1 IP, so if the IP for the DMZ was pointing to somewhere other than your test server, it would probably override your port range forwarding settings and cause connections to fail.

Since you have a special network setup, you may be one of those special cases that does require those IP fields to be set in your config. Everything looks correct as far as I can tell.

What I don't get is that you said some users can connect and others cannot. If even 1 person can connect, all should be able to. If they aren't, maybe it is something on their end or something else with the setup on your server. Maybe I can try connecting when you have it set the way you did and see what the sniffer shows if I fail to connect.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #19  
Old 11-28-2012, 09:23 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

I've had similar symptoms (some players can connect, others can't) problem in the past when I didn't have the full range of 7000-7100 forwarded. Unfortunately I don't know enough about it to speculate 'why'
Reply With Quote
  #20  
Old 11-28-2012, 09:51 AM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

It works locally.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #21  
Old 11-28-2012, 09:53 AM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

I tried netstat /anb
Port 9000 is being listened to by 0.0.0.0 can i force he two nics to listen to 9000 separately?
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #22  
Old 11-28-2012, 09:55 AM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

Also im gonna resarch the ip of the people that DID get in... maybe they are my neighbors
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #23  
Old 11-28-2012, 10:36 AM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

Why do you have such a fucked up network setup? If you can't support it, you shouldn't run it.
Reply With Quote
  #24  
Old 11-28-2012, 01:44 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

Quote:
Originally Posted by Caryatis View Post
Why do you have such a fucked up network setup? If you can't support it, you shouldn't run it.
hello good sir, your feedback is helpful and creatively inciteful (pun intended).

actually, my network setup works great! and if your familiar with networks and computers, you will note that it isnt strange at all, in fact it is quite a normal setup for a network of this size (20+ devices on the local network).

all of the other services (video,cctv,ftp,www,etc) whether run off teh host or in a VM running on it work very well, nobody has connectivity issues, and it is just this particular locus of interest that is problematic.

my eqemu server is running just fine, but on another box (not preferred) that is all, i started this post out of pure selfish greed to keep more of my money in the bank and not pay for electricity of another computer (my backup server), that is all.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #25  
Old 11-28-2012, 01:58 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

ok so i checked out the random people who are able to connect, they live all over the US, and i am in canada.. so wtf right?
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #26  
Old 11-28-2012, 07:03 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

I didn't really dig through the code that much, but it looks like all of the sockets are bound using INADDR_ANY which should listen on all interfaces. Packets sent on a socket bound with INADDR_ANY usually go through the lowest numbered interface, so if that's not the same address you're expecting to receive on the NAT could be screwing it up. That's why I recommended disabling one of the cards to test if that works.

I'd also recommend setting up static addresses in your router so you don't need to change your config every time a DHCP address changes.
Reply With Quote
  #27  
Old 11-29-2012, 12:56 AM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

lerxst2112,

your suggestions are excellent.. tomorrow night i will have time to try it out.

I will start by disabling a nic, and then if that doesn't work. ill switch which one is disabled.

from another thread

c0crete suggested
netstat -an | find /i "9000"

here is the output from that if you are curious:
Code:
  TCP    0.0.0.0:9000           0.0.0.0:0              LISTENING
  TCP    192.168.2.100:9000     192.168.2.100:17865    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17866    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17870    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17873    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17875    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17877    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17879    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17881    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17883    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17886    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17888    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17890    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17892    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17894    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17896    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17898    ESTABLISHED
  TCP    192.168.2.100:9000     192.168.2.100:17900    ESTABLISHED
  TCP    192.168.2.100:17865    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17866    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17870    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17873    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17875    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17877    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17879    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17881    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17883    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17886    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17888    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17890    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17892    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17894    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17896    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17898    192.168.2.100:9000     ESTABLISHED
  TCP    192.168.2.100:17900    192.168.2.100:9000     ESTABLISHED
  UDP    0.0.0.0:9000           *:*
something is definately messed up with having two nics IMHO, becaue when routing to a VM running on that same box , eqemu runs fine with the two external ip addresses each routed to their own VM
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #28  
Old 11-29-2012, 07:41 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

So like as of today my network has changed its mind
everyone who tried has connected.and played on my test server
wtf right?
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #29  
Old 12-01-2012, 08:55 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I don't know what IP you had the DMZ pointed to before, but disabling that may have very well fixed your issue.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #30  
Old 12-02-2012, 12:09 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

Davood follow this post http://www.eqemulator.org/forums/showthread.php?t=35057
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:35 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3