<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TRex Packet Generator in Off Topic</title>
    <link>https://community.checkpoint.com/t5/Off-Topic/TRex-Packet-Generator/m-p/242976#M411</link>
    <description>&lt;P&gt;Nice one buddy!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 18:21:21 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2025-03-04T18:21:21Z</dc:date>
    <item>
      <title>TRex Packet Generator</title>
      <link>https://community.checkpoint.com/t5/Off-Topic/TRex-Packet-Generator/m-p/242974#M410</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;I don't know who is familiar ot not with TRex, therefore I would like to share my experience.&lt;/P&gt;
&lt;P&gt;Our task was to test a new Quantum Spark 2000 gateway. According to the &lt;A href="http://chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.checkpoint.com/downloads/quantum-spark-1900-2000-datasheet.pdf" target="_self"&gt;datasheet&lt;/A&gt; it has pretty good performace parameters, so lets do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/29789i25AEEA1311B3B8EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We were a little bit&amp;nbsp;skeptical, and we wanted to know the truth. We were not disappointed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;@TRex:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I haven't use this tool before for testing, so I started (and ended :-)) as a beginner. Ipref was enough for me&lt;/P&gt;
&lt;P&gt;I used this short syllabus for installing the tool:&amp;nbsp;&lt;A href="https://blog.hacksbrain.com/cisco-trex-packet-generator-step-by-step#heading-planning-the-trex-interfaces" target="_blank"&gt;https://blog.hacksbrain.com/cisco-trex-packet-generator-step-by-step#heading-planning-the-trex-interfaces&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And the nasty details:&lt;/P&gt;
&lt;P&gt;First: I used a simple UBUNTU&amp;nbsp;24.04.2 LTS (latest te best) and TRex 3.06&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;And the first step I git this error&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;opt/trex/v3.06/./dpdk_setup_ports.py:64: SyntaxWarning: invalid escape sequence '\d'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;_2hex_re = '[\da-fA-F]{2}'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/opt/trex/v3.06/./dpdk_setup_ports.py:513: SyntaxWarning: invalid escape sequence '\d'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ofed_ver_re = re.compile('.*[-](\d)(\d)?[.](\d)(\d)?[-].*')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/opt/trex/v3.06/./dpdk_setup_ports.py:865: SyntaxWarning: invalid escape sequence '\s'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ifname_re = re.compile('iface\s*=\s*([^\s,]+)')&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This error belongs to, or came with the new Python 3.12:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/77531208/python-3-12-syntaxwarning-invalid-escape-sequence-on-triple-quoted-string-d" target="_blank"&gt;https://stackoverflow.com/questions/77531208/python-3-12-syntaxwarning-invalid-escape-sequence-on-triple-quoted-string-d&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Forget it.&lt;/P&gt;
&lt;P&gt;Second I used a simple UBUNTU&amp;nbsp;22.04.5 (as the syllabus wrote) and TRex 3.06&lt;/P&gt;
&lt;P&gt;The Python error disappeared, but a new arose, when I tried to execute the traffic generation:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"EAL: FATAL: Cannot get hugepage information."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://github.com/cisco-system-traffic-generator/trex-core/commit/d7c4e407b926db6f26736a4db6932c691cfaf80a" target="_blank"&gt;https://github.com/cisco-system-traffic-generator/trex-core/commit/d7c4e407b926db6f26736a4db6932c691cfaf80a&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This is a known issue and will fixed in the upcoming release, so you need to fix it manually.&lt;/P&gt;
&lt;P&gt;This is my short story.&amp;nbsp;I hope it was not boring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Akos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAkosBakos_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 18:11:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Off-Topic/TRex-Packet-Generator/m-p/242974#M410</guid>
      <dc:creator>AkosBakos</dc:creator>
      <dc:date>2025-03-04T18:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Packet Generator</title>
      <link>https://community.checkpoint.com/t5/Off-Topic/TRex-Packet-Generator/m-p/242976#M411</link>
      <description>&lt;P&gt;Nice one buddy!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 18:21:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Off-Topic/TRex-Packet-Generator/m-p/242976#M411</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-03-04T18:21:21Z</dc:date>
    </item>
  </channel>
</rss>

