Open main menu

OpenVZ Virtuozzo Containers Wiki β

Talk:Installation on Debian/old

< Talk:Installation on Debian
Revision as of 06:08, 28 October 2010 by Kir (talk | contribs) (Reverted edits by 195.2.240.68 (Talk) to last revision by Vipz)

info about needed modules in kernel-config

info about "Yet Another mkInitRD" yaid tools creating initrd-files

ip_forward setup

If you want network access for the virtual server then you need to enable IP forwarding.
Set "ip_forward" to yes in /etc/network option.
# editor /etc/network/options
/etc/network/options is deprecated. ip_forward may be enabled in /etc/sysctl.conf by adding the line "net.ipv4.ip_forward=1"

Debian Etch has been released

Sarge is no longer stable and has been replaced by Etch. This document needs to be updated for Etch

  • References to Sarge need to be updated to use Etch instead.
  • Lenny is the new Debian testing. If you wish to continue to have a testing section listed, update it for Lenny. Otherwise remove the testing section.
  • Use the official Debian mirrors to get the OpenVZ packages.

--Dusty 19:26, 9 April 2007 (EDT)

Interface settings still give me an error.

I did an update on:

[...]
# device: %DEV%
iface %DEV% inet static
       address 192.168.0.2
       netmask 255.255.255.0
       network 192.168.2.0
       broadcast 192.168.2.255
       gateway 192.168.2.1

       up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=100
       pre-down sysctl -w net.ipv4.conf.%DEV%.proxy_arp=0
[...]

since the debian docs (/usr/share/doc/vzctl/README.Debian) told me this were the right values, but now I get on starting/stopping a VE:

vps-net_del WARNING: Function proxy_arp for eth0 is set to 0. Enable with 'sysctl -w net.ipv4.conf.eth0.proxy_arp=1'. See /usr/share/doc/vzctl/README.Debian.

The previous settings (see history) also gave me errors:

[...]
# device: %DEV%
iface %DEV% inet static
       address 192.168.0.2
       netmask 255.255.255.0
       network 192.168.2.0
       broadcast 192.168.2.255
       gateway 192.168.2.1

       up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=0
       pre-down sysctl -w net.ipv4.conf.%DEV%.proxy_arp=1
[...]

Anybody got a clue what the right values are?

--Vipz 16:27, 29 May 2007 (EDT)


See http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&oldid=2629, forum entry http://forum.openvz.org/index.php?t=msg&goto=10089 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387762

@vips: btw why have you change the settings to the buggy version of /usr/share/doc/vzctl/README.debian ?

So try a up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=1, not 100!

--Curx 21:35, 29 May 2007 (EDT)


Because with the 'right' version I get this warning on starup/shutdown of a VE:

vps-net_add WARNING: Function proxy_arp for eth0 is set to 0. Enable with 'sysctl -w net.ipv4.conf.eth0.proxy_arp=1'. See /usr/share/doc/vzctl/README.Debian.

So I guessed the right values were in /usr/share/doc/vzctl/README.Debian. I didn't know these values were buggy.

@Curx: got any idea how to get rid of this warning?

--Vipz 15:34, 30 May 2007 (EDT)

Return to "Installation on Debian/old" page.