topic # Topic Reading (for textbook, refer to reading list) Homework Slides
1 administrativa

tour of class website

introduction to Wireshark

OSI network stack model as metaphor for this course

"top down" vs "bottom up" approaches

UCLA professor Kleinrock on starting the internet

About DARPA from "Air Talk" show on KPCC 2/15/10

read - textbook
 - chapter 1
 - chapter 2
 - chapter 3, 3.1-3.12 only

 - Appendix 1 up to p 570 (ed. 5) or 602 (ed. 6) only
(preview and basis for in-class exercise at link entitled "simplified client/server" below)

read - the central column on the home page, with its various announcements, policies, recommendations, and information

transfer - a text file named "introduction.txt". You have an account on I want you to know how to transfer a text file to your home directory there. Create one that declares your name, e.g. "My name is David Morgan," and says something (short) about you. "I like the good L.A. weather and chocolate ice cream." The file must be a text file, not some other format like .doc or .pdf. The purpose is to make sure you know how to transfer files, since I will you to submit some homework this way. See: Remote Unix system account  

recommended (though not required) - print and carry the "TCP/IP Pocket Reference Guide." It's a good thing to have at hand throughout the semester for quick examination. It's unfamiliar information you need to learn that will be referred to often. You might want to print it 2-sided and fold it in 3 panels triptych style for frequent reference while studying.

