OpenVZ Forum


Home » General » Support » Debian 7 cant get ipv6 protocol up (Debian7 ipv6)
Debian 7 cant get ipv6 protocol up [message #51534] Thu, 10 July 2014 17:17
Patek is currently offline  Patek
Messages: 1
Registered: July 2014
Junior Member
Hi guys,
Im experiencing problem with setting up ipv6 protocol on my debian 7 system, hardware server with openvz kernel.
When pingin google Im gettin

$ ping6 ipv6.google.com
socket: Address family not supported by protocol


Following some google results Ive modified sysctl.conf file

net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.conf.default.proxy_arp=0
kernel.sysrq=1
net.ipv6.conf.eth0.autoconf=0
net.ipv6.conf.all.enable_ipv6=1
net.ipv6.bindv6only= 1
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.default.proxy_ndp=1
net.ipv6.conf.all.forwarding=1
net.ipv4.conf.all.send_redirects=0
net.ipv6.conf.all.proxy_ndp=1
net.ipv4.conf.default.send_redirects=1


I added ipv6 to module

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

loop
ipv6


And yes, I rebooted after all this Smile Any ideas ?


EDIT

Forgot bout my openvz config file @ /etc/vz/vz.conf

# Disable module loading. If set, vz initscript does not load any modules.
#MODULES_DISABLED=yes

# The name of the device whose IP address will be used as source IP for CT.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify ARP tables on.
NEIGHBOUR_DEVS=all

## Fail if there is another machine in the network with the same IP
ERROR_ON_ARPFAIL="no"

## Template parameters
TEMPLATE=/var/lib/vz/template

## Defaults for containers
VE_ROOT=/var/lib/vz/root/$VEID
VE_PRIVATE=/var/lib/vz/private/$VEID
CONFIGFILE="basic"
DEF_OSTEMPLATE="debian-6"

## Load vzwdog module
VZWDOG="no"

## IPv4 iptables kernel modules to be enabled in CTs by default
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
## IPv4 iptables kernel modules to be loaded by init.d/vz script
IPTABLES_MODULES="$IPTABLES"

## Enable IPv6
IPV6="yes"

## IPv6 ip6tables kernel modules
IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"
SKIP_SYSCTL_SETUP=yes

[Updated on: Thu, 10 July 2014 19:06]

Report message to a moderator

Previous Topic: Can't compile openvz kernel on debian 7
Next Topic: Resource management on main server
Goto Forum:
  


Current Time: Thu Mar 28 12:11:56 GMT 2024

Total time taken to generate the page: 0.01679 seconds