Networking Fundamentals Flashcards
TCP/IP Layers
Application Transport Network Data Link Physical (phys and data link used to be combined as "link")
Please Do Not Tackle Aardvarks
Explain same-layer vs. adjacent-layer ineractions
Same-layer is between computers.
Adjacent-layer is between layers on the same computer.
What are the two most common transport-layer protocols?
Transmission Control Protocol and User Datagram Protocol
Examples of TCP/IP Application Layer protocols
HTTP, POP3, SMTP
Examples of TCP/IP Transport Layer protocols
TCP, UDP
Name a TCP/IP Internet Layer protocol
IP
Name some TCP/IP Link Layer protocols
Ethernet, Point-to-Point Protocol (PPP), T1
What are the three TCP/IP messages, and what layer are they on?
“segment for the transport layer,
packet for the network layer,
and frame for the link layer”
SNMP Ports
UDP 161 & 162
DNS ports
UDP 53
TCP 53 for zone transfers
OSI Application Layer
Layer between application and communications software.
Also defines processes for user authentication.
OSI Presentation Layer
Defines and negotiates data formats such as ASCII, binary, JPEG.
Encryption is defined in this layer.
OSI Session layer
Defines how to start, end and control covnersations.
OSI Transport Layer
Error recovery, flow control and other issues related to data delivery to another computer.
OSI Network Layer
What are the three main components
Logical addressing, routing (forwarding) and pan determination.
OSI Data link layer
Defines rules for when devices can send data over a particular medium. Also defines header and trailer allowing delivery.
Informal and formal IEEE standard names for 1Gb Ethernet over fiber
1000-BASELX
802.3x
Formal and informal IEEE standard name for 10Gb Ethernet
802.3an
10GBASE-T
Formal IEEE standards for 10BASE-T, 100BASE-T and 1000BASE-T
- 3
- 3u
- 3ab
Ethernet NICs transmit on pins …
Switches transmit on pins ….
(10 or 100 mb)
NICs transmit on 1,2
Switches transmit on 3,6
802.3ad
Link aggregation allows you to group Ethernet interfaces on the physical layer. Forming a LAG (link aggregation group)
Ethernet Types (header byte) for IPv4 and IPV6
0600
86DD
OSI Physical Layer
Defines physical attributes of the transmission medium.
PDU
Protocol data unit: OSI General definition for a packet/segment of data including a header, footer and encapsulated data.
MAC
Media access control
802.3
MAC
Media access control
802.3
T1 Speed
1.544Mbps
CSU/DSU
“channel service unit/data service unit”
What does HDLC stand for?
High-level Datalink Control
What are the HDLC fields?
Flag: equivalent to Ethernet preamble
Address: HDLC is point to point only, but provides backward compatibility for ‘years ago’.
Control: like Ethernet ‘type’ field, identifies layer 3 encapsulation
FCS: Frame Check Sequence, same as Ethernet
Does ISO HDLC have a type field?
No, Cisco added one in their version of HDLC
What is EoMPLS?
Ethernet over Multiprotocol Label Switching. Similar to Ethernet emulation- services emulating an Ethernet link using other protocols
PSTN?
Public Switched Telephone Network
DSL equivalent of CMTS
DSLAM = DIgital Subscriber Line Access Multiplexer
IPv4 header size
IPv4 address size
20 bytes
32 bits (4 bytes)
What is convergence time?
The time between a router losing a route, and finding a new route to the destination
IP class ranges (first octet)
Class A: 1-126 ( 127 reserved) Class B: 128-191 Class C: 192-223 Class D: 224-239 (multicast) Class E: 240-255 (experimental)
3 pieces of information in an arp request
Sender IP
Sender MAC
requested IP
Ping protocol
Internet Control Message Protocol
A TCP unit of data is actually called …
A PDU or layer 4 PDU or a segment.
The three parts of a TCP socket
The IP address
The Transport protocol
The port number
TCP/IP transport layer features
Multiplexing using ports Error recovery Flow control using windowing Connection establishment and termination Ordered data transfer and data segmentation
Size of UDP header
8 bytes
3 jobs of switches
Dividing when to forward a frame based on MAC address
Learning Mac addresses be recording source addresses of incoming traffic
Creating a layer 2 loop-free environment using spanning tree
What are the three types of packet forwarding that switches employ?
Store and forward
Cut through
Fragment free (forward after 64 bytes, so as to not forward collision packets)
What are the three layers of a campus lan design?
Access, distribution and core
What are the media types and cabling distances of
10-baseT 100-baseT 1000-baseT 1000-baseSX 1000-baseLX (2 types)
10-baseT: CAT3 2 pairs, 100m (328 ft)
100-baseT: CAT5 2 pairs, 100m
1000-baseT: CAT5e/6, 550m (1804 ft)
1000-baseSX: multimode fiber 50 micron, 550m
1000-baseLX (2 types): multimode fiber 50&62 micron , 550
Or 9 micron single mode , 5km (3.1 mi)
IEEE autonegotiatiom
802.3u
“Speed: Sense the speed (without using autonegotiation - Cisco addition), or if that fails, use the IEEE default (slowest supported speed, often 10 Mbps).
Duplex: Use the IEEE defaults: If speed = 10 or 100, use half-duplex; otherwise, use full-duplex.”
Excerpt From: Odom, Wendell. “CCENT/CCNA ICND1 100-101 Official Cert Guide (Tony Vigil’s Library).” Cisco Press, 2013. iBooks.
This material may be protected by copyright.
Default console port settings
“9600 bits/second No hardware flow control 8-bit ASCII No parity bits 1 stop bit
Configure password in iOS
Console and telnet
Line con 0
Login
Password bob
Line vty 0 15
Login
Password bob
Fields of UDP header
Source port
Destination port
Length
Checksum
For QoS characteristics
Bandwidth
Delay
Jitter
Loss
IOS command line:
Jump to start and end of line
Control-A and control-E
iOS command line
Jump to beginning and end of line
Control-A and Control-E
iOS command line
Interrupt current command
Control-shift-6
iOS command line
Redid play current command line - useful if console texts overruns it
Control-R
The 4 most common switch configuration modes
- Global (conf t)
- Line (line vty 0)
- Interface (int fe 0/0)
- VLAN (vlan 1)
What is stored in flash memory?
iOS image
What are the two commands to check ssh status on a switch?
Show IP ssh: status info about the server itself
Show ssh: shows info about clients currently connected to switch
What is stored in nvram?
Startup config
What is stored in switch/router rom
Bootstrap program