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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Assigning a GRE tunnel IP address to an OpenVZ container?
linuxthefish
Member
Is there any way to assign the IP address from my GRE tunnel to an openvz container? I've tried "vzctl set ctid --ipadd 192.168.168.2", but then I can't ping 192.168.168.1 from inside the container.
I've been following the tutorial in http://wiki.buyvm.net/doku.php/gre_tunnel and it works fine for adding to the host node (I can ping 192.168.168.1).
This is on a Kimsufi with proxmox if that helps! Adding the GRE tunnel to eth0, vmbr0 or vmbr0:0 does not work either..
Comments
Just the /30 at both ends!
Fixed it (thanks Jack), for anyone else that might have this issues route however many IP's you are going to have on the containers and don't assign them the same IP as the host node!
What could cause this error?
vps-net_add ERROR: Unable to get source ip [gre1]
EDIT: Forgot to set an IP on gre1, whoops!