OpenVZ Forum


Home » General » Support » Second NIC config
Second NIC config [message #42352] Tue, 05 April 2011 16:10
vincent1975 is currently offline  vincent1975
Messages: 2
Registered: April 2011
Junior Member
Hello,
I have one OpenVZ host server (created before from somebody else) with only one NIC (eth0) and one venet (venet0) and public IP address (67.55.98.6 for example) assigned to this NIC. And of course several containers with own public addresses. (101 with 67.55.98.10; 102 with 67.55.98.11, 67.55.98.12; 103 with 67.55.98.13, 67.55.98.14; 104 with 67.55.98.15for example, etc)
Now I want to add second NIC (eth1) to the host machine with private IP address (192.168.1.200 for example). For several of the guest machines I want to change the IP address from the public one to the private one (for 101 and 104 for example) and of course all the traffic for these two machines should go through the eth1 and 192.168.1.1 for gateway in this scenario. From the rest of the guest machines I want to keep the existent configuration.
Please advise me how to configure this. I searched for information, but actually I didn't find anything suitable.
Thank you in advance!
Previous Topic: How to use a simple NAT ?
Next Topic: Snort can't capture packets on venet0:0 interface
Goto Forum:
  


Current Time: Tue Jul 23 18:26:50 GMT 2024

Total time taken to generate the page: 0.02483 seconds