OpenVZ Forum


Home » General » Support » How can I bind a VE IP address to a physical ethernet interface?
How can I bind a VE IP address to a physical ethernet interface? [message #20096] Tue, 11 September 2007 22:47 Go to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
Sorry if this was already answered, I swear I've searched the forum before posing this question (and also the manual) Smile
If I have more than one NIC in the host, can I force each VE network traffic to use a specific NIC? Thanks!

Fernando
Re: How can I bind a VE IP address to a physical ethernet interface? [message #20100 is a reply to message #20096] Wed, 12 September 2007 08:21 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,
you can solve your problem by using bridges:

Let's assume, that you have two interfaces eth0, eth1 on your HN and two VEs(VE101, VE102)

1.Use veth instead of venet.
http://wiki.openvz.org/Veth
http://wiki.openvz.org/Differences_between_venet_and_veth

2. You can bind VE101's network traffic to eth0 and VE102's to eth1 by creating veth101.0, veth102.0 interfaces and then creating two bridges uniting eth0,veth101.0 and eth1,veth102.0.
Previous Topic: Problems suspending VE with 2.6.18-028stab039
Next Topic: kernel: EDAC k8 MC0: GART TLB errorr: transaction type(generic), cache level(generic)
Goto Forum:
  


Current Time: Thu Oct 17 18:56:50 GMT 2024

Total time taken to generate the page: 0.05363 seconds