OpenVZ Forum


Home » General » Support » vlan networking problem
Re: vlan networking problem [message #2224 is a reply to message #2216] Sat, 25 March 2006 18:06 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

cleavoy, OpenVZ works with VLANs.
I suppose you simply need to setup correct routing rules in host system. Something like:
# /sbin/ip r a 192.168.77.0/24 dev eth0.0 src 192.168.77.2

Also according to 'man vz', this option should also help you:

Quote:


Network interface parameters
VE_ROUTE_SRC_DEV="device"
This parameter specifies the network device name which ip address will used for source ip. If on HN configured > 1 network interfaces and
needed to specify the source ip address, set corresponding device. By default takes the first in network device list.


this parameter is used in /usr/lib/vzctl/scripts/vps-net_add scripts.



http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing File
Next Topic: *SOLVED* VPS Reboot
Goto Forum:
  


Current Time: Tue Aug 06 19:39:44 GMT 2024

Total time taken to generate the page: 0.03284 seconds