summaryrefslogtreecommitdiffstats
path: root/doc/trex_book.asciidoc
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-11-23 10:32:25 +0200
committerimarom <imarom@cisco.com>2016-11-23 10:32:25 +0200
commit5472a2937363370d8632bb0e53757bc66a0b2403 (patch)
tree62ce490e03aa83886d0b78c9299173e4784d958e /doc/trex_book.asciidoc
parentfc35e10dc4acd5149b465b8f1959aae941ff198e (diff)
parent31a4ef5afc56c5d6ff6870da71a954e4bcbee057 (diff)
Merge branch 'master'
Signed-off-by: imarom <imarom@cisco.com> Conflicts: src/main_dpdk.cpp
Diffstat (limited to 'doc/trex_book.asciidoc')
-rwxr-xr-xdoc/trex_book.asciidoc27
1 files changed, 20 insertions, 7 deletions
diff --git a/doc/trex_book.asciidoc b/doc/trex_book.asciidoc
index fc69bdf4..ec661908 100755
--- a/doc/trex_book.asciidoc
+++ b/doc/trex_book.asciidoc
@@ -874,7 +874,8 @@ This feature allows more detailed clustering of clients.
Let's look at the following topology:
-image:images/client_clustering_topology.png[title="Client Clustering"]
+.Topology Example
+image:images/topology.png[title="Client Clustering",width=850]
We would like to configure two clusters and direct traffic to them.
@@ -980,15 +981,27 @@ MACs will be allocated incrementaly, with a wrap around.
e.g.
-* 16.0.0.1 --> 00:00:00:01:00:00
-* 16.0.0.2 --> 00:00:00:01:00:01
-* 16.0.0.3 --> 00:00:00:01:00:02
-* 16.0.0.4 --> 00:00:00:01:00:03
-* 16.0.0.5 --> 00:00:00:01:00:00
-* 16.0.0.6 --> 00:00:00:01:00:01
+*Initiator side:*
+
+* 16.0.0.1 --> dst_mac: 00:00:00:01:00:00 valn: 100
+* 16.0.0.2 --> dst_mac: 00:00:00:01:00:01 valn: 100
+* 16.0.0.3 --> dst_mac: 00:00:00:01:00:02 valn: 100
+* 16.0.0.4 --> dst_mac: 00:00:00:01:00:03 valn: 100
+* 16.0.0.5 --> dst_mac: 00:00:00:01:00:00 valn: 100
+* 16.0.0.6 --> dst_mac: 00:00:00:01:00:01 valn: 100
+
+*responder side:*
+
+
+
+* server ->16.0.0.1 dst_mac(from responder) : "01:00:00:00:02:01" , valn:201
+* server ->16.0.0.2 dst_mac(from responder) : "01:00:00:00:02:02" , valn:201
and so on.
+With this model every client (e.g. 16.0.0.1) will always have the same path, e.g.
+c->s side will always have initiator VLAN and init-destination MAC and in the response side (s->c) alway responder-VLAN and responder-MAC
+
*Usage:*
[source,bash]