[113-1] 軟體定義網路及網路功能虛擬化 (曾建超)
- Environment Introduce & Setup
- Overview introduction
- VirtualBox, Bazel, ONOS, Mininet and OVS Installation
- Building virtual network
- Build ONOS
- Activate control plane function
- Create a topology controlled with Mininet
- OpenFlow Messages
- Monitor Traffic between ONOS & Switches
- OpenFlow Message Observation
- Install/Delete Flow Rules
- Rest, JSON file, and Curl introduction
- ONOS and Topology Setup
- Build ONOS Application Project
- Environment Setup
- Create an ONOS Application
- Build, Install, Activate, and Reinstall ONOS Application
- Learning Bridge Function
-
Switch functionality: When receives a packet, matches Destination MAC
- Matched: Forwards packet via specified port
- Not matched: Packet-in
-
ONOS App functionality: When receives a Packet-in
- Records Source MAC and incoming port (in forwarding table)
- Looks up Destination MAC (in forwarding table)
- Not found: Floods Packet-out.
- Found: Sends Packet-out via designated port and installs flow rule on switch.
- Proxy APR
- Sender sends ARP Request
- Edge switch Packet-Ins the Request to controller
- Proxy ARP learns IP-MAC mappings of the sender
- Proxy ARP looks up ARP table (For target IP-MAC mapping)
- If mapping exist: Fetch target MAC and Packet-Outs ARP Reply (with target MAC) to the sender
- Else (mapping not exist):
- Floods ARP Request to edge ports except the port receiving ARP Request
- When h2 receives ARP Request, h2 will Reply ARP packet.
- Edge switch Packet-Ins the Reply to controller
- Proxy ARP learns IP-MAC mapping from h2
- Implement Failover Group Workflow
- Implement Drop Meter Workflow
- Intent Service to create Route
Connect to ONOS CLI
ssh -o "StrictHostKeyChecking =no" -o Globa lKnownHostsFile =/de v/null -o UserK nownHostsFile=/de v/null onos@lo cal host -p 8101