OpenVZ Forum


Home » General » Support » Configuring a useless veth
Configuring a useless veth [message #21804] Tue, 16 October 2007 12:41 Go to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Hi,

I'd need an interface with a MAC address for some application that I run within a VE. I currently use venet as interface:

(in 105.conf)
IP_ADDRESS="192.168.2.205"

How could I configure a veth device, but not use it? I don't need any of the features of veth, except its MAC address. Everytime I try switching my config to veth, it screws my config and the VE becomes unreachable, I have to restore from a backup.

Regards,
Ugo


Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: Configuring a useless veth [message #21806 is a reply to message #21804] Tue, 16 October 2007 12:50 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi Ugo,

do you mean that you have a working VE which uses venet, then you issue

vzctl set $VEID --netif_add eth0 --save

and VE became not reachable? Well, i checked, this algorithm works for me...

--
Konstantin.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Configuring a useless veth [message #21807 is a reply to message #21806] Tue, 16 October 2007 12:58 Go to previous message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Hmmm, it works. I don't know exactly how I lost that, but it looked so complex to make it persistent and so on...

I'll try to install my G.729 codec now Smile.

Thanks a lot!


Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Previous Topic: Fatal resource shortage
Next Topic: Debian installation precompiled kernel images -- so confused
Goto Forum:
  


Current Time: Wed Nov 13 20:54:16 GMT 2024

Total time taken to generate the page: 0.03000 seconds