OpenVZ Forum


Home » General » Support » creating veth devices
creating veth devices [message #32780] Fri, 29 August 2008 00:24 Go to next message
praveenray is currently offline  praveenray
Messages: 8
Registered: June 2008
Junior Member
Hi People
I'm trying to create a veth device following instructions at
http://wiki.openvz.org/Virtual_Ethernet_device.

I did the following step on HN:
[HN]# ifconfig
...shows eth0,lo and venet0
[HN]# vzctl set 214 --netif_add eth0 --save
Configure veth devices: veth214.0
Saved parameters for VE 214

[HN]# vzctl enter 214
entered into VE 214
[214]# ifconfig
I only see lo,venet0 and venet0:0 devices here. No eth0 is created, so I cannot follow next steps and assign static IP to eth0 in the Guest as shown in the wiki article.

How do I create eth0 in the guest? Do I need to install bride utilities on HN and/or guest.
The HN is running CentOS 5.1 and guest is ubuntu 8.04.

Any advice will be appreciated.
thanks
Re: creating veth devices [message #32783 is a reply to message #32780] Fri, 29 August 2008 07:46 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

I think you shouldn't have bothered.
ifconfig without arguments only displays active interfaces.
"ifconfig -a" or "ip a l" should be used to display all interfaces.
Previous Topic: avahi-daemon and service discovery
Next Topic: Is there a reason to leave hal installed?
Goto Forum:
  


Current Time: Sat Aug 02 08:13:46 GMT 2025

Total time taken to generate the page: 0.85874 seconds