[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOid5F8L8enzhKfW46SGxoZBp8Sed6xBSpE4Hqt+cY02r_O1xA@mail.gmail.com>
Date: Sat, 20 Jan 2024 10:33:24 +0530
From: Vikas Aggarwal <vik.reck@...il.com>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: Suman Ghosh <sumang@...vell.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
Thanks so much Pedro Tammela & Suman.
Getting bit greedy here with tc filter :) - Can i also use some
boolean for example dst_mac != aa:bb:cc:dd:ee:ff
On Thu, Jan 18, 2024 at 3:10 AM Pedro Tammela <pctammela@...atatu.com> wrote:
>
> On 17/01/2024 16:15, Vikas Aggarwal wrote:
> > Thanks Suman that works.
> > I need similar "redirect rule" on egress side. Suppose if i do udhcpc
> > -i eth1 then I want DHCP to resolve via eth0.
> > Syntax on egress (root) side is different and more complicated and I
> > need to learn egress syntax.
> > I am trying to tc filter + mirror based on udp and DHCP port 67-68 .
> > Can you please help with this egress side DHCP redirect too.
> > Thanks Again
> > Vikas
> >
>
> tc qdisc add $ETH clsact
> tc filter add dev $ETH egress ...
>
Powered by blists - more mailing lists