[Users] How venetxx are created?

Vasily Tarasov vtaras at sw.ru
Fri Jun 23 06:07:53 EDT 2006


It's a known problem. Please, read 
http://forum.openvz.org/index.php?t=tree&th=697&mid=3666&&rev=&reveal=
to fix it.

Rachid Abdoun wrote:

> ok thank you i understand... i disable it because i'd like to use  
> vethX instead... but i have a compilation problem on debian :
>
> phoenix:/usr/src/vzctl-3.0.10# make install
> for file in src; do \
>         (cd $file && make -f Makefile install)  \
> done
> make[1]: Entering directory `/usr/src/vzctl-3.0.10/src'
> Makefile:221: .depend: Aucun fichier ou r?pertoire de ce type
> gcc -M   -I ../include vzctl.c vzctl-actions.c modules.c enter.c  
> vzlist.c arpsend.c vzsplit.c vzmemcheck.c validate.c vzcfgvalidate.c  
> vzcalc.c lib/env.c lib/ub.c lib/net.c lib/logger.c lib/exec.c lib/ 
> cap.c lib/cpu.c lib/res.c lib/util.c lib/dist.c lib/list.c lib/ 
> script.c lib/dev.c lib/config.c lib/lock.c lib/quota.c lib/modules.c  
> lib/iptables.c lib/fs.c lib/create.c lib/readelf.c lib/cpt.c lib/ 
> destroy.c lib/vps_configure.c lib/meminfo.c lib/veth.c lib/fs_simfs.c  
> >.depend
> make[1]: Leaving directory `/usr/src/vzctl-3.0.10/src'
> make[1]: Entering directory `/usr/src/vzctl-3.0.10/src'
> gcc -c -Wall -g2 -fPIC -I ../include lib/fs_simfs.c -o lib/fs_simfs.lo
> gcc -Wall -g2 -I ../include  lib/fs_simfs.lo -shared -o libvzctl- 
> simfs.so.0.0.2
> gcc -c -Wall -g2 -fPIC -I ../include lib/env.c -o lib/env.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/ub.c -o lib/ub.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/net.c -o lib/net.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/logger.c -o lib/logger.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/exec.c -o lib/exec.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/cap.c -o lib/cap.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/cpu.c -o lib/cpu.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/res.c -o lib/res.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/util.c -o lib/util.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/dist.c -o lib/dist.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/list.c -o lib/list.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/script.c -o lib/script.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/dev.c -o lib/dev.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/config.c -o lib/config.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/lock.c -o lib/lock.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/quota.c -o lib/quota.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/modules.c -o lib/modules.lo
> lib/modules.c: Dans la fonction ? mod_make_opt ?:
> lib/modules.c:93: attention : passage de l'argument n?2 au pointeur  
> de fonction annule des qualificateurs du type du pointeur cible
> gcc -c -Wall -g2 -fPIC -I ../include lib/iptables.c -o lib/iptables.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/fs.c -o lib/fs.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/create.c -o lib/create.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/readelf.c -o lib/readelf.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/cpt.c -o lib/cpt.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/destroy.c -o lib/destroy.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/vps_configure.c -o lib/ 
> vps_configure.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/meminfo.c -o lib/meminfo.lo
> gcc -c -Wall -g2 -fPIC -I ../include lib/veth.c -o lib/veth.lo
> gcc -Wall -g2 -I ../include  lib/env.lo lib/ub.lo lib/net.lo lib/ 
> logger.lo lib/exec.lo lib/cap.lo lib/cpu.lo lib/res.lo lib/util.lo  
> lib/dist.lo lib/list.lo lib/script.lo lib/dev.lo lib/config.lo lib/ 
> lock.lo lib/quota.lo lib/modules.lo lib/iptables.lo lib/fs.lo lib/ 
> create.lo lib/readelf.lo lib/cpt.lo lib/destroy.lo lib/ 
> vps_configure.lo lib/meminfo.lo lib/veth.lo -L. -Wl,-rpath=/usr/lib/ 
> vzctl/lib -ldl -shared -o libvzctl.so.0.0.2
> gcc -c -Wall -g2 -I ../include vzctl.c -o vzctl.o
> gcc -c -Wall -g2 -I ../include vzctl-actions.c -o vzctl-actions.o
> gcc -c -Wall -g2 -I ../include modules.c -o modules.o
> modules.c: Dans la fonction ? add_module ?:
> modules.c:106: attention : implicit declaration of function  
> `is_mod_action'
> gcc -c -Wall -g2 -I ../include enter.c -o enter.o
> ln -sf libvzctl-simfs.so.0.0.2 libvzctl-fs.so
> gcc -Wall -g2 -I ../include  vzctl.o vzctl-actions.o modules.o  
> enter.o -L. -Wl,-rpath=/usr/lib/vzctl/lib -ldl libvzctl.so.0.0.2  
> libvzctl-fs.so -lutil -o vzctl
> gcc -c -Wall -g2 -I ../include vzlist.c -o vzlist.o
> gcc -Wall -g2 -I ../include  vzlist.o -L. -Wl,-rpath=/usr/lib/vzctl/ 
> lib -ldl libvzctl-fs.so libvzctl.so.0.0.2 -o vzlist
> gcc -c -Wall -g2 -I ../include arpsend.c -o arpsend.o
> gcc -Wall -g2 -I ../include  arpsend.o -o arpsend
> gcc -c -Wall -g2 -I ../include vzsplit.c -o vzsplit.o
> gcc -Wall -g2 -I ../include  vzsplit.o -o vzsplit
> gcc -c -Wall -g2 -I ../include vzcfgvalidate.c -o vzcfgvalidate.o
> vzcfgvalidate.c: Dans la fonction ? main ?:
> vzcfgvalidate.c:73: attention : implicit declaration of function  
> `validate'
> gcc -c -Wall -g2 -I ../include validate.c -o validate.o
> gcc -Wall -g2 -I ../include  vzcfgvalidate.o validate.o libvzctl.so. 
> 0.0.2 libvzctl-fs.so -L. -Wl,-rpath=/usr/lib/vzctl/lib -ldl libvzctl- 
> fs.so libvzctl.so.0.0.2 -o vzcfgvalidate
> gcc -c -Wall -g2 -I ../include vzmemcheck.c -o vzmemcheck.o
> gcc -Wall -g2 -I ../include  -L. -Wl,-rpath=/usr/lib/vzctl/lib -ldl  
> libvzctl-fs.so libvzctl.so.0.0.2 vzmemcheck.o validate.o libvzctl.so. 
> 0.0.2 libvzctl-fs.so -o vzmemcheck
> gcc -c -Wall -g2 -I ../include vzcalc.c -o vzcalc.o
> gcc -Wall -g2 -I ../include  vzcalc.o libvzctl.so.0.0.2 libvzctl- 
> fs.so -L. -Wl,-rpath=/usr/lib/vzctl/lib -ldl libvzctl-fs.so  
> libvzctl.so.0.0.2 -o vzcalc
> install -d /etc/vz
> install -d /usr/sbin
> install -d /etc/vz/conf
> install -d /usr/lib/vzctl/scripts/
> install -d /usr/share/vzctl/scripts
> install -d /etc/cron.d
> install -d /etc/init.d
> install -d /vz/lock
> install -d /vz/dump
> install -d /etc/logrotate.d
> install -d /vz/template/cache
> install -d /var/lib/vzctl/veip
> install -d
> install: Trop peu de arguments.
> Pour en savoir davantage, faites: ? install --help ?.
> make[1]: *** [inst-dirs] Erreur 1
> make[1]: Leaving directory `/usr/src/vzctl-3.0.10/src'
> make: *** [install] Erreur 2
> phoenix:/usr/src/vzctl-3.0.10#
>
> What's happened? Could you help me on compilation?
>
> Thank you
>
> rachid
>
> Le 23 juin 06 à 11:28, Kirill Korotaev a écrit :
>
>> venet is the default network device. it's not bridge and vlan, it  is 
>> more like a ppp connection between VPS and host system. It does  
>> packet switching based on IP header.
>>
>> venet is created automatically on VPS start. vzctl scripts setup  
>> appropriate IP and settings on venet inside VPS. if you set  
>> VPSIP.conf variable OSTEMPLATE=debian-3.1 it will automatically  work 
>> correct with you debian VPS.
>>
>> To add/del IP address use
>> # vzctl set <VPSID> --ipadd|ipdel <IP>
>> command.
>>
>> We will provide wiki soon :)
>>
>> Thanks,
>> Kirill
>>
>>> OpenVZ is a nice project! And i'm happy to join this communauty!!
>>> I found documentation here : http://wiki.openvz.org/  
>>> Virtual_Ethernet_device but i haven't found any information on  
>>> theses  questions :
>>>     - what is a venet? (bridge? vlan?) And
>>>     - how is it created?
>>> Could someone explain me how does it work?
>>> P.S : I'm running a debian sarge 3.1 on pentium M 1.7Ghz with 512MB
>>> Thank you
>>>  - Rachid
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>



More information about the Users mailing list