OpenVZ Forum


Home » General » Support » *SOLVED* veth error
*SOLVED* veth error [message #3688] Sun, 11 June 2006 07:12 Go to next message
gombadi is currently offline  gombadi
Messages: 5
Registered: June 2006
Junior Member
I am having problems creating a VPS with a veth device.

I have created a bug report at http://bugzilla.openvz.org/show_bug.cgi?id=186

I did -

- Compile an 014 kernel with standard openvz patch and config
- Compile vzctl 3.0.10-1 & vzquota packages
- create a VPS using the debian-3.1-i386-minimal
- modprobe vzethdev
- start the VPS (with no errors)
- vzctl set 101 --veth_add veth101.0,00:12:34:56:78:9A,eth0,00:12:34:56:78:9B
(no errors)
- ifconfig and ls -la /proc/sys/net/ipv4/conf/ do not show veth101.0
- ifconfig veth101.0 up
- ifconfig shows veth101.0 correctly
- ls -la /proc/sys/net/ipv4/conf/ shows no change
- ip route add 192.168.0.101 dev veth101.0 gives RTNETLINK answers: No such
device
- echo 1 > /proc/sys/net/ipv4/conf/veth101.0/forwarding also gives No such file
or directory

I can not ping the VPS from the network as there is no route to it and I can
not create one.


You can see the full details at http://www.gombadi.com/veth.txt

I did not get any errors at any stage during the install and starting the VPS
except as detailed above.

It seems that the veth101.0 device was not correctly created on the host system
or am I doing something wrong?

[Updated on: Tue, 13 June 2006 06:26] by Moderator

Report message to a moderator

Re: veth error [message #3698 is a reply to message #3688] Sun, 11 June 2006 14:43 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello, I also observe this a bit strange behaviour,
here is a workaround, that helped in my case:

Instead this step
Quote:


ifconfig veth101.0 up


I did
Quote:


ifconfig veth101.0 0.0.0.0


This is actually the same, but for some reasons, if we do the
second command veth0 appears in /proc/sys/net/ipv4/conf/.

Good luck.
Re: veth error [message #3711 is a reply to message #3698] Mon, 12 June 2006 07:02 Go to previous messageGo to next message
gombadi is currently offline  gombadi
Messages: 5
Registered: June 2006
Junior Member
Yes adding the 0.0.0.0 to the end worked.

Does anyone know if this is a permanent fix?

Re: veth error [message #3731 is a reply to message #3711] Tue, 13 June 2006 06:25 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes. In wiki page http://wiki.openvz.org/Virtual_Ethernet_device#Configure_bri dge_device ifconfig up is changed to ifconfig 0 also.
Previous Topic: Created an Ubuntu Dapper Template- Need testing!
Next Topic: *SOLVED* stab77 Kernel Issues
Goto Forum:
  


Current Time: Wed Jul 30 09:50:01 GMT 2025

Total time taken to generate the page: 0.11922 seconds