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?
|