netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elison Niven <elison.niven@gmail.com>
To: netfilter@vger.kernel.org
Cc: elison.niven@matrixtelesol.com
Subject: table full, dropping packets when forwarding
Date: Wed, 23 Dec 2009 11:48:32 +0530	[thread overview]
Message-ID: <21df6cb70912222218x1effa9ednee786e6c5b1bc70f@mail.gmail.com> (raw)

Hi List,

I am running a custom powerpc board with linux kernel 2.6.22.
It was two interfaces eth0 - 192.168.1.148 and eth1 - 192.168.2.23

I have enabled forwarding on my board by writing 1 to
/proc/sys/net/ipv4/ip_forward and setup masquerading rules on both the
interfaces means packets leaving eth0 will have source ip =
192.168.1.148 and packets leaving eth1 will have source ip =
192.168.2.23.

Now in my network I have two machines A - 192.168.1.7 and another
Machine B - 192.168.2.13.

All of the above machines are in the same physical LAN. (means the
ethernet cables are connected to the same switch)

Now on machine A, I setup routing as
"route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.148"
and ping 192.168.2.13 from Machine A. When i do a flood ping with ping
-f 192.168.2.13, I get "nf_conntrack:table full, dropping packet" on
my board.

Taking a look at /proc/net/stat/nf_conntrack it shows the entries as
0x8000 i.e. 32768 which is the default max specified.

How do I solve/achieve this function?

Once the entries reach 0x8000, they never start to decrease! Am i
missing something ?

Elison

                 reply	other threads:[~2009-12-23  6:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=21df6cb70912222218x1effa9ednee786e6c5b1bc70f@mail.gmail.com \
    --to=elison.niven@gmail.com \
    --cc=elison.niven@matrixtelesol.com \
    --cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).