Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 3.3 KB

5-network.md

File metadata and controls

76 lines (60 loc) · 3.3 KB

Hacking Networking

Outline: (self-study, refer docs http://docs.cloudstack.apache.org/)

  • Overview
  • Basic Vs Advanced Zone
  • Network Models: L2, Shared, Isolated, VPC
  • Isolation: SG, VLAN, VXLAN etc.
  • Virtual Router
  • Network tools, usage and debugging

101:

201:

Reading list:

Recommended learning:

Video Series:

Sessions

The following session structure (self-learning or with a colleague/mentor) can be used:

Session 1:

  • Basic terms, terminologies
  • OSI layer, L1-3, L4-7 layers
  • Basic devices (switch, router, bridge, tap, tun, etc.)
  • Basic protocols and addressing (arp, dhcp, dns, tcp, udp, icmp, igmp, ipv4, ipv6, optional: ospf, bgp)
  • Isolation: vlan, vxlan, sg
  • Bridge networking
  • CloudStack network models basics
  • Practical demo using monkeybox

Session 2:

  • Revisit layers
  • CloudStack network models adv. with diagrams for each type
  • Linux nf framework (netfilters)
  • Network tools (iproute2, iptables/ebtables/nftables, tcpdump, ping/arping, netstat, nslookup, arp, traceroute etc.)
  • Debugging network stack across machines

Session 3:

  • CloudStack SystemVM building, patching, init
  • CloudStack agent framework, CPVM/SSVM use-cases

Session 4:

  • Practical network
  • CloudStack VR programming part
  • Implement X: Wrap up, end to end demo and walkthrough
  • Debug, find/extend feature etc.

Misc:

Implementation specific: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Network+Manager+refactoring

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Refactoring+Redundant+Virtual+Router+Implementation