LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:41 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

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 12:00 PM.
 
Old 02-27-2014, 12:17 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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, 12:35 PM   #3
postcd
Member
 
Registered: Oct 2013
Posts: 527

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



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 06:17 AM
How to add ipv6 support to kernel 2.4.21 raver Linux - Networking 4 08-14-2007 06:05 PM
kernel compiled with raid support? imagineers7 Linux - General 1 05-30-2006 08:30 AM
kernel compiled with raid support? imagineers7 Linux - Kernel 1 05-30-2006 08:25 AM
ALSA/ sound support compiled into kernel? centr0 Linux - Software 4 03-05-2003 09:20 AM

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

All times are GMT -5. The time now is 07:50 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