OpenVZ Forum - RDF feed
type: channel
items: Selecting the network card

Selecting the network card
type: item
description: I have a separate network running voip (asterisks). I have run many virtualized in openvz and it works great now at a place I would like to run it on a 8core server. I currently have it running on KVM wasting away the barely any resources it requires. I want to run it in openvz my problem is that I am unsure and not clear how to say use this network card instead of the main one. i want to keep all the traffic separate. all my attempts to get it to run using eth1 seem not to work. I edited the conf file for my container and added NETIF="ifname=eth1,mac=00:14:34:56:78:8A,host_ifname=veth104.0,host_mac=00:14:34:56:78:8B" # UBC parameters (in form of barrier:limit) PHYSPAGES="0:1G" SWAPPAGES="0:2G" KMEMSIZE="unlimited" LOCKEDPAGES="unlimited" PRIVVMPAGES="unlimited" SHMPAGES="unlimited" NUMPROC="unlimited" VMGUARPAGES="unlimited" OOMGUARPAGES="unlimited" NUMTCPSOCK="unlimited" NUMFLOCK="unlimited" NUMPTY="unlimited" NUMSIGINFO="unlimited" TCPSNDBUF="unlimited" TCPRCVBUF="unlimited" OTHERSOCKBUF="unlimited" DGRAMRCVBUF="unlimited" NUMOTHERSOCK="unlimited" DCACHESIZE="unlimited" NUMFILE="unlimited" NUMIPTENT="unlimited" # Disk quota parameters (in form of softlimit:hardlimit) DISKSPACE="20971520:26214400" DISKINODES="200000:220000" QUOTATIME="0" # CPU fair scheduler parameter CPUUNITS="1000" VE_ROOT="/var/lib/vz/root/$VEID" VE_PRIVATE="/var/lib/vz/private/$VEID" OSTEMPLATE="default" ORIGIN_SAMPLE="unlimited1gb2gbswp" ONBOOT="no" HOSTNAME="pbx.xxxxxxxxxxxxxx.com" IP_ADDRESS="192.168.1.30" #DEVNODES="dahdi/transcode:rw " #DEVNODES="dahdi/timer:rw " #DEVNODES="dahdi/pseudo:rw " #DEVNODES="dahdi/ctl:rw " #DEVNODES="dahdi/channel:rw " #UUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx NETIF="ifname=eth1,mac=00:12:34:56:78:8A,host_ifname=veth104.0,host_mac=00:12:34:56:78:8B" how is it that I make it use exclusively eth1
creator: spoke2u
date: 2015-03-06T22:35:59-00:00