Thanks, yes I know the calculation, but the new value of the IP is not known, low-order bits of the existing IP are masked in to the new IP. I obviously could do what you suggest with a libpcap-based post-processor, but otherwise I must not be understanding what you are suggesting, can you elaborate?
________________________________________ From: Aaron Turner <synfina...@gmail.com> Sent: Friday, July 15, 2016 3:36:30 PM To: Main forum for tcpreplay Subject: Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC You definitely could do this in one pass with a code change. You just take the lower 23 bits of the IP address and map that onto the lower 23 bits of the MAC address. The upper 24 bits of the MAC are just: 01-00-5E and the remaining high bit of the 4th octet is zero. More info: https://technet.microsoft.com/en-us/library/cc957928.aspx -- Aaron Turner https://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin On Fri, Jul 15, 2016 at 1:04 PM, James deCocq <dotmar...@hotmail.com> wrote: > The alternative would seem to involve several tens or hundreds of passes > through the file, or to write a standalone post-processor I suppose. Any way > to submit a patch or write a hook to do this in the same pass? The rub would > seem to be making it dependent on the multicast address change. > > ________________________________________ > From: Aaron Turner <synfina...@gmail.com> > Sent: Friday, July 15, 2016 1:54:12 PM > To: Main forum for tcpreplay > Subject: Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC > > you can change/hardcode a new MAC, but there's no way of recalculating > based on the IP address. > -- > Aaron Turner > https://synfin.net/ Twitter: @synfinatic > Those who would give up essential Liberty, to purchase a little temporary > Safety, deserve neither Liberty nor Safety. > -- Benjamin Franklin > > > On Fri, Jul 15, 2016 at 10:13 AM, James deCocq <dotmar...@hotmail.com> wrote: >> Hi all, >> >> Using tcprewrite to modify destination multicast IP using a CIDR mask, iIs >> there a way to force recalculation of the multicast destination MAC address >> associated with the new value of the IP? Thanks! >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >> patterns at an interface-level. Reveals which users, apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> Tcpreplay-users mailing list >> Tcpreplay-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Tcpreplay-users mailing list > Tcpreplay-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Tcpreplay-users mailing list > Tcpreplay-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support