[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tcpreplay-users
Subject:    Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC
From:       James deCocq <dotmarker () hotmail ! com>
Date:       2016-07-16 4:07:33
Message-ID: SN1PR14MB0509427EAEBEB06D0D05B8FAB2340 () SN1PR14MB0509 ! namprd14 ! prod ! outlook ! com
[Download RAW message or body]

Ah, by "a code change" you meant to the utility? I offered to do that a couple posts \
back. I vote for a boolean parameter indicating update MAC on a change to multicast \
IP. Not holding my breath, I'll write a libpcap thing to fix up my files, Thanks \
though!

________________________________________
From: Aaron Turner <synfinatic@gmail.com>
Sent: Friday, July 15, 2016 6:24:45 PM
To: Main forum for tcpreplay
Subject: Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

Yes, that's why I said "with a code change".
--
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 4:05 PM, James deCocq <dotmarker@hotmail.com> wrote:
> I am using tcprewrite, but aren't you describing a programmatic solution? "Look at \
> it and then rewrite the MAC" is exactly what I'd like to do, but how to accomplish \
> that with tcprewrite? 
> ________________________________________
> From: Aaron Turner <synfinatic@gmail.com>
> Sent: Friday, July 15, 2016 5:33:21 PM
> To: Main forum for tcpreplay
> Subject: Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC
> 
> I would think that after you've re-written the IP address you could
> look at it and then rewrite the MAC.  Unless I don't understand what
> you're trying to accomplish?
> --
> 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:47 PM, James deCocq <dotmarker@hotmail.com> wrote:
> > 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 <synfinatic@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 <dotmarker@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 <synfinatic@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 <dotmarker@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
> 
> ------------------------------------------------------------------------------
> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic