From owner-freebsd-stable Tue Sep 17 16:39:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EEC337B401 for ; Tue, 17 Sep 2002 16:39:45 -0700 (PDT) Received: from eurobazar.pl (eurobazar.pl [212.106.4.30]) by mx1.FreeBSD.org (Postfix) with SMTP id DC1BB43E81 for ; Tue, 17 Sep 2002 16:39:43 -0700 (PDT) (envelope-from piter@eurobazar.pl) Received: (qmail 8586 invoked from network); 17 Sep 2002 23:39:40 -0000 Received: from pr140.warszawa.sdi.tpnet.pl (HELO piterhome) (piter@213.25.54.140) by eurobazar.pl with SMTP; 17 Sep 2002 23:39:40 -0000 Message-ID: <001b01c25ea3$7bf2dff0$0200a8c0@piterhome> From: "Piotr Szczepanik" To: Subject: seems like ipalias accounting is broken in -STABLE Date: Wed, 18 Sep 2002 01:39:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have an interface set up with an alias... When I run 'netstat -i' then I see pkts incoming to the interface using aliased ip but seems that nothing is leaving interface with this alias... Here is what I see... (the alias is 192.168.0.128) Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll rl0 1500 00:30:84:9d:59:2f 697922 0 724756 0 0 rl0 1500 192.168.0 nn0 78406 - 5560 - - rl0 1500 fe80:1::230 fe80:1::230:84ff: 0 - 0 - - rl0 1500 192.168.0.128 192.168.0.128 4 - 0 - - Packets are leaving the interface. It's just that they are summed up to the stats for 192.168.0.1 When I tried the same for 4.6.2-RELEASE I got accounting info shown correctly... Here is what I see... Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll vr0 1492 00:05:5d:03:7c:4c 322737 0 281229 0 574 vr0 1492 0 0.0.0.0 0 - 0 - - vr0 1492 fe80:1::205 fe80:1::205:5dff: 0 - 0 - - vr1 1500 00:05:5d:a2:6b:3c 288168 0 256815 0 486 vr1 1500 192.168.1 eb 16781 - 11047 - - vr1 1500 fe80:2::205 fe80:2::205:5dff: 0 - 0 - - vr1 1500 192.168.1.128 192.168.1.128 6 - 6 - - see the last line above... it shows 6 Ipkts, and 6 Opkts... this must have changed somewhere between 4.6 and 4.7-PRERELEASE Regards, peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message