关于linux /etc/sysconfig/network中的NOZEROCONF=yes参数

Posted msdnchina

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于linux /etc/sysconfig/network中的NOZEROCONF=yes参数相关的知识,希望对你有一定的参考价值。

关于linux /etc/sysconfig/network中的NOZEROCONF=yes参数

今天从CSSD Fails to Join the Cluster After Private Network Recovered if avahi Daemon is up and Running (Doc ID 1501093.1)文章中看到了这个参数,
在该文章中,有如下的论述:

Solution

The solution is to shutdown and disable 3rd party zeroconf mDNS process, in this case, avahi-daemon
To shut it down, as root:

# /etc/init.d/avahi-daemon stop

To disable it, as root:

# /sbin/chkconfig  avahi-daemon off

On Oracle Linux/Redhat Linux, "NOZEROCONF=yes" must be included in /etc/sysconfig/network


另外,如下的文章介绍了该参数:
How To Prevent Bogus Entry 169.254.0.0/255.255.0.0 Automatically Added To Routing Table (Doc ID 1161144.1)
在该文章中,有如下的描述:

The route entry "169.254.0.0/16" is the IPV4 "link local" block.It is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such as when a DHCP server may not be found.

This routing entry is added automatically because RHEL/OEL enable Zero configuration networking(zeroconf) by default.

To disable the zeroconf route during system boot or network service restart,
 edit the /etc/sysconfig/network file and add the following NOZEROCONF value to the end of the file:


NETWORKING=YES
HOSTNAME=localhost.localdomain
NOZEROCONF=yes


 More information about zeroconf could be found at: http://en.wikipedia.org/wiki/Zero_configuration_networking


这么说,若是Oracle Linux/Redhat Linux作为Oracle DB Server使用,是不是要强制:把NOZEROCONF=yes添加到/etc/sysconfig/network中?
感觉是要把NOZEROCONF=yes添加到/etc/sysconfig/network中!

但是在RAC 和 Oracle Clusterware 最佳实践和初学者指南 (Linux) (Doc ID 1525820.1)中,并没有NOZEROCONF的描述。

以上是关于关于linux /etc/sysconfig/network中的NOZEROCONF=yes参数的主要内容,如果未能解决你的问题,请参考以下文章

设置Linux系统虚拟机网卡配置全过程

linux centos ip设置网卡设置

VMware安装CentOS6

解决CentOS不能联网且ifconfig出现command not found

关于linux

关于Linux的历史