From owner-freebsd-net@FreeBSD.ORG Tue Jan 29 13:05:12 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A99FB16A419 for ; Tue, 29 Jan 2008 13:05:12 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 67F4F13C478 for ; Tue, 29 Jan 2008 13:05:12 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3018815pyb.10 for ; Tue, 29 Jan 2008 05:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=daZn4SqxrEUONu17ixaxqtgKqJzq25uk16BDYU7mCQU=; b=wtGn19qf2s/9Buu9h5332Z0zfkvj4CBQaWU//UU2KgHDzDjdw/l/3rGmGIIyFJhbKpShpmtct5rDvMCt1kUqZEE4OYiy2H7EbtNpzYf+ZBBA4/OjcrYIrauAXvSfEraWrNgYi3j+1xJLmgCcjC7lxZZVDQaPclu8XG38WrTAC9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E4fTTUzkcGNlRHduQbQ+90cyfnrpVvNYEYknDMkw5xB9uHX6W9XkkEqTqblZHD3Y1iRa6qzNcLCIpT1ggEHt+j4nzxbUEBRMa3HdLa3w+kDulOLWdQh/XTtLru/J4MrwZm51wrTtFOoJ4W43JZSLjoRMnl1STi3GK3hh0jb/FTw= Received: by 10.65.54.9 with SMTP id g9mr14218736qbk.3.1201610371136; Tue, 29 Jan 2008 04:39:31 -0800 (PST) Received: by 10.64.184.9 with HTTP; Tue, 29 Jan 2008 04:39:31 -0800 (PST) Message-ID: <8e10486b0801290439y77568aeby6c6dbfbb5132f61d@mail.gmail.com> Date: Tue, 29 Jan 2008 10:39:31 -0200 From: "Alexandre Biancalana" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: VLAN problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 13:05:12 -0000 Hi list, I changed the company gateway implementing vlan concept and now I have a lot of slow and packet loss. I'm running FreeBSD FW1 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Jan 25 10:36:18 UTC 2008 root@FW1:/usr/obj/usr/src/sys/FW amd64 This server is an Dell Power Edge 1950, QuadCore 2.83, 2Gb Ram, one bce gigabit interface connected to a gigabit port of a Cisco 4500 in trunk mode. There are 10 vlans configured on top of bce1 interface. I made this change last night and with small traffic all was ok, but with the increase of the traffic during normal daily usage, we are experiencing too much packet loss and slow connections. I change the mtu of bce to 9000, this help something but I still have bad performance. I think that this could be related with mtu, but I don't know where and what to change. Googling around I found some references that said to test mtu with ping and here are the results: # ping -D -s 1473 192.168.0.5 PING 192.168.0.5 (192.168.0.5): 1473 data bytes ping: sendto: Message too long ping: sendto: Message too long --- 192.168.0.5 ping statistics --- 6 packets transmitted, 0 packets received, 100.0% packet loss # ping -D -s 1400 10.2.0.36 PING 10.2.0.36 (10.2.0.36): 1400 data bytes 1408 bytes from 10.2.0.36: icmp_seq=0 ttl=64 time=86.026 ms 1408 bytes from 10.2.0.36: icmp_seq=1 ttl=64 time=5.558 ms --- 10.2.0.36 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max/stddev = 5.558/45.792/86.026/40.234 ms Looking at netstat -ni output I have output errors too: # netstat -niW Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bce0* 1500 00:1d:09:67:8d:f1 0 0 0 0 0 bce1 9000 00:1d:09:67:8d:ef 83289870 0 80535996 0 0 pflog0 33160 0 0 1153529 0 0 lo0 16384 516657 0 516661 0 0 lo0 16384 127.0.0.0/8 127.0.0.1 4041401 - 516661 - - pfsync0 1460 0 0 0 0 0 vlan2 1500 00:1d:09:67:8d:ef 37445062 0 32727529 1047565 0 vlan2 1500 10.2.0.0/16 10.2.0.36 636786 - 3000823 - - vlan11 1500 00:1d:09:67:8d:ef 33865371 0 36676651 993848 0 vlan11 1500 10.11.0.0/16 10.11.0.1 51270 - 1147250 - - vlan16 1500 00:1d:09:67:8d:ef 388 0 19 0 0 vlan16 1500 10.16.0.0/24 10.16.0.1 5 - 13 - - vlan20 1500 00:1d:09:67:8d:ef 1483 0 1 0 0 vlan20 1500 10.20.0.0/24 10.20.0.1 636 - 0 - - vlan200 1500 00:1d:09:67:8d:ef 390 0 3 0 0 vlan200 1500 10.200.0.0/30 10.200.0.1 0 - 0 - - vlan201 1500 00:1d:09:67:8d:ef 19153 0 19274 3408 0 vlan201 1500 10.200.0.4/30 10.200.0.5 0 - 0 - - vlan202 1500 00:1d:09:67:8d:ef 8338 0 6694 1074 0 vlan202 1500 10.200.0.8/30 10.200.0.9 0 - 0 - - vlan203 1528 00:1d:09:67:8d:ef 1691886 0 1429174 86768 0 vlan203 1528 192.168.0.0/2 192.168.0.1 35672 - 31375 - - vlan204 1500 00:1d:09:67:8d:ef 1256 0 3 0 0 vlan204 1500 10.0.0.84/30 10.0.0.85 0 - 0 - - vlan205 1500 00:1d:09:67:8d:ef 10256373 0 9676750 626525 0 vlan205 1500 10.0.0.8/30 10.0.0.9 2509909 - 2667896 - - Any help is very appreciated, Regards, Alexandre Biancalana PS: Please cc me, because I'm not subscribed in the list.