FreeBSD box dropping packets

Anton Nikiforov anton at
Mon Mar 20 18:27:44 UTC 2006

Dear All,
I have a FreeBSD box running 5.4-RELEASE-p8.
Two interfaces:
fxp0 - internet, SKA4 internal interface
fxp0: <Intel 82559 Pro/100 Ethernet>

bge0 - internal with 30 vlans on it, old bge Gigabit 64/32 PCI-2.1 adapter.
bge0: <Altima AC1002 Gigabit Ethernet, ASIC rev. 0x105>

Firewall is pf with about 5000 rules.

A week ago it was working just properly, but after adding more RAM (2GB 
additional RAM, and i do not thing that this is the reason of the 
problem) it starts to drop large packets.
And the larger packet is - the more packets being droped, some of the 
does not appears to be incoming on bge interface, some of them being 
lost in between bge0 and fxp0 and some of them passing through. On the 
test with 1500 byte packets it looses about 40% (with 1400 it is 36%, 
with 512 byte packets it is 19%, with 256 byte packets it is 0).
And strange thing. When i'm pinging with large packets from external 
host (at the same IP network and connected to the same switch) - it 
looses packets exactly the same way, but when i'm pinging from this host 
itself the others - no looses appears at all.
So, looks like the interface sending packets just properly, but having 
trouble receivivng packets.

System load is almost 0% (1-5% in long term), sometimes 50% (sort term 
load, like mail antispam filter or antivirus). But it is 4CPU 
Pentium-III XEON, this should not be a problem and it was not a problem.

Does someone have any ideas?

Best regards,
Anton Nikiforov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2218 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the freebsd-stable mailing list