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 527

Lecture 10 - Networking Overview

7 Layer OSI Network Model

Physical - 100BASE-T

Image Source: Wikipedia

Data Link - Ethernet

Image Source: Wikipedia

Routing

Virtual LAN

Spanning Tree Algorithm

Image Credit: Wikipedia

Spanning Tree Algorithm

Image Credit: Wikipedia

Spanning Tree Algorithm

Image Credit: Wikipedia

Spanning Tree Algorithm

Image Credit: Wikipedia

Spanning Tree Algorithm

Image Credit: Wikipedia

Spanning Tree Algorithm

Image Credit: 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

Subnet

Classless Inter-Domain Routing

Subnet Mask

IP Address: 192.168.5.130
11000000.10101000.00000101.10000010

Subnet Mask

IP Address: 192.168.5.130
11000000.10101000.00000101.10000010

Subnet Mask: 255.255.255.0
11111111.11111111.11111111.00000000

Subnet Mask

IP Address: 192.168.5.130
11000000.10101000.00000101.10000010

Subnet Mask: 255.255.255.0
11111111.11111111.11111111.00000000

Network Prefix: 192.168.5.0
11000000.10101000.00000101.00000000

Subnet Mask

IP Address: 192.168.5.130
11000000.10101000.00000101.10000010

Subnet Mask: 255.255.255.0
11111111.11111111.11111111.00000000

Network Prefix: 192.168.5.0
11000000.10101000.00000101.00000000

Host Part: 0.0.0.130
00000000.00000000.00000000.10000010

CIDR Notation

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

Assignments