[dpdk-users] Pktgen question: range of source IP addresses
manzikki at gmail.com
Wed Apr 20 09:58:01 CEST 2016
many thanks! Now I can impress my boss without just by entering the
src.ip min 0 192.168.2.1
src.ip start 0 192.168.2.1
src.ip max 0 192.168.2.254
src.ip inc 0.0.0.1
range 0 on
On Wed, Apr 20, 2016 at 11:42 AM, Wiles, Keith <keith.wiles at intel.com>
> >I'm using pktgen to create DNS query packets for internal testing (I
> >tweaked the source code a bit). It's certainly fast enough, but I'd need
> >some more functionality to build a more comprehensible DNS testing suite.
> >First I'd need a range of IP addresses, for instance the first DNS query
> >would come from 220.127.116.11, the next from 18.104.22.168 etc. As far as I know, port
> >X's IP is assigned only once (for instance set ip src 0 22.214.171.124/24). Is
> >there a clever way to change this? If you consider this a useful feature,
> >I'll submit the code of course.
> Pktgen does have the range command ‘page range’ which allows setting up
> the addresses to be changed on the fly have you looked at that option?
> I accept just about any improvement to Pktgen, just send a patch :-)
> >Best regards,
More information about the users