Summer 2017, Corboy 205, TTh 5:30-8:45 pm
Class 8: July 27
Midterm study guide (solutions are on
Assignment 2: myswitch.py
OpenFlow match-rule priorities
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.
- ConnectionUp events
- PacketIn events
- TCP connections: finding a path, creating OpenFlow rule
4. Mininet and SNMP
We can install SNMP into the Mininet virtual machine with these two
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
What is this OID?
Continuation with SNMP
- Table row creation
- end of class 7: RMON HistoryTable and HistoryControlTable
- remaining RMON tables
Other ways of polling devices:
ssh: limitations: lack of "universal" account
for most hubs/switches/non-hosts