eth0 interface taking a long time to start with many IP's

Issues related to configuring your network
Post Reply
vivithemage
Posts: 35
Joined: 2009/03/06 17:31:14
Contact:

eth0 interface taking a long time to start with many IP's

Post by vivithemage » 2015/03/24 04:47:11

I have 500 ip's assigned to a NIC on my CentOS 6 box. I got each IP to work in it's own VLAN, but when I went to add the range0's which had 253 ip's each, total 500 or so on the box, I go to restart the interface and it takes a very long time to start. This seems new in CentOS 6, as this doesn't seem to be an issue in CentOS 5, is there a way to speed it up? Does CentOS 6 do some sort of check?

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: eth0 interface taking a long time to start with many IP'

Post by TrevorH » 2015/03/24 08:52:07

CentOS 6 issues an arp check for each IP address for duplicate IP detection. You can turn that off if you're sure that there are none (and never will be). Consult /usr/share/doc/initscripts*/sysconfig.txt for how.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

vivithemage
Posts: 35
Joined: 2009/03/06 17:31:14
Contact:

Re: eth0 interface taking a long time to start with many IP'

Post by vivithemage » 2015/03/25 13:25:34

TrevorH wrote:CentOS 6 issues an arp check for each IP address for duplicate IP detection. You can turn that off if you're sure that there are none (and never will be). Consult /usr/share/doc/initscripts*/sysconfig.txt for how.
Nice, so would I put arp=no from the looks of that doc?

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: eth0 interface taking a long time to start with many IP'

Post by TrevorH » 2015/03/25 16:49:54

The parameter you want is ARPCHECK not ARP and both it and its parameter are case sensitive.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

vivithemage
Posts: 35
Joined: 2009/03/06 17:31:14
Contact:

Re: eth0 interface taking a long time to start with many IP'

Post by vivithemage » 2015/03/25 17:03:26

ah so

ARPCHECK=no

Post Reply