Archive for the tag 'networking'

SBDavid

How to disable Zeroconf Networking

How to disable Zeroconf Networking

Zeroconf networking allows the system to assign itself an IP address and engage in IP communication without a statically-assigned address or even a DHCP server. Automatic address assignment via Zeroconf (or DHCP) is not recommended.

To disable Zeroconf automatic route assignment in the 169.245.0.0 subnet, add or correct the following line in /etc/sysconfig/network

NOZEROCONF=yes

Zeroconf addresses are in the network 169.254.0.0. The networking scripts add entries to the system’s routing table for these addresses. Zeroconf address assignment commonly occurs when the system is configured to use DHCP but fails to receive an address assignment from the DHCP server.

SBDavid

Howto disable ipv6 networking

Howto disable ipv6 networking

First check if the module is loaded:

To check if this module is currently loaded in your system, issue the following command as root. If you see ipv6 in its output, then the module is loaded.

lsmod | grep ipv6

Disable ipv6 in ubuntu:

You need to edit the aliases file using the following command:

sudo nano /etc/modprobe.d/aliases

Find

alias net-pf-10 ipv6

change to

alias net-pf-10 off
alias ipv6 off

Save the file and reboot.

Disable ipv6 in Fedora/Centos:

Open your modprob.conf file and add following line:

vi /etc/modprobe.conf

Add

alias net-pf-10 off

Or disable it with the following command.

chkconfig ip6tables off