Computer Network and Security (Study Material)
Computer Network and Security (Study Material)
What is a Network?
• Communication of devices to transmit data (connect devices together)
• Wireless Access Point (Wi-Fi)
• Wired and Wireless network can be part of the same network
• Network’s goal is to move information from one device to another
• Receiver and sender must speak the same LANGUAGE to understand each other.
Language in network is called a PROTOCOL.
Network Types
• SOHO Network (Small Office Home Office Network)
o A small network
o Router is used to connect to the internet
• Enterprise Network
o May cover several floors in a building
o May also cover office building in different cities or even across different
countries
• Service Provider Network
o Provide internet access
o Offer services to connect their customers together
• Local Area Network (LAN)
o Devices are collected into a local area network
o Small network or may be part of a bigger network
• Wide Area Network (WAN)
o Networks that are far apart and joined together e.g. across countries.
Cabling Devices
• Wired (late 1960s) – uses cables to connect devices
• Wireless (early 1990s) – no cables
• Cables can be copper or fiber copper
UTP Setup
• Straight Through
o Wires go straight through from one end to another
o Transmitting and receiving data
o Connect host to a switch (not the same devices)
• Crossover
o Swaps pairs on one end, transmit lines up with receive
o Connect switch to another switch (same devices)
Auto-MDIx – can detect when wrong cable is used
• Full duplex – both ends can send/receive data simultaneously
o Dual core
• Half-duplex – both ends can send/receive data one at a time
o Single core
Types of Fiber
Application Layer
• where network APIs and apps that access the network live
• includes FTP and web browsing
• accessing emails
• transferring files
• management session (ssh, telnet, RTP)
Presentation Layer
Types of IP Addresses
IPV4 – more common (example: 192.168.0.100)
IPV6 – newer (example: FD3B:F15C:C672:34B8::100)
192.168.0.100
• Each of these numbers are separated by a dot.
• Each is called an Octet (8-bit)
• Range from 0 – 255
• Range of Addresses are called IP Space
IP Addresses are two addresses in one
1. Host Address
2. Network Address
Five Classes of IP Address
A: Devices
B: Devices
C: Devices
D: Multicast
E: Reserved
Variable Length