Re: Chains policy and rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 28 Jul 2003 13:47:25 +0800, 
"LiMeiYong" <jobsli@xxxxxxxx> wrote in message 
<87969271865366.03228@xxxxxxxxxxxxxxxxxxxx>:

> 
>  I use a PC with 3 NICs. 
>  Their configurations are:
>  eth0: 152.201.3.179 mask 255.255.0.0
>  eth1: 152.20.3.181 mask 255.255.0.0

..you route traffic for, uh...:
ipcalc -bnmp 152.201.3.179/16
NETMASK=255.255.0.0
PREFIX=16
BROADCAST=152.201.255.255
NETWORK=152.201.0.0

...around 130 thousand boxes on one pc???  Not at all bad!  ;-)

..or, are these netmasks too wide?  Searching 130 000 takes 
a _while_, even if everything else works ok.  Depending on 
your network layout, reconsider your sub net strategy, 
chances are _fat_ a few thousand subnets with an handful 
of hosts in each, will prove faster.  Good Luck.  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux