Networking Flashcards
What does TCP/IP stand for?
Transmission Control Protocol/Internet Protocol
What is TCP?
Transmission Control Protocol
Connection-oriented
– A formal connection setup and close
- “Reliable” delivery
– Recovery from errors
– Can manage out-of-order messages or retransmissions - Flow control
– The receiver can manage how much data is sent
What is UDP?
User Datagram Protocol
* Connectionless - No formal open/close to the connection
- “Unreliable” delivery
– No error recovery
– No reordering of data or retransmissions - No flow control
– Sender determines the amount of data transmitted
When would you use UDP?
Real-time communication
– There’s no way to stop and resend the data
– Time doesn’t stop for your network
Connectionless protocols
– DHCP (Dynamic Host Configuration Protocol)
– TFTP (Trivial File Transfer Protocol)
What does DHCP stand for?
Dynamic Host Configuration Protocol
What does TFTP stand for?
TFTP (Trivial File Transfer Protocol)
When would you use TCP? (and with what?)
- Connection-oriented protocols prefer a “return receipt”
– HTTPS (Hypertext Transfer Protocol Secure)
– SSH (Secure Shell) - The application doesn’t worry about out of order
frames or missing data
– TCP handles all of the communication overhead
– The application has one job
What are Non-ephemeral ports ?
permanent port numbers
– Ports 0 through 1,023
– Usually on a server or service
What are ephemeral ports ?
- Ephemeral ports – temporary port numbers
– Ports 1,024 through 65,535
– Determined in real-time by the client
Port numbers range
TCP and UDP ports can be any number between
0 and 65,535
* Most servers (services) use non-ephemeral
(not-temporary) port numbers
– This isn’t always the case
– It’s just a number.
T or F – TCP port numbers aren’t the same as UDP port number
T
T or F - TCP and UDP are encapsulated within IP.
T
What is SSH?
SSH - Secure Shell
* Encrypted communication link in terminal communication between systems
What are Routers?
Routes traffic between IP subnets
– Makes forwarding decisions based on IP address
– Routers inside of switches sometimes called
“layer 3 switches”
* Often connects diverse network types
– LAN, WAN, copper, fiber
What are Switches?
- Bridging done in hardware
– Application-specific integrated circuit (ASIC)
– Forwards traffic based on data link address - Many ports and features
– The core of an enterprise network
– May provide Power over Ethernet (PoE) - Multilayer switch
– Includes routing functionality
What are Unmanaged Switches?
- Very few configuration options
– Plug and play - Fixed configuration
– No VLANs - Very little integration with other devices
– No management protocols - Low price point
– Simple is less expensive
What are managed Switches?
- VLAN support
– Interconnect with other switches via 802.1Q - Traffic prioritization
– Voice traffic gets a higher priority - Redundancy support
– Spanning Tree Protocol (STP) - Port mirroring
– Capture packets - External management
– Simple Network Management Protocol (SNMP)
What are Access points?
Not a wireless router
– A wireless router is a router and an access point
in a single device
* An access point is a bridge
– Extends the wired network onto the wireless network
– Makes forwarding decisions based on MAC address
What are Patch Panels?
Combination of punch-down blocks and
RJ-45 connectors
* Runs from desks are made once
– Permanently punched down to patch panel
* Patch panel to switch can be easily changed
– No special tools
– Use existing cables
What are Firewalls?
- Filters traffic by port number
– OSI layer 4 (TCP/UDP)
– Some firewalls can filter based on the application - Can encrypt traffic into/out of the network
– Protect your traffic between sites - Can proxy traffic
– A common security technique - Most firewalls can be layer 3 devices (routers)
– Usually sits on the ingress/egress of the network
What is Power over Ethernet (PoE)?
Power provided on an Ethernet cable
– One wire for both network and electricity
– Phones, cameras, wireless access points
– Useful in difficult-to-power areas
* Power provided at the switch
– Built-in power - Endspans
– In-line power injector - Midspans
What is PoE switch?
- Power over Ethernet
– Commonly marked on the switch or interfaces
Explain PoE, PoE+, PoE++
- PoE: IEEE 802.3af-2003
– The original PoE specification
– Now part of the 802.3 standard
– 15.4 watts DC power, 350 mA max current - PoE+: IEEE 802.3at-2009
– Now also part of the 802.3 standard
– 25.5 watts DC power, 600 mA max current - PoE++: IEEE 802.3bt-2018
– 51 W (Type 3), 600 mA max current
– 71.3 W (Type 4), 960 mA max current
– PoE with 10GBASE-T
Explain Hub
- “Multi-port repeater”
– Traffic going in one port is repeated to
every other port - Everything is half-duplex
- Becomes less efficient as network traffic increases
- 10 megabit / 100 megabit
- Difficult to find today