cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3801
Views
3
Helpful
11
Replies

issue while send/receive end to end traffic in Trex

Hi ,

My topology is as follows

eth1-----VM1 -------Router1 -------Router2 -----VM2 ---eth1

Unable to send bi-directional traffic from eth1 -VM1 to eth1 -VM2.

Kindly let us know the sample python API for the above setup ,PFA topo attached for ref.

Thanks

Jay

1 Accepted Solution

Accepted Solutions

have a look here, how to configure IPv4 from Console (before the start)

http://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_neighboring_protocols

try to ping one VM2-TRex from VM1-TRex

You can replace this

Ether(src='ea:51:7d:8a:89:40', dst='00:8a:96:0d:5c:6c', type=2048)


with


Ether()

thanks.

Hanoh

View solution in original post

11 Replies 11

hhaim@cisco.com
Cisco Employee
Cisco Employee

Suggest to send questions into our mailer in

https://groups.google.com/forum/#!forum/trex-tgn

please provide more information on the configuration of each TRex and output

Hanoh

Please find the config

--------

- port_limit: 2

  version: 2

  interfaces: ['00:06.0', '00:07.0']

  port_info:

      - dest_mac: 00:8a:96:09:a8:6c --Router mac

        src_mac: f2:b0:d4:ce:f0:c0 --VM1 eth mac

        dest_mac: 00:8a:96:09:a5:6c dest VM2 mac

        src_mac: f2:b0:d4:ce:f1:c0 -sec VM1 eth2 mac

  platform:

      master_thread_id: 0

      latency_thread_id: 1

      dual_if:

        - socket: 0

          threads: [2,3,4,5,6,7]

OUTPUT
-----------

Tx :     296.20 Kbps

Cpu Utilization : 0.2  %  0.6 Gb/core

Platform_factor : 1.0

Total-Tx        :     592.33 Kbps

Total-Rx        :     922.81  bps

Total-PPS       :       1.12 Kpps

Total-CPS       :       0.48  cps

Expected-PPS    :       2.00  pps

Expected-CPS    :       1.00  cps

Expected-BPS    :       1.36 Kbps

Active-flows    :        0  Clients :        1   Socket-util : 0.0000 %

Open-flows      :       10  Servers :        1   Socket :        0 Socket/Clients :&n