Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Using GRE tunnel to add 2nd IP to OpenVZ container on Kimsufi? One to one NAT? Thx!
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Using GRE tunnel to add 2nd IP to OpenVZ container on Kimsufi? One to one NAT? Thx!

All IP's have been changed to random but consistent values for obvious reasons...

I would like to add a 2nd IP address to my kimsufi server and assign it to an openvz container for testing projects. I've already got it working NAT'ing from internal OpenVZ container IP's to Kimsufi's external IP, but I would like to give the OpenVZ container a dedicated IP!

I've renewed the kimsufi for a long time, so it's not feasible to buy a different server considering the space needed and my budget is low. I've been putting different projects in different containers on my Kimsufi server. My Kimsufi has the main IP 105.45.46.49.

I've got a very cheap KVM VPS in the same datacenter but different provider with 2 IP's available, 109.208.123.132 is the main IP and 109.208.0.174 is the 2nd IP. The 2nd IP is directly routed to my container.

I've setup a GRE tunnel between the Kimsufi (192.168.0.2/16) and KVM VPS (192.168.0.2/16), how can I route the 2nd IP over the GRE tunnel and use it on the OpenVZ container?

I'm not using any control panel to make it more difficult, just vzctl commands.

Kimsufi: http://paste.debian.net/plainh/fb7d45e0

KVM VPS: http://paste.debian.net/plainh/06c074f7

Thank you for reading and I hope someone here has advice on this!

Sign In or Register to comment.