Re: getting counters for a plenty of vlan ifaces

2012-09-20 Thread Ivan Alexandrovich
On Wed, 19 Sep 2012 19:18:06 +0400 Gleb Smirnoff wrote: That's strange. Per-minute read shouldn't induce large CPU load. What snmp daemon do you use? I remember that several years ago net-snmp daemon from ports used a single linked list for all ARP entries, and thus it consumed a lot of CPU w

Re: getting counters for a plenty of vlan ifaces

2012-09-17 Thread Ivan Alexandrovich
Hi Thanks for your replies. Mike Tancsa mike at sentex.net wrote: We approach it a little differently and collect all the data via netflow, or in this case argus. Netflow is fine. We used ng_netflow with ng_vlan on a previous installation with FreeBSD-6.x and it worked fine. Then we had to d

getting counters for a plenty of vlan ifaces

2012-09-16 Thread Ivan Alexandrovich
Hi We are running freebsd9.0 on a router with more than 1000 of subscriber's vlan interfaces. Outgoing packet rate is approximately 40 kpps. There's a need to collect bytes and packets counters for all those vlan interfaces every minute (or even twice a minute) and store them in a plain text fil

Re: Subject: ethernet Q-in-Q ?

2011-08-31 Thread Ivan Alexandrovich
Hi Here's ugly patch against in 8.2-RELEASE (see attachment) that makes vlan nesting possible. # ifconfig em0.15 create # ifconfig em0.15.18 create Don't know about possible side effects though. I suppose it doesn't play well wth bridges etc. With ng_vlan nesting is also possible, but since

Re: Ethernet link status on i82576

2011-07-25 Thread Ivan Alexandrovich
On Fri, 22 Jul 2011 11:08:18 -0400 Ryan Stone wrote: I notice that the interface not up in your test. If you ifconfig it up does it detect that it has lost link? Thank you. When the interface is "up" driver works as expected. Thanks, Ivan ___ fre

Ethernet link status on i82576

2011-07-22 Thread Ivan Alexandrovich
Hi I've just noticed the following problem with intel's quad-port card based on i82756 chip: When the ethernet link goes down igb driver doesn't detect link status change. When the cable is unplugged ifconfig(8) still shows: igb5: flags=8802 metric 0 mtu 1500 options=1bb eth

Re: nested vlans and ethernet frame size

2007-09-11 Thread Ivan Alexandrovich
Thanks for all your replies and explanations. Sure lowering mtu below 1500 bytes for all hosts or using jumbo frames would be the right solution especially for corporate network. But we probably have to stick to 1500 bytes for one reason: that FreeBSD-based router configuration I mentioned is for

nested vlans and ethernet frame size

2007-09-10 Thread Ivan Alexandrovich
Hi I'd like to ask for advice - what is the right place for setting maximum ethernet frame size in freebsd? It needs 1526 bytes to allow two vlan tags per packet. Those tags must be processed by ng_vlan code so it seems that vlanmtu interface flag will be of no use here. We're running freebsd6.2-

vlan stacking

2007-08-29 Thread Ivan Alexandrovich
Hi I'm wondering is anybody using double vlans ("q-in-q", "vlan stacking", any name you like) on production hosts? Does it play well with common ethernet device drivers in freebsd (concerning the frame size) - fxp, em, for example? Looks like that almost nobody mentions q-in-q in freebsd mailli

Re: ng_netflow and router performance question

2006-10-12 Thread Ivan Alexandrovich
On Wed, 11 Oct 2006 02:02:38 +0300 Alexander Motin <[EMAIL PROTECTED]> wrote: I think, that there is not very good hash function now used in ng_netflow in traffic aggregation. So if > ip-addr varies from 10.60.0.0 to 10.60.100.255 means than destination address will vary in this range and all ot

ng_netflow and router performance question

2006-10-10 Thread Ivan Alexandrovich
Hi I'd like to ask a question about performance tuning for freebsd router running ng_netflow. There were a number of messages in mailing lists and forums where people inform that in their setups ng_netflow sustains high packet rates (>100K pkt/s) without any harm to accounting accuracy and lost p