examine - the 1987 document at the link entitled "TCP/IP - Intro to the IP Protocols." I want you to read it over the course of the semester. You will understand it increasingly as we proceed. Start now (and see how much you do, and don't, yet grasp).

install - the Wireshark tool on your computer if you can and wish. It is centrally important and you must learn how to use it. However, if it is not on you own computer, it is on the virtual machine you will install on your computer so you will be able to learn Wireshark on the virtual machine's copy. 

learn to use Wireshark - make a screenshot of Wireshark's main interface after it's running and has captured something (anything). Put the screenshot in a file named wireshark.jpg or wireshark.png. I will ask you to transfer that file to me later. If you installed Wireshark on your own computer and use that copy, fine. If you want to use the copy that's already installed in the distributed VM here's a how-to video (31m) about doing that. (Purpose: to prove that you know how to use the tool.)

listen - to the audio at the links shown in the "Topic" column at left (Kleinrock, layering model, Air Talk featuring DARPA).

Network stack

Suites & layers


2 protocols, rfc's

client/server model
in-class exercise(s):
 simplified client/server   (textbook Appendix 1)

in-class exercise(s):

read - textbook
  ch 5 Overview of Data Communications





historical perspectives on networking
 Andrew Tanenbaum in 1981 and/or
 PBS "Nerds: a Brief History of the Internet"

in-class exercise(s):
  wireshark - parts 1, 2, 3, 4,7,and 8

read - textbook
  ch 6 Information Sources and Signals
   ch 15 Wired LAN Technology (Ethernet and 802.3)
do - the exercise at the link entitled "wireshark" in the "Topic" column at left labeled as an in-class exercise.

Ethernet, a protocol example



demo, clarify remote access purposes/methods
 - login session
     by command line (ssh)
     by GUI (putty)
 - file transfer
     by command line (scp)
     by GUI (FileZilla)

representing numbers in binary (short review)


in-class exercise(s):
  MAC addresses
  MAC spoofing

read - textbook
  ch 7 Transmission Media
  ch 13 Local Area Networks: Packets, Frames, and Topologies

do - ethernet frames

listen - to Bob Metcalfe talk about inventing ethernet.

Candlestick Park renamed to 3Com Park in S.F.

view videos:
Fiber-optic cables: how they work

Wires, cables, and wi-fi

What is the internet, really?


Ethernet, a protocol example

Transmission media
Ch7  (static slides version)
Transmission media
(narrated lecture version 52m)





IP - interfaces, addresses, and routes

discussion of net-addr+mask=network
 Real-world DSL

transmission media

in-class exercise(s):
 netmask legality
 netmasks' size effect

read - textbook
  23 Support Protocols and Technologies (about arp protocol)

  - two and a half pages from "Introduction to the Internet Protocols". Sections 2.2 and 2.3, about IP and ethernet.

  - some supporting reading about arp

Bits are:
 in RAM - switch settings
 on disk - magnetizations

  what are bits in a wire?

do - netmask legality


Signals Ch6  (static slides version)
(narrated lecture version 45m)


Interfaces & Routes


6 arp

Packet delivery (to routers, for locally  unavailable destinations)

in-class exercise(s):
 capture arp/ping session 

read - tcpdump filter examples

tcpdump examples

read - textbook
  ch 17 Bridges/switches

article about switch functionality

do - tcpdump filters

listen - to this 6 min. podcast segment about packet delivery (harry & sally)

listen - recorded 1-hour demo
 hub vs switch
 (they forward differently)


ARP address resolution

IP packet delivery

7 IP addresses

IP exhaustion - IPv4Paucity

read - textbook
  ch 22 Datagram Forwarding
  ch 21 IP Internet Addressing

read - Masks, routing, subnets

view - Subnet mask chart

visual analogy - a router

do - subnet partitioning
(accompanying howto video)

do - IP packet delivery

do - MAC vs IP addresses per instructor's supplementary formatting and submittal instructions.

do - network topology to connect a classroom to the internet
explanatory video (1m)


IP Addresses

  (narrated version)


8 in-class exercise(s):

 (physical lab version)

internetworking - VirtualBox version
(accompanying howto video)

read - textbook
ch 20 Internetworking Concepts

exercise on internetworking  on VirtualBox

exercise on internetworking on DETER




demo/explanation of DETER exercise on internetworking

error detection

- error detection

listen - to this podcast segment about checksums

Reliability from unreliable parts:
read about - The End-to-end Principle


 Error detection

10 demo - hub vs switch

(transmission media - catching up)

services (xinetd)

socket api

port forwarding


read - about socket API programming

read - textbook's chapter 3 about network programming, sections 3.13-3.23. (You already read up through section 3.12. Review those sections again.)

Brown p56, port forwarding

view diagram hub vs switch

study - the code for the "world's simplest client-server pair": 
 - letter-upgrader server
 - letter-upgrader's client
They exemplify the stucture of client and server programs through their use of the socket API. For contrast with them, take a quick look at the other two pairs,
 - upper-echoback server
 - client for echo-back server
 - web (file-send) server
 - client for file-send server
which are a little more complicated but also reflect the standard socket programming structure. Satisfy yourself that you can identify the structure within those other two pairs.

Networks: services

Networks: sockets

Port forwarding methods




  - sequence/acknowledge numbering


read - textbook
  ch 24 UDP
  ch 25 TCP

packet loss may be just fine
 good semantics despite bad syntax

listen - tcp getting connected
from 56min mark to 1hr29min

- tcp interactive dataflow tracking
explanatory video (7m)

udp protocol

tcp protocol

Networks: protocol interrelationships

12 in-class exercise(s):
 directed use of  letter-upgrader sample programs

 xinetd - the "super server" or "server manager" 







in-class exercise(s):
 nmap scanner


read - the Ethical Hacker article about nmap

Brown  pp151-155, netstat

traceroute sample 1

traceroute sample 2

traceroute sample 3


listen - traceroute demo

view - supply chain analogy


  meet - the guy who wrote ping (r.i.p.)
  read - his account of the ping story
  listen - compare with the echo protocol?

  listen - to this podcast segment about how it works
   (or equivalently read from its written transcript, page 24 "There's another field..." to page 25 "...over the net.")

  listen - to a discussion of netstat (from 13:58 to 51:13)
   (or equivalently read from its written transcript, from page 7 "Oh, it started there..." to the end)

xinetd - the "super server" or "server manager"

nmap scanner

examine an nmap cheat sheet - here's a quick reference card for nmap.

 (narrated version 24m)

 (narrated version 1h 32m)

 (narrated version 43m)

 (narrated version 47m)

 (narrated version 39m)



13 name service, dns protocol as implemented by BIND

in-class exercise(s):
 dns name server
 (physical lab version)

dns name server - VirtualBox version
(accompanying howto video)


read - textbook
4 Traditional Internet Applications

listen - a Microsoft dns training video (8m)

view - managing dns mappings on a commercial name registrar's server (14m)

view - Windows' dns server, another dns server implementation counterpoint to BIND (4m)

DNS protocol
 (narrated version)

BIND name server
 (narrated version) (1hr 1m)



web service, http protocol as implemented by apache

in-class exercise(s):
 apache web server

apache web site
apache documentation

a summary how CGI works [link died]

examine an Apache cheat sheet - here's a quick reference card for Apache. It's formatted to be printed out as 2 pages, front-to-back on a single sheet, then folded tri-fold.

do - view a copy of the green-background webpage found as a name-based virtual server, at, when addressed by the name Use what you learned in the in-class exercise at the link entitled "apache web server". You can do it from a Windows machine instead of linux if you want. Windows machines maintain hosts files as do linux ones, with the same purpose and effect. While the linux one is /etc/hosts, the Windows functional equivalent C:\WINDOWS\system32\drivers\etc\hosts.
 - turn in a printout of the page

Apache (web server)

HTTP protocol

Apache CGI



these are for reference, on topics we do not expect have time to formally cover

Access technologies (Chs. 12+16 abridged)

Wires, hubs, switches


dhcpd (address server)

DHCP protocol

Samba (MS fileshare client) 

SMB (MS fileshare) protocol

Networks: miscellaneous essentials