New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVZ support #1

Closed
yswery opened this Issue Jan 12, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@yswery

yswery commented Jan 12, 2015

I would love to see this being support on an OpenVZ container (mine runs on proxmox) that with a bridge interface would connect

I tried using the script but seemed the DHCP aspect might not have worked :(

@outime

This comment has been minimized.

Show comment
Hide comment
@outime

outime Jan 12, 2015

Owner

Unfortunately I've never ran Proxmox (either OVZ) in Online.net and I'm currently unable to with my kidéchire, so what I'm saying below is in theory - feel free to correct me.

Proxmox (host) shouldn't have problems regarding IPv6 as it's Debian-based. However I found out that at least the ISO provided by Online.net comes with IPv6 kernel module disabled, so you may need to enable it.

For the guests, you need to enable IPv6 forwarding in the host and set the addresses for the containers using console (vzctl) as AFAIK the web interface isn't supporting that (or at least last time I used it).

Owner

outime commented Jan 12, 2015

Unfortunately I've never ran Proxmox (either OVZ) in Online.net and I'm currently unable to with my kidéchire, so what I'm saying below is in theory - feel free to correct me.

Proxmox (host) shouldn't have problems regarding IPv6 as it's Debian-based. However I found out that at least the ISO provided by Online.net comes with IPv6 kernel module disabled, so you may need to enable it.

For the guests, you need to enable IPv6 forwarding in the host and set the addresses for the containers using console (vzctl) as AFAIK the web interface isn't supporting that (or at least last time I used it).

@outime

This comment has been minimized.

Show comment
Hide comment
@outime

outime Jan 12, 2015

Owner

However if it happens that you have a free machine in Online that is able to run Proxmox and you want to lend it to me for some testing I'd be glad to try making a patch for both host and guests.

Owner

outime commented Jan 12, 2015

However if it happens that you have a free machine in Online that is able to run Proxmox and you want to lend it to me for some testing I'd be glad to try making a patch for both host and guests.

@yswery

This comment has been minimized.

Show comment
Hide comment
@yswery

yswery Jan 12, 2015

After looking into what you said you were totally correct:

First I needed to enable the IPv6 in the proxmox module (/etc/modprobe.d/local.conf)

from

options ipv6 disable=1

to

options ipv6 disable=0

(then rebooted)

and after added the following to /etc/sysctl.conf

net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1

followed by sysctl -p

and after doing this I am able to assign a block per OpenVZ VM with its own DUID using your script.

Cheers for the help!

yswery commented Jan 12, 2015

After looking into what you said you were totally correct:

First I needed to enable the IPv6 in the proxmox module (/etc/modprobe.d/local.conf)

from

options ipv6 disable=1

to

options ipv6 disable=0

(then rebooted)

and after added the following to /etc/sysctl.conf

net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1

followed by sysctl -p

and after doing this I am able to assign a block per OpenVZ VM with its own DUID using your script.

Cheers for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment