Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 01:39:36 +0200
From:      "Piotr Szczepanik" <piter@eurobazar.pl>
To:        <freebsd-stable@freebsd.org>
Subject:   seems like ipalias accounting is broken in -STABLE
Message-ID:  <001b01c25ea3$7bf2dff0$0200a8c0@piterhome>

next in thread | raw e-mail | index | archive | help
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  <Link#1>    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  <Link#1>    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  <Link#2>    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c25ea3$7bf2dff0$0200a8c0>