Re: Multiple (2) Network Cards both used for VE's + Public IP issues [message #24205 is a reply to message #24172] |
Mon, 03 December 2007 08:45  |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hello stuartornum,
i think the major thing at the moment is to clarify (to us and to yourself) the configuration you need.
0) Do you want completely discard the private IPs (on the HNs and VEs) and use only public ones?
1) You've said you have 2 network card on the HN. How are you going to use them? Why do you need 2 cards, not 1?
a) If you want to use only public IPs, the only reason for 2 network cards i can see is the reliability (i mean to configure 2 cards somehow that if one link is dead the node will use another link). If this is the case, then, from my POV, it makes sense to configure a bonding device with those 2 NICs and use it (this will require only 1 IP for HN). http://wiki.openvz.org/Bonding
b) If you still want to use both public and private IPs on HN/VEs then again - do you bother to separate local traffic (say via eth0) and global/public traffic (say via eth1)?
i) If NO - then again - i think 2 separate NICs are redundant - i suggest to 'bond' them.
ii) If YES - well, this is the most difficult configuration, you can read about how to do this here http://wiki.openvz.org/Using_private_IPs_for_Hardware_Nodes# An_OpenVZ_Hardware_Node_has_two_Ethernet_interfaces.
2) Do you use at the moment veth or venet? It seems to me that above configurations (except for 1.b.ii) can be done using just venet devices - simpler from my POV. (http://wiki.openvz.org/Differences_between_venet_and_veth)
Hope this helps.
Regards,
--
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|