My setup is this on OpenSolaris 134b WAN->bge1->ipfilter/nat->bge0->LAN I have a VOIP box that I''m hooking on my LAN. I wanted to give this path preference so I added flow to that ip address: $ flowadm add-flow -l bge0 -a local_ip=10.101.1.200 ooma gave it high priority $ flowadm set-flowprop -p priority=high To make sure that things are working as expected, I turned on accounting: $ acctadm -e extended -f /var/log/net.log net It''s been over a day and several calls in an out of the VOIP box, but: $ flowadm show-usage -f /var/log/net.log Shows nothing! Anyone see anything wrong with my setup? Thanks. Gary -- This message posted from opensolaris.org
Hi, Gary: On 12/27/10 04:46 AM, Gary Gendel wrote:> My setup is this on OpenSolaris 134b > > WAN->bge1->ipfilter/nat->bge0->LAN > > I have a VOIP box that I''m hooking on my LAN. I wanted to give this path preference so I added flow to that ip address: > > $ flowadm add-flow -l bge0 -a local_ip=10.101.1.200 ooma > > gave it high priority > > $ flowadm set-flowprop -p priority=high > > To make sure that things are working as expected, I turned on accounting: > > $ acctadm -e extended -f /var/log/net.log net > > It''s been over a day and several calls in an out of the VOIP box, but: > > $ flowadm show-usage -f /var/log/net.log >Do you see the file net.log growing? Does flowadm show-flow -s ooma displaying statistics for ooma? -venu> Shows nothing! Anyone see anything wrong with my setup? Thanks. > > Gary >
Hi, Gary: On 12/27/10 09:06 AM, Gary Gendel wrote:> Venu, > > Sheesh! My face is red. This command: > > $flowadm show-usage -f /var/log/net.log -s oomaThe "-s" is not required. Probably stating the name of the flow (i.e. ooma) displayed the info. Without the name of the flow it should have displayed summary info., perhaps there is a bug. There were some changes to statistics, in general, in subsequent builds. -venu> > has lots of output. :) > > Now I can start monitoring it to see if it is doing it''s job. > > Gary > > On 12/27/10 11:13 AM, venugopal iyer wrote: >> Hi, Gary: >> >> On 12/27/10 04:46 AM, Gary Gendel wrote: >>> My setup is this on OpenSolaris 134b >>> >>> WAN->bge1->ipfilter/nat->bge0->LAN >>> >>> I have a VOIP box that I''m hooking on my LAN. I wanted to give this >>> path preference so I added flow to that ip address: >>> >>> $ flowadm add-flow -l bge0 -a local_ip=10.101.1.200 ooma >>> >>> gave it high priority >>> >>> $ flowadm set-flowprop -p priority=high >>> >>> To make sure that things are working as expected, I turned on >>> accounting: >>> >>> $ acctadm -e extended -f /var/log/net.log net >>> >>> It''s been over a day and several calls in an out of the VOIP box, but: >>> >>> $ flowadm show-usage -f /var/log/net.log >> >> Do you see the file net.log growing? Does >> flowadm show-flow -s ooma >> displaying statistics for ooma? >> >> -venu >>> Shows nothing! Anyone see anything wrong with my setup? Thanks. >>> >>> Gary >> >