OpenVZ Forum - RDF feed
type: channel
items: openvz and networking

openvz and networking
type: item
description: Hello I don't understand something about networking in openvz I used ipadd to assign an ip in my vm. I can ping it only on my server. If i want to joign a service i have to use iptables. But i want to access to all my vm I have only on network card on my server so i use vlan eth0.5. My network is 192.168.0.0/24. I created a bridge br0 with eth0.5 my vlan. I assign 192.168.0.100 to my br0. vzctl set 101 --netif_add eth0.5. It create veth101.0. So i add it to br0. br0 8000.0018513b5806 no eth0.5 veth101.0 In vm 101 eth0.5 has 192.168.0.101. I add a route (net route add default dev eth0.5). I didn't ping anything. On my lan i ping .100 but not .101. In vm 101 i ping other vm i had in the br0 put never br0's ip 192.168.0.100. I saw the command --netdev_add et i used it on another vm 102. I assign eth0.5 to vm 102 but i couldn't ping anything. My goal is to access to my vm as it was a real server thanks for your help
creator: yoshx
date: 2012-03-24T10:18:25-00:00