OpenVZ Forum


Home » General » Support » [solved] ip tunnel add error in ve
[solved] ip tunnel add error in ve [message #37462] Mon, 14 September 2009 11:50 Go to next message
klonk
Messages: 2
Registered: September 2009
Junior Member
Hello,

is it possible to add an ip tunnel endpoint to an ve?

When i run a tcpdump inside the ve i see the ip packages.

15:42:33.015062 IP 192.168.17.1 > 192.168.17.21: IP 192.168.19.17.54558 > 192.168.17.20.www: S 229973045:229973045(0) win 5840 <mss 1380,sackOK,timestamp 1449385987 0,nop,wscale 6> (ipip-proto-4)


But when i try to add the tunnel endpoint (inside the ve) i get the following error message:

ve01# ip tunnel add tunl0 mode ipip remote 192.168.17.20 local 192.168.17.21 dev venet0
ioctl: No such device


The ipip module is loaded on the hn.
hn01:~# lsmod |grep ipip
ipip                   13572  0 
tunnel4                 7824  1 ipip


Any ideas?

Thanks

jan

[Updated on: Tue, 15 September 2009 08:57]

Report message to a moderator

Re: ip tunnel add error in ve [message #37472 is a reply to message #37462] Tue, 15 September 2009 08:57 Go to previous message
klonk
Messages: 2
Registered: September 2009
Junior Member
okay,

i found the solution.

I had to set the feature "ipip" to on for the ve.

vzctl stop VEID
vzctl set VEID --feature "ipip:on" --save
vzctl start VEID


For "gre" tunnels you don't need it.

Regards,

jan

[Updated on: Tue, 15 September 2009 09:05]

Report message to a moderator

Previous Topic: Unable to load kernel module
Next Topic: *SOLVED* iptables: hashlimit (is a BUG?)
Goto Forum:
  


Current Time: Sun Jul 28 09:23:40 GMT 2024

Total time taken to generate the page: 0.03767 seconds