From owner-freebsd-questions Wed Oct 3 9:10:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from n170.usww.net (n170.usww.net [216.104.145.170]) by hub.freebsd.org (Postfix) with ESMTP id B4E2E37B403 for ; Wed, 3 Oct 2001 09:10:16 -0700 (PDT) Received: from usww.com (ppp155.max4.gabn.net [216.104.138.155] (may be forged)) by n170.usww.net (8.11.6/8.11.6) with ESMTP id f92J1G223350 for ; Tue, 2 Oct 2001 15:01:20 -0400 (EDT) (envelope-from unix@usww.com) Message-ID: <3BBA0D10.3FA53C30@usww.com> Date: Tue, 02 Oct 2001 14:53:04 -0400 From: unix@usww.com Organization: USWW (United States Wide Web) X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: ifconfig question on the new 4.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I installed the new release 4.4 on one machine to check out a feature I have been waiting for. That is the ability to track bytes through one interface using several IP numbers. I seem to have missed something I hope someone out there could help with. It appears to track incomming but not outgoing bytes. When you do a 'netstat -bin' you get a report like: netstat -bin Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll rl0 1500 00:48:54:1e:b9:38 13072 0 5142645 13636 0 1345022 0 rl0 1500 10/24 10.0.0.170 3984 - 4521604 13588 - 1152144 - rl0 1500 10.0.0.171/32 10.0.0.171 223 - 12331 0 - 0 - rl0 1500 10.0.0.172/32 10.0.0.172 241 - 14334 0 - 0 - rl0 1500 10.0.0.173/32 10.0.0.173 8403 - 355006 0 - 0 - rl0 1500 10.0.0.174/32 10.0.0.174 0 - 0 0 - 0 - rl0 1500 10.0.0.175/32 10.0.0.175 315 - 16779 0 - 0 - rl1* 1500 00:50:bf:16:15:50 0 0 0 0 0 0 0 rl2* 1500 00:50:bf:16:15:5f 0 0 0 0 0 0 0 rl3* 1500 00:48:54:1e:b7:81 0 0 0 0 0 0 0 rl4* 1500 00:50:ba:42:7f:be 0 0 0 0 0 0 0 lp0* 1500 0 0 0 0 0 0 0 lo0 16384 4 0 187 4 0 187 0 lo0 16384 127 127.0.0.1 4 - 187 4 - 187 - ppp0* 1500 0 0 0 0 0 0 0 sl0* 552 0 0 0 0 0 0 0 It is not counting the Outgoing packets or bytes on any /32 ip. I added the following to rc.conf which appeared to be what to do from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html ifconfig_rl0="inet 10.0.0.170 netmask 255.255.255.0" ifconfig_rl0_alias0="inet 10.0.0.171 netmask 255.255.255.255" ifconfig_rl0_alias1="inet 10.0.0.172 netmask 255.255.255.255" ifconfig_rl0_alias2="inet 10.0.0.173 netmask 255.255.255.255" ifconfig_rl0_alias3="inet 10.0.0.174 netmask 255.255.255.255" ifconfig_rl0_alias4="inet 10.0.0.175 netmask 255.255.255.255" Everything else seems to be fine it is just not counting the outgoing packets or bytes. Would some tell me what I missed? Thank you in advance Ben Bentsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message