OpenVZ Forum


Home » General » Support » How to use two different eth interfaces inside CT
How to use two different eth interfaces inside CT [message #37087] Tue, 18 August 2009 10:27 Go to previous message
Mistery is currently offline  Mistery
Messages: 8
Registered: August 2009
Junior Member
Hi, I have a OpenVZ node with the following network setup:

eth0 (public net) 212.40.207.7 / 255.255.255.0 vlan ID 2
eth1 (private net) 10.0.10.7 / 255.255.255.0 vlan ID 3

on this node, there is a CT configured with venet0 212.40.207.240 / 255.255.255.0

Public LAN access works fine inside CT, however now I need the CT to also access the private net.
I tried adding a private IP address (10.0.10.240) to the CT but it didn't solve my issue.
I also tried playing with vzctl --netif_add but wasn't able to access the private LAN.

Can you please explain what should I do to make the CT access both LANs ?

Thanks in advance for any help!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating tun in container fails after following wiki instruction on host
Next Topic: Sharing Shared Memory ?
Goto Forum:
  


Current Time: Sat Sep 14 08:19:57 GMT 2024

Total time taken to generate the page: 0.04139 seconds