VLAN tag insertion on outgoing packet
I am working to insert vlan tags for some client macs on outgoing packets via native vlan. I have tried nh_hooks IN, OUT and Forward but didnt get any success.
What i want is either i can add tag to packet from client coming to native vlan and then send it via same vlan or is it possible that i can forward native vlan packet of some client based on their MAC to tagged vlan interface?
Any suggestion in netlink nh hooks code or kernel level code? or is it possible to do that via ebtables based on MAC?
|