Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

static route question

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

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    471
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,011
    Likes Received:
    88
    Trophy Points:
    78
    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...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice