My goal for this class is for you to be able to get out of a network paper bag.
netstat -nr for routing table, netstat -na for open ports
arp -a to see all of your arp table
tcpdump -r capturefile
sudo tcpdump -c 30 -i eth0 -s 0 -w floodfile not broadcast and not ip broadcast and not multicast and not ip multicast and not arp and not rarp and not dst host 152.2.145.83
sudo tcpdump -c 30 -i eth0 -s 0 -w flowfile not dst port 2055
tcpdump is available on most *nix; WinDump for Windows, snoop is the analog on Solaris (can install tcpdump too)
[hope@rhea ~]$ snmpget -v1 -c public 172.29.220.155 system.sysUpTime.0 SNMPv2-MIB::sysUpTime.0 = Timeticks: (538608587) 62 days, 8:08:05.87
[hope@rhea ~]$ snmpwalk -v1 -c public 172.29.220.155 system.sysUpTime SNMPv2-MIB::sysUpTime.0 = Timeticks: (538609187) 62 days, 8:08:11.87
[hope@rhea ~]$ snmpwalk -v1 -c public 172.29.220.155 system SNMPv2-MIB::sysDescr.0 = STRING: Cabletron Systems, Inc. 2H252-25R Rev 05.08.18 12/06/05--12:41 ofc SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.52.3.9.3.4.80 SNMPv2-MIB::sysUpTime.0 = Timeticks: (538609886) 62 days, 8:08:18.86 SNMPv2-MIB::sysContact.0 = STRING: Networking SNMPv2-MIB::sysName.0 = STRING: Swain Rm 11A SNMPv2-MIB::sysLocation.0 = STRING: Swain Rm 11A SNMPv2-MIB::sysServices.0 = INTEGER: 71
[hope@rhea ~]$ snmpget -v1 -c public 172.29.220.155 system.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::system.0
[hope@rhea ~]$ snmpget -v1 -c notpublic 172.29.220.155 system.sysUpTime.0 Timeout: No Response from 172.29.220.155.