Archive for the tag 'IPv6'

SBDavid

Disable IPv6 in RHEL5

Disable IPv6 in RHEL5

Unless your policy or network configuration requires it, disable IPv6.

To do so, prevent the kernel module from loading by adding the following line to
/etc/modprobe.conf

install ipv6 /bin/true

Next, add or change the following lines in /etc/sysconfig/network:

NETWORKING_IPV6=no
IPV6INIT=no
SBDavid

How do I disable IPv6?

How do I disable IPv6?

Redhat recommends not disabling the ipv6 module, as that can cause issues with SELinux and other components, but adding the following to /etc/sysctl.conf will disable IPv6.

net.ipv6.conf.all.disable_ipv6 = 1
SBDavid

Disable ipv6 on RHEL 4 and 5

Disable ipv6 on RHEL 4 and 5

Edit /etc/sysconfig/network and change

NETWORKING_IPV6=yes to
NETWORKING_IPV6=no

Edit /etc/modprobe.conf and add these lines (if they’re not in it):

alias net-pf-10 off
alias ipv6 off

Stop the ipv6tables service by typing:

service ip6tables stop

Disable the ipv6tables service by typing:

chkconfig ip6tables off

IPv6 will be disabled after the next reboot of the system.

SBDavid

IPv6 Addresses Types

IPv6 Addresses Types

IPv6 addresses are broadly classified into three categories:

1) Unicast addresses A Unicast address acts as an identifier for a single interface. An IPv6 packet sent to a Unicast address is delivered to the interface identified by that address.

2) Multicast addresses A Multicast address acts as an identifier for a group/set of interfaces that may belong to the different nodes. An IPv6 packet delivered to a Multicast address is delivered to the multiple interfaces.

3) Anycast addresses Anycast addresses act as identifiers for a set of interfaces that may belong to the different nodes. An IPv6 packet destined for an Anycast address is delivered to one of the interfaces identified by the address.

SBDavid

IPV6 Network Configuration in Linux

IPV6 Network Configuration in Linux

Add nameserver to resolv.config

vi /etc/resolv.conf

Add line for ipv6 nameserver

nameserver 1407:f800::113:23:133:101

vi /etc/sysconfig/network

Add a line at the bottom

NETWORKING_IPV6=”yes”

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Add lines at the bottom

IPV6INIT=yes
IPV6ADDR=
IPV6_DEFAULTGW=

Example:

IPV6INIT=yes
IPV6ADDR=2407:f800:101::2
IPV6_DEFAULTGW=2407:f800:101::1

Restart network services:

service network restart

Next »