Changes between Version 13 and Version 14 of HowTo/ConfigureOVSStaticRouteMirroringNoController
- Timestamp:
- 06/21/17 16:15:01 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/ConfigureOVSStaticRouteMirroringNoController
v13 v14 24 24 25 25 == Setting up the static IP traffic == 26 === Configure OVS Switch === 26 === Configure OVS Switch === #configureovs 27 27 i. Login to the OVS host 28 28 ii. Create an Ethernet bridge that will act as our software switch: … … 95 95 From ovs 96 96 {{{ 97 sudo ovs-ofctl add-flow br0 priority=500,ip,nw_src=10.10.1.1,nw_dst=10.10.1.2,actions=normal98 sudo ovs-ofctl add-flow br0 priority=500,ip,nw_src=10.10.1.2,nw_dst=10.10.1.1,actions=normal97 sudo ovs-ofctl add-flow br0 ip,nw_src=10.10.1.1,nw_dst=10.10.1.2,actions=normal 98 sudo ovs-ofctl add-flow br0 ip,nw_src=10.10.1.2,nw_dst=10.10.1.1,actions=normal 99 99 }}} 100 100 ARP traffic will also need to be able to flow in order for the routes to each host to be learned. … … 102 102 From ovs 103 103 {{{ 104 sudo ovs-ofctl add-flow br0 " priority=500,arp,nw_dst=10.10.1.1 actions=normal"105 sudo ovs-ofctl add-flow br0 " priority=500,arp,nw_dst=10.10.1.2 actions=normal"104 sudo ovs-ofctl add-flow br0 "arp,nw_dst=10.10.1.1 actions=normal" 105 sudo ovs-ofctl add-flow br0 "arp,nw_dst=10.10.1.2 actions=normal" 106 106 }}} 107 107 The connectivity can then be tested with: … … 136 136 ovs-ofctl add-flow br0 in_port=2,actions=normal,output:3 137 137 }}} 138 139 Port numbers are assigned based on the order that the ports were added to the bridge as presented in [#configureovs Configure OVS Switch] 140 138 141 === Setting up mirroring of traffic from host1 and host2 to host3 (using ovs-vctl) === 139 142