What do do my server ip's need to be?

Results 1 to 8 of 8
  1. #1
    Member captn braka is offline
    MemberRank
    Apr 2010 Join Date
    52Posts

    sad What do do my server ip's need to be?

    My router addresses are:

    Ip - 192.168.1.32
    subnet mask - 255.255.255.0
    default gateway - 192.168.1.1

    The default server addresses are:

    IP: 192.168.0.50
    Subnet: 255.255.255.0
    Gateway: 192.168.0.1
    DNS: 192.168.0.1

    What do the ip's need to be in nano /etc/network/interfaces ?

    Thanks for the help.


  2. #2
    Elite Member S3r3n1ty is offline
    Member +Rank
    Mar 2010 Join Date
    USALocation
    166Posts

    Re: What do do my server ip's need to be?

    [Release] VBOX Image PW 1.3.6. with 1.4.2 V 283 items (Multi-page thread 1 2 3 4 5 ... Last Page)
    hrace009
    search up or take a look at this thread here, and read through it. there is a lot to be learned on how to work a server, but im not sure what kind of server you're running. if you're using the server provided there there was plenty explained about router/file settings with IP addresses and needing to change or modify them. i am not involved much in the answers to them but as i was asking another question i saw that conversation was going on as well.

  3. #3
    Member captn braka is offline
    MemberRank
    Apr 2010 Join Date
    52Posts

    Re: What do do my server ip's need to be?

    bump..

  4. #4
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: What do do my server ip's need to be?

    Quote Originally Posted by captn braka View Post
    My router addresses are:

    Ip - 192.168.1.32
    subnet mask - 255.255.255.0
    default gateway - 192.168.1.1

    The default server addresses are:

    IP: 192.168.0.50
    Subnet: 255.255.255.0
    Gateway: 192.168.0.1
    DNS: 192.168.0.1

    What do the ip's need to be in nano /etc/network/interfaces ?

    Thanks for the help.
    Spoiler:
    Originally Posted by hrace009
    change your VBOX Network Interface /etc/network/interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address YOUR VBOX IP
    netmask YOUR NETMASK
    network 172.16.0.0 <<< Always Fill This XXX.XXX.0.0
    broadcast YOUR NEWORK BRODCAST
    gateway YOUR GATEWAY IP TO INTERNET
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers YOUR DOMAIN IP, IF YOU USE DOMAIN
    dns-search YOUR DOMAIN NAME, IF YOU USE DOMAIN

    -----------------------------------------------------------------
    and don't forget to Replace the IPs with your current addresses except the lines with 0.0.0.0

    /PWServer/gacd/gamesys.conf
    /PWServer/gamed/gmserver.conf
    /PWServer/gamed/gs.conf
    /PWServer/gamed/gsrollback.conf
    /PWServer/gamedbd/cashstat.conf
    /PWServer/gamedbd/gamesys.conf
    /PWServer/gdeliveryd/gamesys.conf
    /PWServer/gfactiond/gamesys.conf
    /PWServer/glinkd/gamesys.conf
    /PWServer/logservice/logservice.conf
    /PWServer/uniquenamed/gamesys.conf
    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf
    Dont forget to change you pwAdmin ip in
    /root/apache-tomcat-X.X.X/webapps/pwAdmin/.pwconf


    Try change the ips in all these files to something in your network ip range. ie 192.168.1.X

    edit your /etc/network/interfaces to be
    Spoiler:
    Code:
    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.X <~ replace the X with the ip number/ 
    netmask 255.255.255.0 <~ leave as this
    network 192.168.1.0 <~ I think it should be this
    broadcast 192.168.1.255 <~change this
    gateway 192.168.1.1 <~ Your gateway
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 192.168.1.1 <~ I put this here
    dns-search YOUR DOMAIN NAME, IF YOU USE DOMAIN <~ I left this blank.

  5. #5
    Member captn braka is offline
    MemberRank
    Apr 2010 Join Date
    52Posts

    Re: What do do my server ip's need to be?

    Thanks Drakaer appreciate the help i am trying it now. the "192.168.1.255" what should i change it too???

  6. #6
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: What do do my server ip's need to be?

    Quote Originally Posted by captn braka View Post
    Thanks Drakaer appreciate the help i am trying it now. the "192.168.1.255" what should i change it too???
    Try the following

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.X
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255 <~ try this as your broadcast.
    gateway 192.168.1.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 192.168.1.1
    Last edited by Drakaer; 25-04-10 at 10:51 PM.

  7. #7
    Member captn braka is offline
    MemberRank
    Apr 2010 Join Date
    52Posts

    Re: What do do my server ip's need to be?

    so i set my vbox ip to "192.168.1.10" and have gone into these:

    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf

    anfd changed the ips in there.

    but when i try for example:

    /PWServer/gacd/gamesys.conf or
    PWServer/gamed/gmserver.conf

    it says "command not found" for each line. or syntax error near unexpected toekn ";"
    ???

    and if i try to run the server it says failure to connect on everything.


    P.s The addresses i gave you were from my wireless network connection so for this do i need to select bridged network adapter in vbox and use my wifi adapter. Or do i just need to use my ethernet adapter and use host only or do i use host only with wifi adapter??

    Thanks

    ---------- Post added at 10:32 PM ---------- Previous post was at 10:32 PM ----------

    so i set my vbox ip to "192.168.1.10" and have gone into these:

    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf

    anfd changed the ips in there.

    but when i try for example:

    /PWServer/gacd/gamesys.conf or
    PWServer/gamed/gmserver.conf

    it says "command not found" for each line. or syntax error near unexpected toekn ";"
    ???

    and if i try to run the server it says failure to connect on everything.


    P.s The addresses i gave you were from my wireless network connection so for this do i need to select bridged network adapter in vbox and use my wifi adapter. Or do i just need to use my ethernet adapter and use host only or do i use host only with wifi adapter??

    Thanks

  8. #8
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: What do do my server ip's need to be?

    Quote Originally Posted by captn braka View Post
    so i set my vbox ip to "192.168.1.10" and have gone into these:

    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf

    anfd changed the ips in there.

    but when i try for example:

    /PWServer/gacd/gamesys.conf or
    PWServer/gamed/gmserver.conf

    it says "command not found" for each line. or syntax error near unexpected toekn ";"
    ???

    and if i try to run the server it says failure to connect on everything.


    P.s The addresses i gave you were from my wireless network connection so for this do i need to select bridged network adapter in vbox and use my wifi adapter. Or do i just need to use my ethernet adapter and use host only or do i use host only with wifi adapter??

    Thanks
    Yes you need to use bridged mode on your vbox with your wireless adapter.

    How are you editing the files. Try using the nano command or opening in a text editor. The failed to connect is due to not all the ips being changed correctly.



Advertisement