Re: bridge Untagged packets on an interface

2014-05-04 Thread Julian Elischer
On 5/3/14, 4:59 AM, Özkan KIRIK wrote: And also i tried ng_bpf + ng_eiface conjuction, but ng_bpf doesnt match "vlan" filter. With the script below, ng_bpf always calls ifNotMatch hook. When the pattern is "ip", ng_bpf matches frames have both vlan and ip headers. I think ng_bpf doesnt process

Re: bridge Untagged packets on an interface

2014-05-02 Thread Özkan KIRIK
And also i tried ng_bpf + ng_eiface conjuction, but ng_bpf doesnt match "vlan" filter. With the script below, ng_bpf always calls ifNotMatch hook. When the pattern is "ip", ng_bpf matches frames have both vlan and ip headers. I think ng_bpf doesnt process ethernet header. Is there a way to proc

bridge Untagged packets on an interface

2014-05-02 Thread Özkan KIRIK
Hi, Assume that default vlan untagged and VLAN 10, 20, 30, 40 tagged on switch connected to em0 interface. i am trying to bridge only untagged frames on em0 with em1. Does if_vlan handle untagged frames? # ifconfig em0.0 create ifconfig: SIOCIFCREATE2: Invalid argument Any ideas? Best regards