[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SJ0PR18MB5216A0508C53C5D669C07F72DB6B2@SJ0PR18MB5216.namprd18.prod.outlook.com>
Date: Mon, 8 Jan 2024 06:47:17 +0000
From: Suman Ghosh <sumang@...vell.com>
To: Vikas Aggarwal <vik.reck@...il.com>,
"netdev@...r.kernel.org"
<netdev@...r.kernel.org>,
"jhs@...atatu.com" <jhs@...atatu.com>
Subject: RE: [EXT] tc-mirred : Redirect Broadcast (like ARP) pkts rcvd on eth1
towards eth0
Hi Vikas,
As I understand, tc mirror is an action and can be applied with any filter rules. So, something below you can try
tc filter add dev eth1 ingress protocol ip flower dst_mac <DMAC> m <MASK> action mirred ingress mirror dev eth1
Regards,
Suman
>-----Original Message-----
>From: Vikas Aggarwal <vik.reck@...il.com>
>Sent: Monday, January 8, 2024 11:36 AM
>To: netdev@...r.kernel.org; jhs@...atatu.com
>Subject: [EXT] tc-mirred : Redirect Broadcast (like ARP) pkts rcvd on eth1
>towards eth0
>
>External Email
>
>----------------------------------------------------------------------
>Hello "tc" experts,
>
>I have questions regarding tc-mirred.
>
>Can tc-mirred tool match on ethernet destination MAC address as I want to
>redirect all broadcast pkts recvd on my ETH1 interface from external
>network to appear on ETH0 ingress interface.
>
>Thanks & Regards
>-vik.reck
Powered by blists - more mailing lists