OpenVZ Forum


Home » General » Support » Multiple NICs on Host
Multiple NICs on Host [message #35075] Wed, 25 February 2009 13:37 Go to next message
sjdean is currently offline  sjdean
Messages: 30
Registered: May 2008
Member
Hi,

If I have two NIC's on a host, eth0 and eth1, is it possible to create two venet devices on a guest? venet0 and venet1?

Im looking to resurrect my SmoothWALL project, and if anyone wants to take the .tar.gz I've put together and refine it then great!

Cheers
Simon
Re: Multiple NICs on Host [message #35080 is a reply to message #35075] Wed, 25 February 2009 14:11 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

you cannot create venet1 interface.
You can add several ip addresses to VE. In this case several aliases should appear inside VE.
But you can use veth interface i.e. create eth0 and eth1 interfaces inside VE and then unite the first veth interface with eth0 into one bridge and the second with eth1 on the HN.
Re: Multiple NICs on Host [message #35081 is a reply to message #35080] Wed, 25 February 2009 15:22 Go to previous messageGo to next message
sjdean is currently offline  sjdean
Messages: 30
Registered: May 2008
Member
Cool thanks.

Is there a reason then to use venet instead of veth? Seems like veth is better.
Re: Multiple NICs on Host [message #35083 is a reply to message #35081] Wed, 25 February 2009 16:24 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
A little comparison was made here

http://wiki.openvz.org/Differences_between_venet_and_veth
Previous Topic: ***SOLVED*** Networking Problem - 2 different subnets / 1 Interface?
Next Topic: Problem : VZDQ: not attached to tree,
Goto Forum:
  


Current Time: Wed Jul 17 08:34:53 GMT 2024

Total time taken to generate the page: 0.02950 seconds