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 09-25-2007, 05:50 AM   #1
lindani
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
Question Disabled IPV4 in fc6


hi dears:
i want to disabled IPV4 completely in fc6 and i have a server with IPV6-noly support.
can you help how can i do it?
i read this article but do it step by step, but i can add ipv4 to this server and ping it:

Disabling IPv4 Capabilities

If one wants that the machine becomes an IPv6-Only machine, then one needs to disable the IPv4 networking while maintaining the IPv6 networking. This can be obtained by removing various directive statements from files that control the initial networking capabilities at boot time.

Disabling IPv4 networking is performed by modifying the 'hosts' file, the 'network' file and the multiple interface related files 'ifcfg-<intfce>'. Disabling IPv4 address resolution is performed by changing the 'resolv.conf' file.

Disabling IPv4 Networking

The 'host-name' should be removed from the 'hosts' file as well as the IPv4 'localhost' entry. The 'gateway' and the 'netmask' must be removed from the 'network' file. The 'ip-address' and 'netmask' must be removed from the multiple interface related files.

'/etc/hosts'
|::1 localhost.localdomain localhost
|# 127.0.0.1 localhost.localdomain localhost
|# <IPv4-Addr> <mach-name>.<domain-name> <mach-name>

'/etc/sysconfig/network'
|HOSTNAME=<host-name>.<domain-name>
|# GATEWAY=<gw-add>
|# GATEWAYDEV=<gw-dev>
|# NETMASK=<mask>

'/etc/sysconfig/network-scripts/ifcfg-<intfce>'
|# IPADDR=<ipv4-addr>
|# NETMASK=<net-mask>
Disabling IPv4 Address Resolution

Remove all IPv4 specific nameservers from the 'resolv.conf' file, as well as the search for the IPv4 domains. Refer to the 'BIND' service for more details on this particular aspect.

'/etc/resolv.conf'
|search <ipv6-domain-name>
|nameserver <1st-ipv6-nameserver>
|nameserver <2rd-ipv6-nameserver>

i must do anything?
 
Old 09-25-2007, 07:31 AM   #2
lindani
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
nobody couldn't response to me.
please help me.
how can i disable IPV4 in linux???????
 
  


Reply



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
PCI soundcrd disabled in FC6. draft_john Linux - Hardware 5 06-30-2007 06:03 PM
FC6 Video Output Disabled, How do I re-enable it? PS3Lover Fedora 0 02-27-2007 12:47 PM
installed fc6 on seperate partition, same hard drive with xp, fc6 wont boot frankandsense Linux - Newbie 6 02-22-2007 02:50 AM
XEN. Problem with install guest FC6 (i386) on platform FC6 (x86_64) Alex_Saf Fedora 0 12-04-2006 12:15 AM
IPv4 not there??? Goblin82 Linux - Networking 4 03-03-2006 07:07 PM

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

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