Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVZ and IPv6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 39

PostPosted: Wed Mar 16, 2016 3:17 am    Post subject: OpenVZ and IPv6 Reply with quote

Hello,

I've a problem to setting up IPv6 with openvz, the problem is the routes because openvz use routes "default" i'm not sure how to added.

I read somewhere i need to add

Code:
routes_venet0="default
-f inet6 default"


but not working for me return me this error

Error: ??? prefix is expected rather than "-f"

Can anyone give me a hand how i can i have IPv7 over openvz guest

Thanks
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Thu Mar 31, 2016 11:18 pm    Post subject: Re: OpenVZ and IPv6 Reply with quote

Kurogane wrote:
Hello,

I've a problem to setting up IPv6 with openvz, the problem is the routes because openvz use routes "default" i'm not sure how to added.

I read somewhere i need to add

Code:
routes_venet0="default
-f inet6 default"


but not working for me return me this error

Error: ??? prefix is expected rather than "-f"

Can anyone give me a hand how i can i have IPv7 over openvz guest

Thanks


Never used openvz but no one else has chimed in here. Is that line in /etc/conf.d/net ? If so it is badly malformed. Check the standard Gentoo docs on how to set a default route. Note that IPv6 is generally a dynamic setup and you should rely on SLAAC or similar to configure the default gateway.

Basically, if IPv4 works and you have the IPv6 environment setup correctly then it will work. The /etc/conf.d/net settings are generally passed to "ip" so you might have to folow this: http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/x1152.html

Cheers
Jon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum