static route question
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
-
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: [url=http://www.linuxquestions.org/questions/linux-networking-3/permanently-add-static-route-16769/]permanently add static route Thank you. 0 -
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. 0
Please sign in to leave a comment.
Comments
2 comments