NETGRAPH- bridge vlans using netgraph help

Eugene Grosbein eugen at grosbein.net
Fri Apr 27 15:53:09 UTC 2018


27.04.2018 21:39, Abdullah Tariq wrote:

>     > No, i am trying to bridge untagged frames between vlans of these interfaces. Is it doable?
> 
>     Sure. If you need to accept untagged frames from igb5, add tag 5 and send over igb6,
>     just create a bridge and add igb5 and vlan2 (vlan 5 vlandev igb6) to the bridge.

> ok sounds good but when i use following config
> 
> ifconfig vlan2 create vlan 5 vlandev igb5
> ifconfig vlan3 create vlan 5 vlandev igb6
> ifconfig bridge10 create addm vlan2 addm vlan3 up|
> 
> then it doesnt work.. 2 vlans with same tag dont work?

They do but that's not what you need. You deal with untagged frames on igb5,
so do not create any vlan on top on igb5 but use it directly:

ifconfig bridge10 create addm igb5 addm vlan3 up

And please do not top-post and reply to the list, not privately. Thank you.



More information about the freebsd-net mailing list