Network Management

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

Class 9: August 1




Assignment 4: moving a TCP connection



Continuation with trunkNK.py and multitrunkpox.py
   TCP connections take trunk 1, 2, or 3, in sequence.

What do we do with TCP connections?

trunkNK.py: setting link bandwidths
multitrunkpox.py: assign new TCP connections to one of the trunks, in round-robin fashion via picktrunk().
Note that this requires matching on the IP addresses and TCP ports, as well as the Ethernet addresses.


2. Assignment 4: moving TCP connections
   

3. Mininet and SNMP

Example: routerline.py
We can install SNMP into the Mininet virtual machine with these two commands:
    apt-get install snmpd
    apt-get install snmp

We also have to configure /etc/snmp/snmpd.conf, but only once, on the base Mininet virtual machine. We can now start /usr/sbin/snmpd on each Mininet node, and it will share the configuration.

We can then run, eg
    snmpwalk -v 1 -c tengwar 10.0.2.1 1.3.6.1.2.1.2.2.1.2

What is this OID?



Continuation with SNMP

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

   
if-forward.mib
snmptable -v 2c -c tengwar ulam3 ipRouteTable
snmptable -v 2c -c tengwar ulam3 ipForwardTable    -- no entries
snmptable -v 2c -c tengwar ulam3 ipCidrRouteTable
snmptable -v 2c -c tengwar ulam3 inetCidrRouteTable

TCP-MIB

SNMPv3


Other ways of polling devices:

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