I am new to TRex and I want to setup an environment for performance testing.
I have an Ubuntu machine running TRex with two interfaces:
* p2p1: 11.1.1.2
* p2p2: 12.1.1.2
Also I have a NFVIS machine running a router (ISRv) with the ip addresses:
* G2: 11.1.1.1
* G3: 12.1.1.1
I have connected the two interfaces of Ubuntu with NFVIS with a cable and I'm able to ping the one machine from the other.
My configuration file for TRex looks as follows:
- port_limit: 2
version: 2
interfaces: ['04:00.0', '04:00.1']
port_info:
- default-gw: 11.1.1.1
ip: 11.1.1.2
- default-gw: 12.1.1.1
ip: 12.1.1.2
platform:
master_thread_id: 0
latency_thread_id: 15
dual_if:
- socket: 0
threads: [1,2,3,4,5,6,7,8,9,10,11,12,13,14]
wheras 04.00.0 is p2p1 and 04.00.1 is p2p2.
Now when I try to run the command:
sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 10
It always fails with: Failed resolving dest MAC for default gateway:0.0.0.0 on port 0
... and my two interfaces p2p1 and p2p2 are down and I can only bring them up again by rebooting.
Now, I'm wondering why my interfaces are always brought down as soon as I start TRex. I would be grateful for any help or ideas.
Thanks!
Tobias
default_gw
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9066c804-894e-45a0-916a-60227f19b43c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.