OpenVZ Forum - RDF feed
type: channel
items: Problem using veth
items: Re: Problem using veth

Problem using veth
type: item
description: Hi, I'am trying to use veth in openvz-2.6.28-53 I did try the following : vzctl set 167 --netif_add eth0 --save vzctl start 167 and got : Starting VE ... VE is mounted Setting CPU limit: 100 Setting CPU units: 1000 Configure meminfo: 2147483647 Set hostname: vm167.example.com File resolv.conf was modified Configure veth devices: veth167.0 SIOCGIFFLAGS: No such device In CE0 i have an interface which is named veth167.0_ifren but no veth167.0 interface In VE167 I have an eth0 which is up and configured Ping doesn't work Any clues ? Thanks Eric
creator: edillmann
date: 2008-06-09T14:24:29-00:00

Re: Problem using veth
type: item
description: Hello, Quote: openvz-2.6.28-53 What do you have in mind? Could you possibly show "ip a l" and "cat /proc/vz/veth" from HN before you've set "vzctl set 167 --netif_add eth0 --save", then set eth0 inside VE and show "ip a l", "cat /proc/vz/veth" again. And also "vzctl --version" and "uname -a" from HN.
creator: maratrus
date: 2008-06-09T15:26:51-00:00

Re: Problem using veth
type: item
description: HN BEFORE : ip a l 1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue link/void 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:09:6b:8c:90:7e brd ff:ff:ff:ff:ff:ff inet 192.168.3.203/24 brd 192.168.3.255 scope global eth0 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast qlen 1000 link/ether 00:09:6b:8c:90:7f brd ff:ff:ff:ff:ff:ff inet 192.168.254.203/24 brd 192.168.254.255 scope global eth1 6: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo cat /proc/vz/veth Version: 1.0 HN AFTER: cat /proc/vz/veth Version: 1.0 00:18:51:05:12:f4 veth167.0_ifren 00:18:51:14:f0:ef eth0 167 deny ip a l 1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue link/void 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:09:6b:8c:90:7e brd ff:ff:ff:ff:ff:ff inet 192.168.3.203/24 brd 192.168.3.255 scope global eth0 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast qlen 1000 link/ether 00:09:6b:8c:90:7f brd ff:ff:ff:ff:ff:ff inet 192.168.254.203/24 brd 192.168.254.255 scope global eth1 6: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 9: veth167.0_ifren: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/ether 00:18:51:05:12:f4 brd ff:ff:ff:ff:ff:ff uname -a Linux obsm4.example.com 2.6.18-028stab053 #2 SMP Thu Jan 31 20:48:41 CET 2008 i686 GNU/Linux vzctl --version vzctl version 3.0.22
creator: edillmann
date: 2008-06-09T15:34:33-00:00

Re: Problem using veth
type: item
description: where have you got your kernel? Please, describe what steps have you done to get/build it.
creator: maratrus
date: 2008-06-09T15:43:46-00:00

Re: Problem using veth
type: item
description: vanilla kernel + patch-ovz028stab053.4-combined.gz
creator: edillmann
date: 2008-06-09T15:48:36-00:00

Re: Problem using veth
type: item
description: Hello, just in case (it shouldn't take many time) please download the latest vzctl version from here http://git.openvz.org/, try with it (download via "git clone (http|git)://git.openvz.org/pub/<project name> <destination dir>", ./autogen.sh, ./configure,make then use ./src/vzlist, ./src/vzctl binaries). Try with ./src/vzctl does this error still occur?
creator: maratrus
date: 2008-06-09T16:31:51-00:00

Re: Problem using veth
type: item
description: Hello, I didn't try the modified version of vzctl, but change my kernel to vanilla 2.6.18 + patch-53.1.19.el5.028stab053.14-combined.gz and the problem was solved Thanks
creator: edillmann
date: 2008-06-10T13:19:58-00:00

Re: Problem using veth
type: item
description: Hi, I wasn't be able to reproduce this issue could you possibly looak at this file - "drivers/net/veth.c" on both your kernels. Is there any difference? Could you possibly attach both of them?
creator: maratrus
date: 2008-06-11T08:33:25-00:00