summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-14 13:58:45 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-14 13:58:45 +0200
commit8fb741f253baa267386a086cb12217737d21251c (patch)
tree2f0e55d1cea2c8d6ab5df55907886b5b3b0fe976
parent03908f523655f5b5a8282ac41fef40c5fa70efde (diff)
fix mcast addr
-rwxr-xr-xtrex_config.asciidoc26
1 files changed, 16 insertions, 10 deletions
diff --git a/trex_config.asciidoc b/trex_config.asciidoc
index 06bf3afc..abe9b644 100755
--- a/trex_config.asciidoc
+++ b/trex_config.asciidoc
@@ -122,10 +122,10 @@ image::images/TrexConfig.png[title="TRex/Router setup"]
----
- port_limit : 2
port_info : # set eh mac addr
- - dest_mac : [0x1,0x0,0x0,0x1,0x0,0x00] <1>
- src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] <2>
- - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] <3>
- src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] <4>
+ - dest_mac : [0x0,0x0,0x0,0x1,0x0,0x00] <1>
+ src_mac : [0x0,0x0,0x0,0x2,0x0,0x00] <2>
+ - dest_mac : [0x0,0x0,0x0,0x3,0x0,0x00] <3>
+ src_mac : [0x0,0x0,0x0,0x4,0x0,0x00] <4>
----
<1> Correspond to TRex port 0 - should be Router TenG 0/0/0 mac-address
<2> Should be distinc mac-addrees, router should be configure to sent to this mac-addrees
@@ -144,7 +144,7 @@ image::images/TrexConfig.png[title="TRex/Router setup"]
[source,python]
----
interface TenGigabitEthernet0/0/0
- mac-address 0100.0001.0000 <1>
+ mac-address 0000.0001.0000 <1>
mtu 4000 <2>
ip address 11.11.11.11 255.255.255.0 <3>
ip policy route-map p1_to_p2 <4>
@@ -152,7 +152,7 @@ interface TenGigabitEthernet0/0/0
!
interface TenGigabitEthernet0/0/1
- mac-address 0300.0003.0000 <5>
+ mac-address 0000.0003.0000 <5>
mtu 4000
ip address 12.11.11.11 255.255.255.0
ip policy route-map p2_to_p1
@@ -189,8 +189,8 @@ route-map p2_to_p1 permit 10
[source,python]
----
- arp 11.11.11.12 0200.0002.0000 ARPA <1>
- arp 12.11.11.12 0400.0004.0000 ARPA <2>
+ arp 11.11.11.12 0000.0002.0000 ARPA <1>
+ arp 12.11.11.12 0000.0004.0000 ARPA <2>
----
<1> Destination mac-addrees of packets sent from If 0/0/0 is matched to TRex source mac-address port-0
<2> Destination mac-addrees of packets sent from If 0/0/1 is matched to TRex source mac-address port-1
@@ -221,13 +221,13 @@ generator :
[source,python]
----
interface TenGigabitEthernet0/0/0
- mac-address 0100.0001.0000
+ mac-address 0000.0001.0000
mtu 4000
ip address 11.11.11.11 255.255.255.0
!
`
interface TenGigabitEthernet0/0/1
- mac-address 0300.0003.0000
+ mac-address 0000.0003.0000
mtu 4000
ip address 22.11.11.11 255.255.255.0
!
@@ -252,6 +252,12 @@ $./t-rex-64 -f cap2/dns.yaml -m 1 -d 100 -l 1000 --lo --lm 1
$./t-rex-64 -f cap2/dns.yaml -m 1 -d 100 -l 1000 --lo --lm 2
...........................................
+* In case you are connected to a Switch you must send packet from both direction first
+
+...........................................
+$./t-rex-64 -f cap2/dns.yaml -m 1 -d 100 -l 1000
+...........................................
+
== Static-route configuration - IPV6