summaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-05-28 16:05:34 -0700
committerBen Pfaff <blp@nicira.com>2013-06-05 09:44:32 -0700
commitf0ac9da9964da2c2c716f1c6c409e59c4cc6ef1d (patch)
treefbcebaa88095ee3b44097a6517b2e341c9251f5c /tutorial
parentec9f40dce11c7e81bc41d42e3bbfaaf8287165ce (diff)
downloadopenvswitch-f0ac9da9964da2c2c716f1c6c409e59c4cc6ef1d.tar.gz
packets: Fix typo in reserved multicast Ethernet addresses.
The reserved multicast Ethernet addresses begin with 01:80:c2, not 01:08:c2. Reported-by: Padmanabhan Krishnan <kprad1@yahoo.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/Tutorial12
-rwxr-xr-xtutorial/t-stage02
2 files changed, 7 insertions, 7 deletions
diff --git a/tutorial/Tutorial b/tutorial/Tutorial
index c537badb4..0506a2075 100644
--- a/tutorial/Tutorial
+++ b/tutorial/Tutorial
@@ -253,7 +253,7 @@ A switch should also not forward IEEE 802.1D Spanning Tree Protocol
packets with reserved multicast protocols:
ovs-ofctl add-flow br0 \
- "table=0, dl_dst=01:08:c2:00:00:00/ff:ff:ff:ff:ff:f0, actions=drop"
+ "table=0, dl_dst=01:80:c2:00:00:00/ff:ff:ff:ff:ff:f0, actions=drop"
We could add flows to drop other protocols, but these demonstrate the
pattern.
@@ -287,12 +287,12 @@ such a flow would be treated as it goes through the switch.
Try this command:
- ovs-appctl ofproto/trace br0 in_port=1,dl_dst=01:08:c2:00:00:05
+ ovs-appctl ofproto/trace br0 in_port=1,dl_dst=01:80:c2:00:00:05
The output should look something like this:
- Flow: metadata=0,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:08:c2:00:00:05,dl_type=0x0000
- Rule: table=0 cookie=0 dl_dst=01:08:c2:00:00:00/ff:ff:ff:ff:ff:f0
+ Flow: metadata=0,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:80:c2:00:00:05,dl_type=0x0000
+ Rule: table=0 cookie=0 dl_dst=01:80:c2:00:00:00/ff:ff:ff:ff:ff:f0
OpenFlow actions=drop
Final flow: unchanged
@@ -315,11 +315,11 @@ interesting here.
Try another command:
- ovs-appctl ofproto/trace br0 in_port=1,dl_dst=01:08:c2:00:00:10
+ ovs-appctl ofproto/trace br0 in_port=1,dl_dst=01:80:c2:00:00:10
The output should be:
- Flow: metadata=0,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:08:c2:00:00:10,dl_type=0x0000
+ Flow: metadata=0,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:80:c2:00:00:10,dl_type=0x0000
Rule: table=0 cookie=0 priority=0
OpenFlow actions=resubmit(,1)
diff --git a/tutorial/t-stage0 b/tutorial/t-stage0
index 55687ee0f..63db6f071 100755
--- a/tutorial/t-stage0
+++ b/tutorial/t-stage0
@@ -4,6 +4,6 @@ ovs-ofctl add-flow br0 \
"table=0, dl_src=01:00:00:00:00:00/01:00:00:00:00:00, actions=drop"
ovs-ofctl add-flow br0 \
- "table=0, dl_dst=01:08:c2:00:00:00/ff:ff:ff:ff:ff:f0, actions=drop"
+ "table=0, dl_dst=01:80:c2:00:00:00/ff:ff:ff:ff:ff:f0, actions=drop"
ovs-ofctl add-flow br0 "table=0, priority=0, actions=resubmit(,1)"