Network Basics Flashcards
List each layer (7 to 1) of the OSI Seven-Layer Model.
L7 Application
L6 Presentation
L5 Session
L4 Transport
L3 Network
L2 Data Link
L1 Physical
Remember the mnemonic “All People Seem To Need Data Processing.”
In Windows, type ______ from a command prompt to display the MAC address.
ipconfig /all
In macOS, type ______ from a terminal to display the MAC address.
ifconfig
In Linux, type ______ from a terminal to display the MAC address.
ip a
What is the PDU for Layer 2, the Data Link layer?
Frame (Ethernet)
What is the max size of an Ethernet frame’s Data field?
1500 bytes
What is the Layer 2 broadcast address?
FF-FF-FF-FF-FF-FF
What are the two sublayers of the Data Link layer?
Logical Link Control (LLC)
Media Access Control (MAC)
What is the PDU for Layer 3, the Network layer?
Packet
Define: MAC or Media Access Control Address (aka. a physical address)
A 48-bit (6-byte) unique identifier that is burned onto a ROM chip in every NIC. It is in hexadecimal notation (12 hex digits).
What is an IPv4 address?
An IPv4 address is 32-bits (4 bytes) long. It uses dotted decimal notation based on four 8-bit numbers. Each byte is separated by a decimal (192.168.4.232).
What are the PDUs for the Transport Layer?
Segments (TCP) and Datagrams (UDP)
What logical addressing is used in the Transport Layer?
Port addressing
What is a port?
A port - a number between 1 and 65,535 - is a logical value assigned to specific applications or services.
What type of connector does coaxial cable use?
F-type connector
What two types of coaxial cables are used and what are their Radio Guide Ohms rating?
RG-6 at 75 Ohms
RG-59 at 75 Ohms
(RG-6 is the predominant cable used to connect modems to an ISP)
Cat 5 frequency and bandwidth
100 MHz
100 Mbps
Cat 5e frequency and bandwidth
100 MHz
1 Gbps
Cat 6 frequency and bandwidth
250 MHz
10 Gbps
Cat 6a frequency and bandwidth
500 MHz
10 Gbps
Cat 7 frequency and bandwidth
600 MHz
10+ Gbps
Cat 8 frequency and bandwidth
2000 MHz
25-40 Gbps
What connector does twisted pair use?
Technically 8 position 8 contact (8P8C) connectors but commonly called RJ-45 connectors (Network + uses the latter)
What are the two types of fiber-optic cables?
Multimode Fiber (MMF)
Single-mode Fiber (SMF)
What four connectors are used with fiber-optic cables?
ST (Single Tube)
SC (Single Cube)
LC (Little Cubes)
MT-RJ (Mechanical Transfer-Register Jack; slightly resembles RJ-45)
Plenum-rated cable fire rating
Safe for the ceiling plenum space and a better choice for vertical runs between floors over riser-rated cables. If it goes in the ceiling or wall, make it plenum.
What pins on an RJ-45 connector are used by 10BASE-T devices?
Pins 1 and 2 send data, and pins 3 and 6 receive data.
What is the wire termination order for 568A twisted pair Ethernet cabling?
From left to right:
1. Green/White
2. Green
3. Orange/White
4. Blue
5. Blue/White
6. Orange
7. Brown/White
8. Brown
Remember “GO”
What is the wire termination order for 568B twisted pair Ethernet cabling?
From left to right:
1. Orange/White
2. Orange
3. Green/White
4. Blue
5. Blue/White
6. Green
7. Brown/White
8. Brown
10BASE-T Summary:
Speed
Distance
Node Limit
Cable Type
Speed: 10 Mbps
Distance: 100 m
Node Limit: No more than 1024 nodes per hub
Cable Type: Cat 3 or better UTP
What does Spanning Tree Protocol (STP) do, and what special type of frame does it use for communication between switches?
STP eliminates the problem of accidental switching loops by electing one switch as the root bridge. Bridge protocol data units (BPDUs) are the frames used to communicate between switches.
What protocol replaced STP?
Rapid Spanning Tree Protocol (RSTP)
100BASE-T
Speed
Distance
Node Limit
Cable Type
Speed: 100 Mbps
Distance: 100 m
Node Limit: 1024 nodes per hub/switch
Cable Type: Cat 5 or better UTP or STP
100BASE-FX
Speed
Distance
Node Limit
Cable Type
Speed: 100 Mbps
Distance: 2 km
Node Limit: 1024 nodes per hub/switch
Cable Type: Multimode fiber-optic (generally OM1) with ST or SC connectors
100BASE-SX
Speed
Distance
Cable Type
Speed: 100 Mbps
Distance: Short
Cable Type: Multimode fiber-optic OM1 or OM2 with ST, SC, or LC connectors
What is the IEEE 802.3ab standard called?
1000BASE-T (Gigabit Ethernet)
What is the IEEE 802.3z standard called?
1000BASE-X (Gigabit Fiber-Optic)
1000BASE-T
Speed
Length
Cable Type
Cable Details
Speed: 1 Gbps
Length: 100 m
Cable Type: Cat 5e/6 UTP
Cable Details: Four-pair/ full-duplex
1000BASE-SX
Speed
Length
Cable Type
Speed: 1 Gbps
Length: 220-500 m
Cable Type: Multimode fiber, OM2 or better
1000BASE-LX
Speed
Length
Cable Type
Speed: 1 Gbps
Length: 5 km
Cable Type: Single-mode fiber OS1 or OS2
10GBASE-SR/SW
Speed
Length
Cabling
Speed: 10 Gbps
Length: 33-400 m
Cabling: Multimode fiber (OM3 or better)
10GBASE-LR/LW
Speed
Length
Cabling
Speed: 10 Gbps
Length: 10 km
Cabling: Single-mode fiber (OS2 required to reach the full distance)
10GBASE-ER/EW
Speed
Length
Cabling
Speed: 10 Gbps
Length: 40 km
Cabling: Single-mode fiber
10GBASE-T
Speed
Length
Cabling
Cable Details
Speed: 10 Gbps
Length: 55/100 m
Cabling: Cat 6/6a UTP
Cable Details: Four-pair/ full-duplex
40GBASE-T
Speed
Distance
Cabling
Speed: 40 Gbps
Distance: 30 m
Cabling: Cat 8 UTP
What is the official ANSI/TIA naming convention for patch panels?
ANSI/TIA-606-C
What is the TIA/EIA 568 specification for UTP horizontal cabling length?
90 m, reserving 10 m for patch cables.
What is the TCP three-way handshake?
SYN
SYN-ACK
ACK
What does Address Resolution Protocol (ARP) do?
It resolves an IP address to an Ethernet MAC address.
What command do you type in Window’s Command Prompt to view the system’s current ARP cache?
arp -a
What command do you type in Window’s Command Prompt to delete one of the entries in the ARP table?
arp -d [ip address from the cache table]
What command do you type in the Window’s Command Prompt to display the IP and MAC addresses?
ipconfig /all
What command do you type in the macOS terminal to display the IP and MAC addresses?
ifconfig
What command do you type in the Linux terminal to display the IP and MAC addresses?
ip address
(ifconfig is the older command)
Class A IP block:
First Decimal Value
First Binary Octet
Addresses
Subnet Mask
First Decimal Value: 1-126
First Binary Octet: 0xxxxxxx
Addresses: 1.0.0.0-126.255.255.255
Subnet Mask: 255.0.0.0
Class B IP block:
First Decimal Value
First Binary Octet
Addresses
Subnet Mask
First Decimal Value: 128-191
First Binary Octet: 10xxxxxx
Addresses: 128.0.0.0-191.255.255.255
Subnet Mask: 255.255.0.0
Class C IP block:
First Decimal Value
First Binary Octet
Addresses
Subnet Mask
First Decimal Value: 192-223
First Binary Octet: 110xxxxx
Addresses: 192.0.0.0-223.255.255.255
Subnet Mask: 255.255.255.0
Class D IP block (Multicast):
First Decimal Value
First Binary Octet
Addresses
First Decimal Value: 224-239
First Binary Octet: 1110xxxx
Addresses: 224.0.0.0-239.255.255.255
Class E IP block (Experimental):
First Decimal Value
First Binary Octet
Addresses
First Decimal Value: 240-255
First Binary Octet: 1111xxxx
Addresses: 240.0.0.0-255.255.255.255
What is the formula to determine how many hosts a network can have?
2^x - 2, where x represents the number of zeroes in the subnet mask.
You subtract two for the network ID (host ID all zeroes) and broadcast address (host ID all 255s).
Define: Anycast packet
Where multiple computers share a single address and routers direct messages to the closest computer.
Define: Broadcast packet
Where every computer on the LAN hears the message.
Define: Multicast packet
Where a single computer sends a message to a group of interested computers. Routers use multicast to talk to each other.
What is subnetting?
Taking a single class of IP addresses and chopping it up into multiple smaller groups called subnets. You take an existing /8, /16, or /24 subnet and extend the subnet mask by replacing zeroes with ones.
List the steps to create a Classless Inter-Domain Routing (CIDR) subnet.
- Write the existing subnet mask out in binary and place a vertical line at the end of the ones.
- Extend the network ID by replacing one or more zeroes with a one until you have the number of subnets that you need. Place a second vertical line at the end of your new one(s).
- Convert your new /(# of 1s) subnet mask into dotted decimal.
What is the formula for determining how many subnets you create in subnetting?
2^y, where y is the number of bits (ones) you add to the subnet mask.
2^1 = 2
2^2 = 4
2^3 = 8
What are the steps to create the new networks IDs for the subnets created in subnetting?
- Convert the original network ID into binary.
- Add the network ID extensions to the end for each of the subnets you created.
- Convert the new network IDs for your subnets into dotted decimal.