Re: veth: No Connection between host and guest [message #16302 is a reply to message #16296] |
Fri, 31 August 2007 06:55   |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Barzille wrote on Thu, 30 August 2007 19:10 | Hi,
is it possible to give my ve's ipaddresses with venet, so that they can be used as static machines? For example as Webserver, as Mailserver, as ...? If the answer is yes, then it will do it for my purpose.
|
Yes, using venet you can assign IPs to VEs and use them as you asked.
(just for clarification - if you are going to make VEs accessible from the internet you have to assign them public IPs like to any standalone node or have the deal with source based routing/NAT/etc.)
How to add an IP to venet device: http://wiki.openvz.org/Venet
Differences between veth and venet: http://wiki.openvz.org/Differences_between_venet_and_veth
Also please check your sysctl configuration, this might be the reason of your network failures (especially 'ip_forward' sysctl): http://wiki.openvz.org/Quick_installation#sysctl
Hope this helps.
--
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|