LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2014, 12:41 PM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 531

Rep: Reputation: Disabled
[ipv6_test] Kernel is not compiled with IPv6 support


Hello, i tried to enable IPv6 networking and after service network restart i seen these messages:

Quote:
FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy
CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy
CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
[ OK ]
ping6 ipv6.google.com

returns: socket: Address family not supported by protocol

Im amateur, can you please suggest how to fix this IPv6 support kernel issue? Please if you get idea on commands i need to do, i will do it.

Code:
[root@CentOS-58-64-minimal /]# cat vi /etc/sysconfig/network | grep 6;
cat: vi: No such file or directory
HOSTNAME=CentOS-58-64-minimal
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_DEFAULTDEV=eth0
IPV6_DEFAULTGW=2a01:04f8:0191:4150:0000:0000:0000:0000
# defaultgw was 2a01:4f8:191:4150::2/64
IPV6_AUTOCONF=yes
[root@CentOS-58-64-minimal /]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep 6;
HWADDR=50:46:5d:9f:f8:bf
IPADDR=144.76.40.81
SCOPE="peer 144.76.40.65"
IPV6INIT=yes
IPV6ADDR=2a01:4f8:191:4150::2/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFAULTDEV=eth0
[root@CentOS-58-64-minimal /]# cat /etc/sysctl.conf | grep 6;
# ipv6 settings (no autoconfiguration)
net.ipv6.conf.default.autoconf=0
net.ipv6.conf.default.accept_dad=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_ra_defrtr=0
net.ipv6.conf.default.accept_ra_rtr_pref=0
net.ipv6.conf.default.accept_ra_pinfo=0
net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_dad=0
net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_ra_defrtr=0
net.ipv6.conf.all.accept_ra_rtr_pref=0
net.ipv6.conf.all.accept_ra_pinfo=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.proxy_ndp=1
net.ipv6.bindv6only=1
net.ipv4.ip_conntrack_max=32760
[root@CentOS-58-64-minimal /]# uname -a
Linux CentOS-58-64-minimal 2.6.18-348.16.1.el5.028stab108.1 #1 SMP Tue Aug 27 13:02:53 MSD 2013 x86_64 x86_64 x86_64 GNU/Linux

Last edited by postcd; 02-27-2014 at 01:00 PM.
 
Old 02-27-2014, 01:17 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,232

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Check whether the module is disabled.
Code:
less /etc/modprobe.conf
See if the file contains the lines:
Code:
alias net-pf-10 off
alias ipv6 off
If it does, edit the file and remove or comment out the lines.
 
Old 02-27-2014, 01:35 PM   #3
postcd
Member
 
Registered: Oct 2013
Posts: 531

Original Poster
Rep: Reputation: Disabled
Thank you for help. It did not contained these lines at all. But after server restart errors are away and it pinging6, so im not sure why restart was needed when i already restarted service "network"
 
  


Reply

Tags
ipv6, kernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
driver wi fi support on two compiled kernel!!! agostain Linux - Hardware 0 01-07-2009 07:17 AM
How to add ipv6 support to kernel 2.4.21 raver Linux - Networking 4 08-14-2007 07:05 PM
kernel compiled with raid support? imagineers7 Linux - General 1 05-30-2006 09:30 AM
kernel compiled with raid support? imagineers7 Linux - Kernel 1 05-30-2006 09:25 AM
ALSA/ sound support compiled into kernel? centr0 Linux - Software 4 03-05-2003 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration