Summer 2017, Corboy 205, TTh 5:30-8:45 pm
Class 9: August 1
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.
- ConnectionUp events
- PacketIn events
- TCP connections: finding a path, creating OpenFlow rule
2. Assignment 4: moving TCP connections
3. 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
- RMON hosts table
- RMON matrix table(s)
snmptable -v 2c -c tengwar ulam3 ipRouteTable
snmptable -v 2c -c tengwar ulam3 ipForwardTable -- no
snmptable -v 2c -c tengwar ulam3 ipCidrRouteTable
snmptable -v 2c -c tengwar ulam3 inetCidrRouteTable
Other ways of polling devices:
ssh: limitations: lack of "universal" account
for most hubs/switches/non-hosts