Author Topic: how select network interface, or set IP adress  (Read 1069 times)

0 Members and 1 Guest are viewing this topic.

Offline Tolstoj

  • Major(1)
  • Posts: 2
how select network interface, or set IP adress
« on: June 20, 2007, 05:06:59 pm »
HI i speek englis ver little, so a i am affraid.
I have some soldat server's and i have 2 network interface one with public ip adress ( 45.75.*.*) a one local ip adress (12.56.*.*) , but soldat server, has get ip from local network ( 12.56.*.*) so is invisible for all players, i need set him ip on 45.75.*.* but i dont find anithing information on internet how can i set IP adress? i dont find anithing in soldat.ini

example:

Additional parameters:
./soldatserver -p PORT -l MAXPLAYERS -p PASSWORD
Example: ./soldatserver -p 23073 -l 16 -p "my pass"

exist any parametr for set too IP adress? thans for all.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: how select network interface, or set IP adress
« Reply #1 on: June 20, 2007, 05:47:24 pm »
you have to set BindIP in server.ini

BindIP=67.106.77.193 for example


You will probably have better luck running servers by creating a separate directory for each, that way you also have separate logs and other things, rather than running multiple servers.  You also need to do it that way so that you can bind IPs ;)


I'm not sure if the -p port -l maxplayers -p password syntax is right any more.  I know the server says to do it, but having two different settings be set with -p makes no sense.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: how select network interface, or set IP adress
« Reply #2 on: June 20, 2007, 05:56:44 pm »
The -b parameter can be used for binding the IP from the commandline.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: how select network interface, or set IP adress
« Reply #3 on: June 20, 2007, 09:37:05 pm »
Read the readme.txt buddy, its there for a reason.

Offline Tolstoj

  • Major(1)
  • Posts: 2
Re: how select network interface, or set IP adress
« Reply #4 on: June 21, 2007, 06:00:23 am »
Hi its me.
In soldat.ini and server.ini a dont find any bind parametr, but parameter from command console -b is work succesfulli, thanks, and you have a right with readme.txt, how can i missed this  :o
Thanks again :)

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: how select network interface, or set IP adress
« Reply #5 on: June 21, 2007, 08:36:34 am »
you can add BindIP to server.ini under [NETWORK]