Page 1 of 1

Please Help ipconfig.xml

Posted: Fri Dec 24, 2010 10:59 am
by Wesper
help having this problem in the server configuration. My static IP 195.43.146.45, in Inside the network I have IP 10.51.30.7, mask 255.0.0.0, default gateway 10.0.0.82, DNS 1 - 10.0.0.1, DNS 2 - 10.0.0.2. Can not set up properly, I can `t go I come from the same computer on which the server room or the breathtaking backdrop to go. If the room go, I can `t go, or vice versa. I beg you to write how to set up correctly with the reliance on my addresses

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Last:
L2JDP Revision Last:

Re: Please Help ipconfig.xml

Posted: Fri Dec 24, 2010 12:02 pm
by _DS_

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Put old contents of ExternalHostname here, used by default --><gameserver address="195.43.146.45">    <!-- Localhost access -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- LAN's, put old contents of InternalHostname here -->    <define subnet="10.0.0.0/8" address="10.51.30.7" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver>

Re: Please Help ipconfig.xml

Posted: Fri Dec 24, 2010 12:59 pm
by Wesper
Big Big Thank you !!! :)

Re: Please Help ipconfig.xml

Posted: Sat Jan 08, 2011 5:30 pm
by tmes
_DS_ wrote:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Put old contents of ExternalHostname here, used by default --><gameserver address="195.43.146.45">    <!-- Localhost access -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- LAN's, put old contents of InternalHostname here -->    <define subnet="10.0.0.0/8" address="10.51.30.7" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver>
i have a question sorry about this but i dont understand what i need to do for external ipaddress. i see that it says <!-- Put old contents of ExternalHostname here, used by default --> but i dont understand what i need to do should it look like this:

Code: Select all

<!-- Put old contents of ExternalHostname here, used by default --><define subnet="94.120.XXX.XXX" address="127.0.0.1" /><gameserver address="195.43.146.45">    <!-- Localhost access -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- LAN's, put old contents of InternalHostname here --> 
or should it be like this:

Code: Select all

<!-- Put old contents of ExternalHostname here, used by default -->ExternalHostname = 94.120.XXX.XXX<gameserver address="195.43.146.45">    <!-- Localhost access -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- LAN's, put old contents of InternalHostname here --> 


any help would be great thanks again in advance

Re: Please Help ipconfig.xml

Posted: Sun Jan 09, 2011 6:01 pm
by tukune
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="94.120.XXX.XXX"> here here here!
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- LAN's, put old contents of InternalHostname here -->

Re: Please Help ipconfig.xml

Posted: Sat Apr 14, 2012 3:42 pm
by NDAM
Hello everyone.

I have big problems with ipconfig...I wanna lauch a l2j test server Online but i cant seem to get ipconfig.xml working.
Ppl cant connect to my server....
PS: I have my ports opened(in router&firewall).
WAN IP: 81.99.250.51
IP adress : 192.168.1.151
Subnet mask : 255.255.255.0
Default Gateway : 192.168.1.1

I really dont know what i need to do to get it to work(i`ve been trying for days),please help me out guys:

HOST :

#(......)
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
81.99.250.51 L2authd.lineage2.com

ipconfig.xml:


<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="192.168.1.151" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="81.99.250.51" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.0/16" address="192.168.0.0" />
</gameserver>

THANK YOU !

Re: Please Help ipconfig.xml

Posted: Sat Apr 14, 2012 5:19 pm
by Zoey76

Code: Select all

<gameserver address="81.99.250.51" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver>
Note the change in the gameserver attribute address.

Re: Please Help ipconfig.xml

Posted: Sat Apr 14, 2012 5:56 pm
by NDAM
Zoey76 wrote:

Code: Select all

<gameserver address="81.99.250.51" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver>
Note the change in the gameserver attribute address.
Thank you very much for this(was same as mine,i thought i made mistake) but is not that,still not working,when i try to log from my own pc to the server nothing happens(durring log in);and if someone else(external) is trying to connect it says : invalid ip/password....
PS: i just noticed my ports sometimes are oppen,sometimes closed(7777,2106),hmmm cant seem to keep them open.

Re: Please Help ipconfig.xml

Posted: Fri Feb 06, 2015 5:29 pm
by epu
replaced with a new router that does not have support UPNP, and there was a problem ...
wan ip : 85.12.xxx.xxx
lan ip : 192.168.1.241
mask : 255.255.255.0
router : 192.168.1.1
l2j last rev from git
in loginserver.properties

Code: Select all

EnableUPnP = False
LoginserverHostname = *
LoginserverPort = 2106
LoginHostname = 127.0.0.1
LoginPort = 9014
in gameserver.properties

Code: Select all

EnableUPnP = False
LoginHost = 127.0.0.1
LoginPort = 9014
GameserverHostname = *
GameserverPort = 7777
in ipconfig.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<gameserver address="85.12.xxx.xxx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.1.0/24" address="192.168.1.241" />
</gameserver>
if i set "192.168.1.0/16", than i have in loginserver console

Code: Select all

Couldn't resolve hostname "java.net.UnknownHostException: 192.168.1.0/16"
and everything works well, but all users get ip 192.168.1.1, and if someone is not able to enter the correct login and password several times, then generally no one can get in the game
if i set "192.168.1.0/24", than loginserver console starting without errors, but after entering the game (on the server selection screen) nothing happens ...

whats wrong? :(