[solved] questions and issues about veth
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!
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
Yes, it helps! Thank you very much!