Changes between Version 23 and Version 24 of HowTo/ConfigureOVSWithLayer3Routing
- Timestamp:
- 08/27/14 17:44:13 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/ConfigureOVSWithLayer3Routing
v23 v24 16 16 [[Image(OVS Routing detail.png, 45%, nolink)]] 17 17 18 In summary the idea is to create a single OVS bridge for each interface on your machine that you want to assign an IP; pass the packet between the interface and the network stack through the LOCALport of OVS; and let Linux routing handle the rest.18 In summary the idea is to create a single OVS bridge for each interface on your machine that you want to assign an IP; pass the packet between the interface and the network stack through the `LOCAL` port of OVS; and let Linux routing handle the rest. 19 19 This wiki page provides step-by-step instructions. 20 20 … … 27 27 }}} 28 28 29 2. Remove the IPs of dataplane interfaces as you will assign them to the OVS bridges (your interface names may vary). On GENI, be careful not to bring down eth0, because it is your control interface, if you bring that interface down you won't be able to login to your host!29 2. Remove the IPs of dataplane interfaces as you will assign them to the OVS bridges (your interface names may vary). On GENI, be careful not to bring down `eth0`, because it is your control interface, if you bring that interface down you won't be able to login to your host! 30 30 {{{ 31 31 sudo ifconfig eth1 0 … … 73 73 }}} 74 74 75 6. When an OVS bridge is installed in the Linux OS, it is wired such that any application packets or packets routed via Linux will be sent to the LOCAL port of the OVS bridge, assuming a route to that bridge exists. And, in the reverse direction, any packets sent out an OVS bridge's LOCALport will be received by the local networking stack.75 6. When an OVS bridge is installed in the Linux OS, it is wired such that any application packets or packets routed via Linux will be sent to the `LOCAL` port of the OVS bridge, assuming a route to that bridge exists. And, in the reverse direction, any packets sent out an OVS bridge's `LOCAL` port will be received by the local networking stack. 76 76 77 77 Let's do an example of how a packet would traverse our network from 10.10.10.2 to 10.10.11.2. … … 92 92 According to the output [wiki:HowTo/ConfigureOVSWithLayer3Routing/outputs#ovs-ofctlshowOVSbr1 here], the port number of `eth1` is 1. 93 93 94 8. If you want to insert these flows via your controller, you will need to either specify port 65534 explicitly or use whatever convention your controller uses to specify the LOCALport of a bridge.94 8. If you want to insert these flows via your controller, you will need to either specify port 65534 explicitly or use whatever convention your controller uses to specify the `LOCAL` port of a bridge. 95 95 Remember to set your controller to all OVS bridges you want to control: 96 96 {{{