OpenVZ Forum


Home » General » Support » Multi Seperate Networks in single ve
Multi Seperate Networks in single ve [message #30404] Fri, 23 May 2008 14:23 Go to next message
Tenchi is currently offline  Tenchi
Messages: 2
Registered: February 2007
Junior Member
Is it possible to have multiple separate networks in a single ve ?
I have VE's where there is the standard network and everything works fine, but we have a dedicated mySQL server on a local network that we which to give VE's access to, the CP0's have dual nics and can access both public and private network fine, public IPs are 66.103.*.* and private IP's are 192.168.*.* and they are physically separate, the CP0 has 192.168.1.3 the VE has 192.168.1.4 and the mysql has 192.168.1.2, the CP0 can access the mysql fine, and the VE can ping the CP0's LAN ip (192.168.1.3) and vice versa, but the VE cannot access the mysql IP, I tried vzctl set <VEID> --netif_add <ifname>[,<mac>,<host_ifname>,<host_mac] but that did not work. Any Ideas ? (also i fallowed the direction at http://wiki.openvz.org/Virtual_Ethernet_device )

[Updated on: Fri, 23 May 2008 14:24]

Report message to a moderator

Re: Multi Seperate Networks in single ve [message #30457 is a reply to message #30404] Mon, 26 May 2008 14:05 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

1. You could use venet and veth interfaces for your purposes.
2. If you want to use veth interface please draw your attention at this http://wiki.openvz.org/Virtual_Ethernet_device#Common_config urations_with_virtual_ethernet_devices
3. To understand you more clearly we need some more information please look at this page http://forum.openvz.org/index.php?t=msg&th=5501&star t=0&
Previous Topic: vzmigrate fails when vncserver is started inside VE
Next Topic: masquerade errors on openvz
Goto Forum:
  


Current Time: Sat Aug 03 18:18:45 GMT 2024

Total time taken to generate the page: 0.02519 seconds