OpenVZ Forum - RDF feed
type: channel
items: [solved] questions and issues about veth
items: Re: questions and issues about veth

[solved] questions and issues about veth
type: item
description: Hey, I have read and followed the instructions of the wiki about the configuration of a virtual ethernet network (veth) and it is working perfectly for my first VPS. I have set an IP-address in my VPS editing the /etc/network/interfaces file, and I can therfore ping the host or some websites. I just would like to know why the vzlist command does not return the VPS-IP-Address? vzlist returns CTID, NPROC, STATUS (running) HOSTNAME but nothing for IP_ADD. Then, why the host virtual ethernet device disappears when I reboot the VPS? Thank you very much for your help!
creator: Balbuzard
date: 2009-06-12T05:38:46-00:00

Re: questions and issues about veth
type: item
description: Hi, looks like you solved the problem of several Containers with veth. That's good. Quote: I just would like to know why the vzlist command does not return the VPS-IP-Address? vzlist returns CTID, NPROC, STATUS (running) HOSTNAME but nothing for IP_ADD. vzlist will show you CT IP if you set up this IP with help of vzctl. And if you set it up from inside a CT (like you did) - it won't. Quote: Then, why the host virtual ethernet device disappears when I reboot the VPS? This is because veth is not a single interface, it always consists of 2 parts - 2 ends - one is inside a CT and the other is outside (on the Hardware Node). When you stop the CT, you remove the veth part that is inside a CT, thus the second half (on HN) is also removed. Hope this helps. -- Konstantin
creator: khorenko
date: 2009-06-12T08:57:04-00:00

Re: questions and issues about veth
type: item
description: Yes, it helps! Thank you very much!
creator: Balbuzard
date: 2009-06-12T11:14:20-00:00