Difference between revisions of "Talk:Installation on Debian/old"
m |
(Interface settings still give me an error.) |
||
Line 20: | Line 20: | ||
--[[User:Dusty|Dusty]] 19:26, 9 April 2007 (EDT) | --[[User:Dusty|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? | ||
+ | |||
+ | --[[User:Vipz|Vipz]] 16:27, 29 May 2007 (EDT) |
Revision as of 20:27, 29 May 2007
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)