Home > CS2610: Intro to Cyber Security and Network Communications > Network FundamentalsNetwork Fundamentals
Define rules and format of communication between network devices.
Standard framework for interconnecting network protocols for end-to-end communication.
Used to teach computer networking. Developed in 1970s.
TODO PlantUML
More widely-used abstraction model.
TODO plantUML
Breakdown of data units at each layer:
“Don’t Smoke Pot From Bongs”
Data Unit TCP/IP Layer Datagrams App Segments Transport Packets Network Frames Data Link Bits Physical
Encapsulation: Application \to Physical
Decapsulation: Physical \to Application
TODO Names
1 | Data | ||||
2 | TCP/UDP Header | Data | |||
3 | IP Header | TCP/UDP Header | Data | ||
4 | Frame Header | IP Header | TCP/UDP Header | Data | Frame Trailer |
Transmission of bits/waveform/timing/et cetera.
Examples: coaxial, radio, fiber optic, et cetera.
Things to Consider:
Delivers data in a local network (or point-to-point).
Delivers data between hosts, possibly on different networks.
172.16.1.250
)Note: Current standard is IPv6
Address Resolution Protocol (ARP): Resolves MAC address to corresponding IP address.
Internet Control Message Protocol (ICMP): Allows hosts to communicate about network conditions.
Dynamic Host Configuration Protocol (DHCP): Dynamically assigns IP addresses.
Delivers data from process on one host to process on another.
Port Numbers: Used to get the data to the correct process on a host.
- Well Known: < 1024
- Registered and Dynamic: > 49151
Connection-oriented with reliable delivery, flow, and congestion control.
Flags: SYN, ACK, FIN, PSH, URG
Most internet traffic uses TCP.
Connectionless, less overhead than TCP.
Basically, anything that buffers or can be lossy, is good for UDP.
- Multicasting, streaming, tunneling, et cetera.
Resolves domain names to IP addresses.
Web browser/server interaction.
Remote accessing other computers.
Sharing files between computers.
Basic NAT: Translates one IP into another.
Port Address Translation: Multiple hosts share one single public IP.
Can be static or dynamic (IP assigned to you).
Benefits:
Command | Description |
---|---|
ipconfig | Display network interface config |
ping | Send ICMP echo request |
netstat | Display status of network connections |
nslookup | DNS info |