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.
- SwitchNode
- Connection
- switchmap
- conn_to_path
- known_hosts
- ConnectionUp events
- LinkEvents
- PacketIn events
- TCP connections: finding a path, creating OpenFlow rule
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
- Table row creation
- RMON hosts table
- RMON matrix table(s)
- Ping-mib
if-forward.mib
- mi2.ip.21
- mib2.ip.24.2
- mib2.ip.24.4
- mib2.ip.24.7
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