Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Arnt Karlsen <arnt@c2i.net>
To: LiMeiYong <jobsli@21cn.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Chains policy and rules
Date: Mon, 28 Jul 2003 23:31:59 +0200	[thread overview]
Message-ID: <20030728233159.4ff89f5d.arnt@c2i.net> (raw)
In-Reply-To: <87969271865366.03228@send3.inner-21cn.com>

On Mon, 28 Jul 2003 13:47:25 +0800, 
"LiMeiYong" <jobsli@21cn.com> wrote in message 
<87969271865366.03228@send3.inner-21cn.com>:

> 
>  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.



      parent reply	other threads:[~2003-07-28 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-28  5:47 Chains policy and rules LiMeiYong
2003-07-28  9:09 ` Chris Wilson
2003-07-28 21:31 ` Arnt Karlsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030728233159.4ff89f5d.arnt@c2i.net \
    --to=arnt@c2i.net \
    --cc=jobsli@21cn.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox