Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

CIS 225

Lecture 17 - Network Architecture & Configuration

7 Layer OSI Network Model

Physical - 100BASE-T

Image Source: Wikipedia

Data Link - Ethernet

Image Source: Wikipedia

Network - IPv4

IPv4 Packet Structure
Version InfoLength
Packet IDFlags & Offset
Protocol & TTLChecksum
Source IP Address
Destination IP Address
Data...

IPv4 vs. IPv6

IPv4: 32 bit Addresses
232 = 4,294,967,296

IPv6: 128 bit Addresses
2128 = 340,282,366,920,938,463,463,
374,607,431,768,211,456
or 340 Undecillion addresses

Network - IPv6

Image Source: Wikipedia

Network Interfaces

Localhost

Network Adapters

Windows Network Adapters
Device Manager

Windows Network Adapters
Network Connections

Ubuntu Network Adapters
/etc/hosts

/etc/network/interfaces

Ubuntu Network Adapters

IP Addresses

IP Address Components

Reserved IP Address Sections

Dynamic Host Configuration Protocol (DHCP)

Image Source: Tech Juice

Ubuntu - dhclient

Manual Configuration

Automatic Private IP Addressing (APIPA)

Windows IP Configuration

Ubuntu IP Configuration

Windows Diagnostic Commands

ipconfig

Ubuntu Diagnostic Commands

Transport - TCP

TCP Packet Structure
Source PortDest. Port
Sequence Number
Acknowledgement Number
OptionsLength
ChecksumUrgent
Data...

Transport - UDP

UDP Packet Structure
Source PortDest. Port
LengthChecksum
Data...

TCP vs. UDP

TCPUDP
Connection OrientedConnectionless
ReliableUnreliable
AcknowledgeNo Acknowledge

Ports

Well Known Ports
/etc/services

Windows - Sysinternals TCPView

Ubuntu - netstat

Reading

Assignments