mooc-riv-labs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mooc-riv-labs [2021/08/24 11:24] – [1. SDN with ONOS] samer | mooc-riv-labs [2021/09/07 22:01] (current) – samer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Lab Notes for RIV MOOC ====== | ====== Lab Notes for RIV MOOC ====== | ||
| - | ===== -. SDN with ONOS ===== | + | ===== - SDN with ONOS ===== |
| ONOS and mininet are the most stable solution for testing SDN in the Lab VM. | ONOS and mininet are the most stable solution for testing SDN in the Lab VM. | ||
| Line 21: | Line 21: | ||
| </ | </ | ||
| - | * Start mininet (use OpenFlow10 | + | * Start mininet (only OpenFlow10 |
| < | < | ||
| - | sudo mn --topo tree,2 --mac --switch ovsk, | + | sudo mn --topo tree,2 --mac --switch ovsk, |
| </ | </ | ||
| Line 63: | Line 63: | ||
| <WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
| - | * Play with ONOS | + | * Play with ONOS and mininet |
| * Explore openflow or openvswitch | * Explore openflow or openvswitch | ||
| * Study intents and reactive routing | * Study intents and reactive routing | ||
| Line 70: | Line 70: | ||
| </ | </ | ||
| - | ===== -. Routing with FRR ===== | + | ===== - Routing with FRR ===== |
| + | |||
| + | The lab environment is based on http://docs.frrouting.org/ | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | sudo pytest -s --topology-only mooc-lab1/ | ||
| + | </ | ||
| + | |||
| + | * Examples of adding MPLS encapsulation: | ||
| + | |||
| + | < | ||
| + | on r1 | ||
| + | ip route add 3.3.3.3/32 encap mpls 50000/8300 via 10.0.5.5 dev r1-eth1 | ||
| + | |||
| + | on r3 | ||
| + | ip route add 1.1.1.1/32 encap mpls 50000/8100 via 10.0.3.4 dev r3-eth1 | ||
| + | </ | ||
| + | |||
| + | {{:: | ||
| + | |||
| + | * `mooc-lab2` implements Segment | ||
| + | |||
| + | What works in the current platform: | ||
| + | * IPv4 and IPv6 [tested] | ||
| + | * OSPF and BGP [tested] | ||
| + | * MPLS and LDP [tested] (with linux kernel, all features are accessible) | ||
| + | * Segment Routing! [tested with node-sid et OSPF opaque LSA] | ||
| + | |||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | * Think about updating | ||
| + | </ | ||
| + | |||
| + | ===== - Docker Containers | ||
| + | |||
| + | Update the apt package index and install packages to allow apt to use a repository over HTTPS: | ||
| + | |||
| + | < | ||
| + | $ sudo apt-get update | ||
| + | |||
| + | $ sudo apt-get install \ | ||
| + | apt-transport-https \ | ||
| + | ca-certificates \ | ||
| + | gnupg \ | ||
| + | lsb-release | ||
| + | </ | ||
| + | |||
| + | Add Docker’s official GPG key: | ||
| + | |||
| + | < | ||
| + | $ wget https:// | ||
| + | $ sudo gpg --dearmor -o / | ||
| + | </ | ||
| + | |||
| + | Use the following command to set up the stable repository | ||
| + | |||
| + | < | ||
| + | echo \ | ||
| + | "deb [arch=amd64 signed-by=/ | ||
| + | $(lsb_release -cs) stable" | ||
| + | </ | ||
| + | |||
| + | In order to solve the '' | ||
| + | |||
| + | < | ||
| + | deb http:// | ||
| + | </ | ||
| + | |||
| + | Update and install. | ||
| + | |||
| + | < | ||
| + | $ sudo apt-get update | ||
| + | $ sudo apt-get install containerd.io | ||
| + | $ sudo apt-get install docker-ce docker-ce-cli | ||
| + | </ | ||
mooc-riv-labs.1629797067.txt.gz · Last modified: 2021/08/24 11:24 by samer