The Bits and Bytes of Computer Networking: Week 1 Flashcards

1
Q

What is the TCP/IP Five-Layer Network Model

A

Physical Layer > Data Link > Network > Transport > Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the 5th layer (bottom) of the TCP/IP Network Model and what does it achieve?

A

Physical Layer - Represents the physical devices that interconnect computers, includes specifications for networking cables and how signals are sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the 4th layer of the TCP/IP Network Model and what does it achieve?

A

Data Link Layer - Responsible for defining a common way of interpreting these signals so network devices can communicate.

Lots of protocols exist on this layer, the most common being ethernet. The ethernet standards also define a protocol responsible for getting data to nodes on the same network or link.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the 3rd layer of the TCP/IP Network Model and what does it achieve?

A

Network(Internet) Layer - Allows different networks to communicate with each other through routers.

The network layer is responsible for getting data delivered across a collection of Networks.

IP is the heart of the internet & most smaller networks, it resides in this layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the 2nd layer of the TCP/IP Network Model and what does it achieve?

A

Transport Layer - Sorts out which client and server programs are supposed to get data. Ensures that data gets to the right place. (TCP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the 1st layer (top) of the TCP/IP Network Model and what does it achieve?

A

Application - What the user interacts with. The application layer is used by end-user software such as web browsers and email clients. It provides protocols that allow software to send and receive information and present meaningful data to users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Internetwork?

A

A collection of networks connected together through routers. The most famous of these being the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do cables do in networking?

A

Connect different devices to each other, allowing data to be transmitted over them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the most common copper-twisted pair cables used in networking?

A

Cat5 - Oldest iteration.

Cat5e - Replaced Cat5 due to having cross talk. Cat5e eliminated it.

Cat6 - Strict specifications to avoid crosstalk. Can transfer data faster and more reliably, but because of internal arrangement, a shorter distance at max speeds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is crosstalk?

A

When an electrical pule on one wire is accidentally detected on another wire

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Fiber Cables?

A

Contain individual optical fibers,. which are tiny tubes made out of glass about the width of a human hair. Uses pulses of light instead of electricity.

Can transport data quicker, and at higher distances without data loss than copper wires can.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a hub?

A

A physical layer device that allows for connections from many computers at once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a collision domain?

A

A network segment where only one device can communicate at a time.

If multiple systems try sending data at the same time, the electrical pulses sent across the cable can interfere with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Network Switch?

A

Data link devices instead of physical like a hub. The switch can inspect what’s being sent with the Ethernet protocol. It determines which system it’s instead for and only sends it to that one system. Reduces/completely eliminates collision on the network which increases higher overall throughput.

Hubs + switches are the primary devices used to connect computers on a single network, usually referred to as a LAN. (Local Area Network)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a router?

A

A device that knows how to forward data between independent networks.

Routers operate on the network (3rd) layer.. Routers inspect IP data to determine where to send things.

A core router is used by ISP’s which deals with many connections and where to send the traffic they’re receiving.

       Internet
            ^
           ISP
            ^
PC > Router < Laptop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is BGP? (Border Gateway Patrol)

A

Routers share data with each other via this protocol, which lets them learn about the most optimal paths to forward traffic.

17
Q

What is a server?

A

Something that provides data to someone who is requesting it. The thing requesting it is the CLIENT. A server is anything that can provide data to a client.

18
Q

What does the Physical Layer consist of?

A

Devices and means of transmitting bits across computer networks.

19
Q

What is a bit?

A

The smallest representation of data that a computer can understand. It’s a 1 or a 0.

Bits are sent across copper network cables through a process called modulation.

20
Q

What is modulation?

A

A way of varying the voltage of the charge moving across the cable, when used for computer networks, it’s called line coding.

21
Q

What is Line Coding?

A

Allows devices on either end of the link to understand an electrical charge in a certain state is a 0, and in another state is a 1.

22
Q

What is Duplex, Simplex, Full & Half Duplex communication?

A

Duplex - The concept that information can flow in both directions across the cable

Simplex - The process is unidirectional

Full Duplex - Devices on either side of the networking link can communicate with each other at the same time

Half Duplex - Communication possible both ways, but only one at a time

23
Q

What is the most common network plug?

A

RJ-45

24
Q

What is a network port?

A

Generally directly attached to devices that make up a computer network

25
Q

What do the 2 network port LEDs represent?

A

Link LED - Will be lit when a cable is properly connected to two devices that are properly powered on.

Activity LED - Will flash when data is actively being transmitted.

On switches, one LED may be for both.,

26
Q

What is CSMA/CD?

A

Used to determine when the communications channels are clear, and when a device is free to transmit data.

27
Q

What is a MAC address?

A

A globally unique identifier attached to an individual network interface. A 48-biot number normally represented by six groupings of two hexadecimal numbers. There are 6 octets in a Mac address.

28
Q

What is a hexidecimal?

A

A way to represent numbers using 16-digits. Use A-F to represent numbers 10-15.

29
Q

What is an octet?

A

In computer networking, any number that can be represented by 18 bits.

The first 3 octets of a MAC address is the organizationally Unique Identifier (OUI). assigned to individual hardware manufacturers by the IEEE. (Institute of Electrical and Electronics Engineers)

30
Q

What is Unicast, Multicast + Broadcast?

A

Unicast Frame: A transmission that’s meant for just one receiving address.

Multicast Frame: Multicast frames—these are frames that are transmitted to a select group of destinations. This would be any frame with the least significant bit of the destination address set to 1, except for broadcast, where all bits of the MAC destination address are set to 1.

Broadcast Frame: is a frame that has a hexadecimal MAC address of FF-FF-FF-FF-FF-FF. Broadcast frames are generated when certain network services need to make announcements to other hosts on the network.

If the first bit is the least significant in the octet of a destination address is 0, it means the Ethernet frame is only intended for the destination address. If set to 1, it’s a multicast frame.

31
Q

What is a data packet?

A

Represents any single set of binary data being sent across a network link.

32
Q

What is a ethernet frame?

A

A highly structured collection of information presented in a specific order.

33
Q

Ethernet Frame Layout

A

Preamble > SFD > Destination Address > Source Address > VLAN header > Ether-type > Payload > FCS

(1) Preamble: 8 bytes (64-bits) long and can be split into two sections
(2) Start Frame Delimiter (SFD): Signals to a receiving device that the preamble is over and that the actual frame contents will now follow.
(3) Destination MAC Address: The hardware address of the intended recipient.
(4) Source Address: Where the frame originated from.
(5) EtherType field: 16 bits long, describes protocol of contents of the frame. - Instead of EtherType, could have VLAN header: Indicates that the frame is VLAN frame. If VLAN header is present EtherType follows it.
(6) Payload: In networking, the actual data being transported, which is everything that isn’t a header. Contains everything from all higher layers and what’s actually being transmitted.
(7) Frame Check Sequence: A 4 byte (32-bit) number that represents a checksum value for the entire frame. The checksum is calculated by a cyclical redundancy check.

34
Q

What is a Virtual LAN (VLAN)?

A

Technique that lets you have multiple logical LANs operating on the same physical equipment.

35
Q

What is a Cyclical Redundancy Check (CRC)?

A

A concept for data integrity. Used in all computing, not just networking, checks for corrupted data.