fixed it. i had to add a virtual interface for every ip asined to a VE.
for example:
on my foirst virtual machine i assined it the IP 192.168.0.6 by issuing the command
vzctl set 102 --ipadd 192.168.0.6 --save (this is for the beifit of beginers)
then i edited a network interface created by openVZ
my /etc/sysconfig/network-scripts/ifcfg-venet0 reads
NAME=""
BOOTPROTO=none
DEVICE=venet0
NETMASK=255.255.255.0
MTU=1500
BROADCAST=192.168.0.255
IPADDR=192.168.0.6
NETWORK=192.168.0.0
ONBOOT=yes
then
because i have more then one virtual machine i need more then one IP so i assined another IP to the secound machine using the command above obviosly substituting some commands and values where nesecary. (it was asined 192.168.0.7)
then i has to create a virtual interface for the venet0 interface. to do this i created the file ifcfg-venet0:1
which can be done using this command:
vi /etc/sysconfig/network-scripts/ifcfg-venet0:0
then filled it with this data.
NAME=""
BOOTPROTO=none
DEVICE=venet0:1
NETMASK=255.255.255.0
MTU=1500
BROADCAST=192.168.0.255
ONPARENT=yes
IPADDR=192.168.0.7
NETWORK=192.168.0.0
ONBOOT=yes
if your new to this and as lost as i was i hope this mini tut helps you.
oh andim not a bad speller im just really fooking lazy.