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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2012, 02:08 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default ok so i have a networking problem I think.

Here is the situation

I have a pretty beefy computer acting as the host - if i run eqemu, i can run it out of a vm successfully, even multiple VMs work sucessfully, but no configuration i've tried was able to let me run it from teh host itself?!?!?! wtf right?

here is the configuration

INTERNET -> (2 external ips) -> switch -> 2 routers -> 2 switches -> server (2 nics)

Server has 2 nics, and is connected to both external ips.
If I load two VMs and setup eqemu for each of the external ips, I can run two servers, players can connect to both and it all works great.

If I try and run one server off of the host directly, players are able to connect sometimes, but mostly I get a stream state closed, unable to identify connection before it closed type error messsages.

SOME people can still connect though, which makes it annoying, what is wrong? I don't know. The reason I want to run out of the host is that it seems that the VM is making looting lag really bad for some reason, but running off a "sortof stand alone" box and looting (and other stuff) is instant

If anyone has tips for optimizing my vm (or teachign my noober ass to use linux) that would probably be sufficient

my "server" is windows 7 ultimate, and the VMs ive been succesfull with are win xp 32bit and win7 64bit

Right now i am running the server from a computer that only has one nic and things are lightning fast, but i dont want the additional electricity usage.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #2  
Old 11-24-2012, 02:42 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

So, you have 2 VMs each on the same server and with unique LAN addresses, and you also have a unique LAN address for the server itself?

I assume you are using port range forwarding in your routers to forward to your 2 VM addresses? You won't be able to run the 2 VMs and your server at the same time, as that would require 3 public addresses since you can only port forward to 1 address at a time per network. If you switch your port forwarding to point to your server on one of your networks, then it should work. You just won't be able to run both of your VMs at the same time as well.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 11-24-2012, 02:48 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

i think I miscommunicated. (I am familiar with networking enough to know that i need an ext ip for each server)
2 vms running on server -> i kill one of them and use the external ip for host
i go to router config and reroute everything from that ext ip to the host local ip
unable to get that ip working for host with eqemu

that is the problem.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #4  
Old 11-24-2012, 02:50 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

and as i said before SOME people can connect, it is not consistent, and not based on specific client, some SoF SoD and titanium peopel can connect and others cannot
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #5  
Old 11-24-2012, 02:54 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I don't know why some would be able to connect and others not. It is the same network that was working for your VMs, so the only factors here are your network config (mainly port range forwarding), and your server config file. Maybe post your server config file (minus any passwords)? If you are setting the IP fields that have a comment above them not to change them, then that could definitely cause odd issues. I do networking for a living, so I am sure we can figure this out
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 11-24-2012, 03:50 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

Thanks for the offer of help

I work on databases and embarrassingly i don't know much about networking beyond some basic things i've tickled my way into.

Before we begin, I am using DD-WRT version 24-sp2 for my router

My server local lan address for the nic I want to use is
192.168.2.113

In my Router
The router ip address is
192.168.2.1

I have port forwarded the following
port 9000, 7778 to 192.168.2.113

I have port range forwarded the following to
Ports 7002 to 7500 to 192.168.2.113

My External Ip address for that adapter is:
173.34.35.197

Here is a copy (EDITED HEAVILY) of my server config.. minus some details like db name, users and passwords.

Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>MDB</shortname>
		<longname>[FV] Alakamin -zTEST 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.113</localaddress>

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>eqemulator.net</host>
			<port>5998</port>
			<account>UNDISCLOSED</account>
			<password>UNDISCLOSED</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.1.106" port="9000" telnet="enabled"/>

		<!-- Sets the shared key used by zone/launcher to connect to world -->
		<key>UNDISCLOSED</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.197v</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.113</host>
		<port>3306</port>
		<username>UNDISCLOSED</username>
		<password>UNDISCLOSED</password>
		<db>UNDISCLOSED</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>
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #7  
Old 11-24-2012, 03:50 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

I'm running a bunch of other stuff on there too, but none of it uses port 9000 and i have tried with none of it running.. i can list it all if you like.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #8  
Old 11-24-2012, 03:52 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

i loaded the server so people can try and connect to it... ill be back in a few hours after i run some errands to try and resolve this.

thanks in advance for your help... you have been an outstanding member of the community i enjoy following your advice and faqs (I like to read faqs, i am not fond of committing the crime of PEBCAK if i can avoid it by RTFM).
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #9  
Old 11-24-2012, 07:08 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

whoops had the telnet / 9000 ip wrong in the pasted config. fixed it

i had pasted it in while i was editing and forgot to repaste because i was distracted.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #10  
Old 11-25-2012, 12:18 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Have you tried commenting these lines out?
Code:
		<!-- 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.113</localaddress>
Those aren't needed if you aren't running your own login server.

Also, you mentioned that you were using port forwarding for 9000 and 7778. You should only be using port range forwarding. Port forwarding is for forwarding 1 port to another, like if you wanted to convert port 9000 to port 21 or something. Port range forwarding is for forwarding a range of ports (or a single port) to a specific IP.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #11  
Old 11-25-2012, 12:39 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

aha....

no im not using my own login server

ok... ill comment those two lines out and update the router to use port range forwarding

then ill see if people can connect.


thanks.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #12  
Old 11-26-2012, 04:59 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

ok so now players trying to connect to teh test server are all unable to connect.

and on the server side, i am not seeing any error messages or connect messages.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #13  
Old 11-27-2012, 01:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You might want to check port 9000 and make sure it is pointed to the right IP on your 173.34.35.197 network. Since you have 2 NICs, maybe you have the wrong IP? Have you checked "ipconfig /all" from command prompt? I tried to connect to your test server with wireshark running and the sniffer log only showed my repeated connection attempts to your server on port 9000 with no response back.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #14  
Old 11-27-2012, 02:32 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Seems like a simple test of disabling one network card and seeing if it works would narrow the problem down quite a bit.
Reply With Quote
  #15  
Old 11-27-2012, 01:23 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

Ok ill try disabling a nic. when i get home.. if that works.. which i hope it doesnt... then what do i do?
Also the ip settings all seem to be right. ill post them when i get home.
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
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 10:48 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