hello network virtualization
Lab
This is a tutorial about different network virtualizatioin technologies:
- Linux Devices
- Linux Bridge
- OpenVSwitch
- OpenVSwitch Manipulation
- Namespace-OVS-Namespace Communication
- Namespace-OVS-Namespace Communication bis
- Namespace-OVS-Internet Communication
- ???Namespace-OVS-Namespace-OVS-Internet Communication
- VM-OVS-VM Communication: KVM
- VM-OVS-VM Communication: Libvirt
- Multi-Namespace-Br-OVS Scenario
- FlowTable Pipeline
- VXLan Tunneling
Commands
ovs-vsctl
ovs-vsctl add-br sw
: add a new OVS bridgeovs-vsctl list bridge sw
: lookupovs-vsctl del-br sw
: remove the bridgeovs-vsctl show
: show theOVS
configuration of a serverOVS manager
is for the whole serverOVS controller
is for a dedicated switch
ovs-ofctl
ovs-ofctl dump-flows sw
: show all the flow tablestable=0
: output for one table--color
: don't work forssh
ovs-ofctl del-flows sw
: cleanup the flow tables- authorize all IP flows between 1 and 2:
ovs-ofctl add-flow sw arp,actions=normal
ovs-ofctl add-flow sw priority=800,ip,nw_src=8.8.8.7,nw_dst=8.8.8.8,actions=normal
ovs-ofctl add-flow sw priority=800,ip,nw_src=8.8.8.8,nw_dst=8.8.8.7,actions=normal
ovs-ofctl dump-flows sw
: show the flow tables