VLAN Routed IP's
Aug 9, 2007
So I have a bunch of IP's that are routed a VLAN a bunch of machines are on which is great. They can be put on any machine, but the problem right now is it is taking up to 4 hours for them to route from one machine to another (I am doing it one IP at a time not by blocks)
The process of adding and removing ip's is being done through cPanel's WHM. The reasoning for this is due to ARP on the router for the specific IP. This is a big issue if you're looking to migrate IP's from one machine to another that contain customers this is a long wait.
Now from the datacenter I was told you're going to need to wait the 4 hours for the refresh. Now what's strange is I was also told virtuozo apparently can swap ip's to other boxes without issues because it apparently it has a mechanism in place to release the ip's from the router/switch by communicating to it so the old arp is gone. I also asked someone using OpenVZ and they said theirs was instant as well to swap between boxes.
So is there a special command I should be issueing to get the router/switch to drop the IP instantly? Or any suggestions on how to get this to be more instant than ~4 hours for an IP to route to the correct machine.
View 3 Replies
Jul 5, 2007
I have two servers setup on a private VLAN with two virtual IP's.
One server has 10.250.0.1, the other 10.250.0.2.
I can forward the ports fine when they are on the same server but when I try to forward a port on the first server to the virtual IP on the second server it does not work.
I can ping the virtual IP's fine from both servers and am able to connect to them through SSH.
I am using iptables to port forward with the following commands:
Code:
# iptables -A FORWARD -i eth0 -o eth0 -p tcp --dport 8080 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
# iptables -A PREROUTING -t nat -p tcp -d XX.XX.XX.XX --dport 8080 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to 10.250.0.2:22
Anyone have any ideas on how to make this work?
View 5 Replies
View Related
Aug 19, 2007
My colo tech guy told me that it's possible to route two ip addresses to one server. The reason why I want to do this is to have one ip be the main domain and the other be the static domain. Both domains goto the same server but there are two server daemons (apache and lighttpd) installed on the server. Each server listens on one ip (so light = static domain ip and apache = main domain ip).
I have everything setup, but I am just wondering that will this work with the routing setup? Can one network interface card handle both ips?
View 3 Replies
View Related
Dec 10, 2008
I have one question about configuration Virtuozzo or OpenVZ. I have for example 90.90.102.192/26 subnet where Virtuozzo host (Linux) machine (IP 90.90.102.195) resides.
Now I have new subnet (90.90.100.0/24) routed to my default gateway 90.90.102.193. What to do and how to route these new IP addresses to my Virtuozzo VPS clients?
----------------
90.90.102.193 - my router
----------------
|
|
----------------
90.90.102.195 - virtuozzo host
----------------
|
|
----------------
90.90.100.0/24 - vps clients
----------------
Its better routed or bridget network?
View 0 Replies
View Related