The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

static route question

Discussion in 'Security' started by upsforum, Jul 28, 2014.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    I have 2 vps:

    vps1 with MAIN-IP-VPS1
    vps2 with DED-IP-VH-ON-VPS2 of virtual hosting

    MAIN-IP-SUB-SERVER-FARM is an ip with start form X.X.X.1

    on vps2 I have a domain name with dedicateed ip address, the problem is that this ip is same class of ip vps1, now in server farm two vps not can communicate beetwen they

    I solved the problem with route command

    in vps1: # route add -host DED-IP-VH-ON-VPS2 gw MAIN-IP-SUB-SERVER-FARM
    in vps2: # route add -host MAIN-IP-VPS1 gw MAIN-IP-SUB-SERVER-FARM

    the problem is that every 24 hours I must re-run these commands because configuration is lost
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It does not appear to be related to any cPanel configuration settings. You may need to consult with your data center or a qualified system administrator if the network configuration continues to reset, or post to the CentOS forums where users might be able to help you with these type of OS-related questions. For instance, a similar question is asked here:

    permanently add static route

    Thank you.
     
  3. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    This is a networking issue, not security.

    Check "route -n" to see your current routing, but most likely your data center provider(s) should fix this for you.
     
Loading...
Similar Threads - static route question
  1. Bidi
    Replies:
    1
    Views:
    219

Share This Page