From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by dpdk.org (Postfix) with ESMTP id 985F52BE3 for ; Wed, 20 Apr 2016 09:58:01 +0200 (CEST) Received: by mail-lb0-f181.google.com with SMTP id u8so4791420lbk.0 for ; Wed, 20 Apr 2016 00:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=eFqV3EsTBUs913xShQkWQHUF71WZrzIwFV/ZMoQJMDQ=; b=fUalTvCfwTakFPxAzkaVSdR3L+p4FILTrqDeGPUcidOcFv6hsPXC5bhuPiktm+koeY vdjRmszV1rTtRF1sCPz9F5pZSJ57k74sEHwU+8ZDnpnYBZkdchwMEp9M4lfdhpz3Vu7k fysIcr98qFhGNhuyLM26DYVf0rarPJ8MC1R8ypMgljIMxCNBcAqeBMyxwLqFPpyFIiOO TlODbfb1me5zwoT0m4OPJA71Q5NvCG7Y2gzFAMeFzOnAUZWM6jurvxnHHYDUhlNcVcj6 BymDl75lk5REHeYIxuD9M4lbHa/esz+XSqHC+Aln7DG+R51b/YIWo/5C82JBa/eSZcvU 7Yng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=eFqV3EsTBUs913xShQkWQHUF71WZrzIwFV/ZMoQJMDQ=; b=c3zT8akPFI0Y2ZSjCgazck+pcHmyGsnKtZvv2uhZRQmyUlc3F83CIAcy2m+lR7gxt8 QtPKrtj0d0MeMIoBHe6kNcnAkAoG1o2pngaguXS+ANJUuHP5ebnRl5BLXw1c9NLlIU6X MN2fSi1uvEb563I9nPukkR1sfg5w0MWaJI1ixHQZPTmSp3Zv5qPLm+FUZCTWpbMxKEQw fXNsvhVSyXgvByLHyq2FFM/+PUVeiqSi5xBLCnZnQxNn+XmziI9geJiV4kaisxiti8Q5 nq1owBopdqPx5I53mtvNj7mo7URwB13dkddEZKlfOLeiRv31RGigUW+PfYzcs4RQw+LA 3QGQ== X-Gm-Message-State: AOPr4FWlWnPNcJDRrBUHMi5CUSCn5A6NJ6rwdGcgoh5WCsAFzwXTw44EM0WkvfP+3kiB8fWkV3hwTIvsQ9n2Xw== MIME-Version: 1.0 X-Received: by 10.112.65.71 with SMTP id v7mr3087191lbs.52.1461139081089; Wed, 20 Apr 2016 00:58:01 -0700 (PDT) Received: by 10.25.210.146 with HTTP; Wed, 20 Apr 2016 00:58:01 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Apr 2016 14:58:01 +0700 Message-ID: From: Marko Niinimaki To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Pktgen question: range of source IP addresses X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 07:58:01 -0000 many thanks! Now I can impress my boss without just by entering the commands below 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 start 0 On Wed, Apr 20, 2016 at 11:42 AM, Wiles, Keith wrote: > >Hi, > > > >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 1.1.1.1, the next from 1.1.1.2 etc. As far as I know, po= rt > >X's IP is assigned only once (for instance set ip src 0 1.1.1.1/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 =E2=80=98page range=E2=80=99 which all= ows 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, > >Mark > > > > > Regards, > Keith > > > > >