Network Management

Summer 2017, Corboy 205, TTh 5:30-8:45 pm

Class 4: July 13

Mininet Assignment 1

Run the lineNstandalone.py Mininet program together with the Pox l2_pairs module. Due: Friday, July 14
Have each of h1, h2 and h3 ping h4.
Give me the ovs-ofctl dump-flows result for each of s1-s4. (See the example in the l2_pairs section).


Mininet Assignment 2

In myswitch.html

Due: Friday, July 21


Readings

Here are some references to IntroNetworks:
Ethernet switching: intronetworks.cs.luc.edu/current/html/ethernet.html#ethernet-switches
Spanning Tree: intronetworks.cs.luc.edu/current/html/ethernet.html#spanning-tree-algorithm-and-redundancy
Overview of distance-vector route-discovery (especially intronetworks.cs.luc.edu/current/html/routing.html#distance-vector-update-rules).

Could we implement DV on an Ethernet? Why not?

Discussion of SDN and openflow: intronetworks.cs.luc.edu/current/html/ethernet.html#software-defined-networking.

The Pox section of AICN: intronetworks.cs.luc.edu/current/html/mininet.html#the-pox-controller.

After class 4 you should read up through section 11 of intronetworks.cs.luc.edu/current/html/netmgmt.html.



Basics of linux
    ls, ls -l
    cd, cd .., etc
    mkdir
    pwd
    ping
    leafpad filename &
    chmod: used to make shell scripts executable

GUI tools: click on the X-bird lxde logo. You can open a terminal, leafpad, or a file window.

Basics of Python:
    interactive python as a testbed
    indentation counts! Tabs ≠ spaces.
    basic expressions
    lists, len, append, etc
    dictionaries
    if/elif/else:
    for i in range(2,N+1):
    Python object notation, import
        of.ofp_flow_mod()

Look at Assignment 2

Hot packet soup example:
    mininet rectangle.py
        with l2_pairs.py
        with l2_multi.py and spanning_tree/discovery modules

What if we configured the forwarding in rectangle.py, using pox, so s1→h1, s2→h2, etc, and
    to reach h1, s2→s3→s4→s1
    to reach h2, s3→s4→s1→s2
    etc

Would this work? Note that packets addressed to h1--h4 do not circulate endlessly!

How would we set this up?


Continuation with SNMP

Read intronetworks.cs.luc.edu/current/html/netmgmt.html, sections 21.1-21.11

Continue with tables, tableEntries, MIB files



   
Other ways of polling devices:

    ssh: limitations: lack of "universal" account
              lack of "limited" account
              doesn't work for most hubs/switches/non-hosts