LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-17-2013, 06:11 AM   #1
ruben.romartinez
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
IPv6 only configuration


Hi,

I am running an application that can work in both environments, IPv4 and IPv6. What I want to test is that if it works in an IPv6 environment only, so I need to deactivate the IPv4. I think I made it works with the eth0 interface but I cant manage to do the same with the loopback interface. Each time I restart the network adapters the lo IP address cames back even after removing the IPv4 value from the ifcfg-lo and adding the IPv6 one. What I finally try after going around is to remove the IPv4 address manually after restarting the network adapters. It worked but when I run my application, it can still create IPv4 sockets.

I run out of ideas so any help will be helpfull.

Kind regards,

Ruben
 
Old 04-18-2013, 05:25 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,950

Rep: Reputation: Disabled
You will probably have to recompile the kernel to remove IPv4 support completely.

If you decide to do that, make sure you install the new kernel as a separate boot option in addition to the kernel you're currently using.
 
1 members found this post helpful.
Old 04-19-2013, 04:25 AM   #3
ruben.romartinez
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks. That was what I though after looking around for two days.
 
Old 04-25-2013, 06:04 AM   #4
mikey99
Member
 
Registered: Nov 2008
Location: UK
Distribution: RHEL, Fedora
Posts: 68

Rep: Reputation: 12
Why don't you just block lo using iptables, and open up in ip6tables.

Mike
 
  


Reply


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
ipv6 configuration s_hcl Red Hat 13 03-30-2012 12:41 AM
ipv6 loopback configuration idan72 Linux - Networking 1 02-16-2011 03:06 PM
IPv6 Configuration on SuSE sunilvadranapu Suse/Novell 3 04-07-2009 02:28 AM
IPv6 configuration hermiod Linux - Networking 0 06-19-2008 11:51 AM
IPv6 support and configuration for RH 8.0 davloz Red Hat 0 01-21-2004 03:49 AM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration