Please Help ipconfig.xml

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Wesper
Posts: 9
Joined: Wed Dec 15, 2010 6:16 am

Please Help ipconfig.xml

Post 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:
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Please Help ipconfig.xml

Post 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>
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Wesper
Posts: 9
Joined: Wed Dec 15, 2010 6:16 am

Re: Please Help ipconfig.xml

Post by Wesper »

Big Big Thank you !!! :)
tmes
Posts: 2
Joined: Sun Oct 10, 2010 12:13 am

Re: Please Help ipconfig.xml

Post 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
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Please Help ipconfig.xml

Post 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 -->
NDAM
Posts: 2
Joined: Sat Apr 14, 2012 3:29 pm

Re: Please Help ipconfig.xml

Post 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 !
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Please Help ipconfig.xml

Post 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.
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
NDAM
Posts: 2
Joined: Sat Apr 14, 2012 3:29 pm

Re: Please Help ipconfig.xml

Post 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.
User avatar
epu
Posts: 57
Joined: Sat Nov 29, 2014 1:56 pm
Location: Russia

Re: Please Help ipconfig.xml

Post 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? :(
quest maniac
Post Reply