Maximum number of network interfaces supported?

Post Reply
paulwilliamson
Junior Member
Posts: 8
Joined: 16 Dec 2013, 00:36
Location: Sydney, Australia

Maximum number of network interfaces supported?

Post by paulwilliamson »

Hi,

I was just wondering what the maximum number of interfaces is supported by CSF?

We have had a few strange occurrences where despite the overall rules (csf.conf) allowing certain ports, we had to add specific rules in csf.allow to permit access for ip addresses to the ports that were already permitted by TCP_IN and TCP_OUT.

This case I have observed on our server running CentOS 6.5 (2.6.32-431.el6.x86_64) that has 71 network interfaces.

Do you think it would be the number of interfaces causing the issue? What else should I look at if it is unlikely to be this?

Code: Select all

ifcfg-eth0
ifcfg-eth1
ifcfg-eth1.4
ifcfg-eth1.700
ifcfg-eth1.701
ifcfg-eth1.704
ifcfg-eth1.709
ifcfg-eth1.712
ifcfg-eth1.719
ifcfg-eth1.724
ifcfg-eth1.726
ifcfg-eth1.727
ifcfg-eth1.729
ifcfg-eth1.730
ifcfg-eth1.731
ifcfg-eth1.735
ifcfg-eth1.738
ifcfg-eth1.742
ifcfg-eth1.763
ifcfg-eth1.767
ifcfg-eth1.769
ifcfg-eth1.770
ifcfg-eth1.771
ifcfg-eth1.773
ifcfg-eth1.775
ifcfg-eth1.778
ifcfg-eth1.779
ifcfg-eth1.782
ifcfg-eth1.783
ifcfg-eth1.784
ifcfg-eth1.786
ifcfg-eth1.788
ifcfg-eth1.791
ifcfg-eth1.793
ifcfg-eth1.798
ifcfg-eth1.799
ifcfg-eth1.800
ifcfg-eth1.804
ifcfg-eth1.807
ifcfg-eth1.811
ifcfg-eth1.812
ifcfg-eth1.814
ifcfg-eth1.817
ifcfg-eth1.819
ifcfg-eth1.820
ifcfg-eth1.821
ifcfg-eth1.823
ifcfg-eth1.826
ifcfg-eth1.827
ifcfg-eth1.828
ifcfg-eth1.830
ifcfg-eth1.831
ifcfg-eth1.832
ifcfg-eth1.833
ifcfg-eth1.835
ifcfg-eth1.836
ifcfg-eth1.837
ifcfg-eth1.838
ifcfg-eth1.839
ifcfg-eth1.840
ifcfg-eth1.841
ifcfg-eth1.842
ifcfg-eth1.843
ifcfg-eth1.844
ifcfg-eth1.845
ifcfg-eth1.846
ifcfg-eth1.999
ifcfg-eth2
ifcfg-eth3
ifcfg-eth4
route-eth1.999
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Maximum number of network interfaces supported?

Post by ForumAdmin »

There are no restrictions in csf. We've seen installations with /24 worth of interfaces working without issue several times. Any issue of this nature is likely to be to do with iptables, the kernel, server memory and the kernel iptables settings in the /proc/ and /sys/ interfaces. You would need to delve more deeply into the fundamentals of iptables configuration to determine where the problem is, but a start would be to check /etc/sysctl.conf and start with a default configuration of that file if it has been modified in any way.
Post Reply