Difference between revisions of "Talk:Installation on Debian/old"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (Reverted edits by 195.2.240.68 (Talk) to last revision by Vipz)
(rambojones: new section)
Line 77: Line 77:
  
 
--[[User:Vipz|Vipz]] 15:34, 30 May 2007 (EDT)
 
--[[User:Vipz|Vipz]] 15:34, 30 May 2007 (EDT)
 +
 +
== rambojones ==
 +
 +
Hey, something is wrong with your site in Opera, you should check into it.

Revision as of 08:15, 29 October 2010

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)

rambojones

Hey, something is wrong with your site in Opera, you should check into it.