load kernel modules

hec

Renowned Member
Jan 8, 2009
278
18
83
Wien
www.vector-its.at
is it possible to load non iptables modules inside a vm?

i need ip_vs modules but i dont know how to load them inside a vm

in the /etc/vz/vz.conf i can only define iptable modules
 
every time i created a container i get the error:

warning: unknown iptable module: ip_vs_dh, skipped

for example the same with all other ip_vs modules

but the ip_vs module is not shown as skipped

on the host there are all modules loaded without problems and lsmod show me that the the modules really loaded

so i think there can be only loaded iptable module

if it impossible to get it with openvz to work i will use kvm

but i dont want to waste resources for kvms
 
Last edited:
on the host there are all modules loaded without problems and lsmod show me that the the modules really loaded

Then the module is already loaded. Please note that there is only one kernel - you can't load modules inside a container.