summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-01-11 10:49:04 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-01-11 10:49:04 +0200
commit35412d1b150a2f21154fbccd33a31cae655d9e05 (patch)
tree118db42dcb303fab9cbeb2eaafa7c4bf2c2656f8 /doc
parentcf0b463e9f2aa5313550a28be03efa1843723959 (diff)
Small fix to first time config presentation
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/trex_config.asciidoc11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/trex_config.asciidoc b/doc/trex_config.asciidoc
index 742b9968..1e6caad3 100755
--- a/doc/trex_config.asciidoc
+++ b/doc/trex_config.asciidoc
@@ -266,8 +266,8 @@ file must contain the following (instead of the ``ip'' and ``default_gw'').
[source,python]
----
- arp 12.12.12.2 0000.0002.0000 ARPA #<1>
- arp 11.11.11.2 0000.0004.0000 ARPA #<2>
+ arp 11.11.11.2 0000.0002.0000 ARPA #<1>
+ arp 12.12.12.2 0000.0004.0000 ARPA #<2>
----
<1> TRex port 0 source mac-address.
<2> TRex port 1 source mac-address.
@@ -284,9 +284,12 @@ route add -net 16.0.0.0 netmask 255.0.0.0 gw 11.11.11.2
* If you have MAC based TRex config, you should also add:
[source,python]
----
-arp -s 12.12.12.2 00:00:00:04:00:00
-arp -s 11.11.11.2 00:00:00:04:00:00
+arp -s 11.11.11.2 00:00:00:02:00:00 #<1>
+arp -s 12.12.12.2 00:00:00:04:00:00 #<2>
----
+<1> TRex port 0 source mac-address.
+<2> TRex port 1 source mac-address.
+
== Static route configuration - IPV6