Computer Networks: IEEE 802.3 Ethernet

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which IEEE standard is associated with Ethernet?

  • 802.3 (correct)
  • 802.15
  • 802.5
  • 802.11

Which network type typically covers an area of 30-50 km, such as a whole city?

  • Metropolitan Area Network (MAN) (correct)
  • Wide Area Network (WAN)
  • Personal Area Network (PAN)
  • Local Area Network (LAN)

What is the primary function of a network switch?

  • To broadcast data to all connected devices.
  • To reflect signals back to the source.
  • To transmit data only to the specified network interface. (correct)
  • To act as a terminator in a bus topology.

Which topology connects all nodes via a shared medium, where a signal transmitted by one node is received by all other nodes?

<p>Bus (A)</p> Signup and view all the answers

Which IEEE standard is associated with Token Ring technology?

<p>802.5 (B)</p> Signup and view all the answers

In wireless LANs, what is the function of an Access Point in infrastructure mode?

<p>It serves as a centralized connection point, facilitating communication between wireless devices and a wired network. (D)</p> Signup and view all the answers

Which of the following best describes the key feature of WiMAX (IEEE 802.16) technology?

<p>It provides wireless broadband access over metropolitan area networks. (A)</p> Signup and view all the answers

What is the main purpose of the ETSI standard in the context of cellular networks?

<p>To define protocols for 2G digital cellular networks like GSM. (B)</p> Signup and view all the answers

Which of the following is a characteristic of a 'Star' network topology?

<p>Nodes are interconnected via a central node, such as a hub or a switch. (B)</p> Signup and view all the answers

Which of the following is true regarding the usage of hubs and switches in a network?

<p>Hubs broadcast data to all devices, leading to potential collisions, while switches transmit only to the destination device. (D)</p> Signup and view all the answers

A network is set up in a ring topology. What happens to data flow in this topology?

<p>Data flow is usually unidirectional. (A)</p> Signup and view all the answers

In a wireless LAN using infrastructure mode, what is the primary role of the access point?

<p>To act as a central connection point that connects wireless devices to a wired network. (B)</p> Signup and view all the answers

What is the main difference between 'centralized' and 'distributed' wireless topologies?

<p>Centralized topologies require an access point, while distributed do not. (C)</p> Signup and view all the answers

What is the range that defines a personal area network?

<p>Up to 10s of meters (B)</p> Signup and view all the answers

Which of the following network types can also be a private network?

<p>Wide Area Network (WAN) (B)</p> Signup and view all the answers

What is the role of terminators in a bus topology?

<p>To absorb signals and prevent them from bouncing back and causing interference. (C)</p> Signup and view all the answers

Which network device operates at the Data Link Layer (Layer 2) and transmits data only on the specified network interface?

<p>Switch (D)</p> Signup and view all the answers

In the context of GSM networks, what does the acronym BTS stand for?

<p>Base Transceiver Station (C)</p> Signup and view all the answers

What is the primary function of the Address Resolution Protocol (ARP)?

<p>To translate IP addresses to MAC addresses. (A)</p> Signup and view all the answers

What is the length of a MAC address?

<p>48 bits (A)</p> Signup and view all the answers

What is the purpose of the preamble in an 802.3 Ethernet frame?

<p>Synchronization (D)</p> Signup and view all the answers

Which of the following best describes Carrier Sense Multiple Access with Collision Detect (CSMA/CD)?

<p>A protocol where devices sense the medium for a signal before transmitting and respond to collisions. (D)</p> Signup and view all the answers

What happens in CSMA/CD when a collision is detected?

<p>All nodes immediately stop transmission and enter a backoff period. (D)</p> Signup and view all the answers

Which algorithm is commonly used for contention resolution in Ethernet networks after a collision is detected?

<p>Binary Exponential Backoff (A)</p> Signup and view all the answers

In Binary Exponential Backoff (BEB), what happens to the contention window size after each collision?

<p>It increases exponentially, doubling after each collision. (C)</p> Signup and view all the answers

In networking, what does the term 'collision domain' refer to?

<p>An area where only one device can transmit at a time without causing collisions. (B)</p> Signup and view all the answers

How does a network switch reduce collisions compared to a hub?

<p>By creating separate collision domains for each port. (B)</p> Signup and view all the answers

Which part of the MAC address identifies the manufacturer of the network interface card?

<p>The first 24 bits. (C)</p> Signup and view all the answers

What is the significance of the 'I/G' bit in a MAC address?

<p>It indicates whether the address is an individual (unicast) or group (multicast/broadcast) address. (B)</p> Signup and view all the answers

What is the main function of the data link layer?

<p>Divided into data link control and multiple-access resolution. (D)</p> Signup and view all the answers

When was the first standardization of 1 Gbps Ethernet?

<p>1998 (A)</p> Signup and view all the answers

Which of the following statements is most accurate about wired MANs?

<p>Wired MANs have not achieved widespread popularity. (D)</p> Signup and view all the answers

The image shows a standard computer with what additional built-in devices? (Pick the best answer)

<p>Access Point, Router, Switch (C)</p> Signup and view all the answers

Which network topology uses the IEEE 802.3 standard?

<p>Ethernet (A)</p> Signup and view all the answers

Of the wireless standards, which covers the largest geographical area?

<p>Wimax (C)</p> Signup and view all the answers

When using CSMA (Carrier Sense Multiple Access), what does a wireless network use to avoid collisions?

<p>Collision Avoidance (A)</p> Signup and view all the answers

What is the metric used to measure a Personal Area Network (PAN)?

<p>10s of meters (A)</p> Signup and view all the answers

Which of the following technologies is NOT in the local area network?

<p>HiperLan (D)</p> Signup and view all the answers

A star topology has a central connection called what?

<p>Hub or Switch (A)</p> Signup and view all the answers

For wired topologies, which item is not an example?

<p>Distributed (C)</p> Signup and view all the answers

Which 2 items form the sublayers of the Data Link Layer?

<p>Multiple-access resolution and Data link control (A)</p> Signup and view all the answers

Flashcards

Local Area Network (LAN)

A network limited to a small physical area, like a room or building.

Metropolitan Area Network (MAN)

A network covering a larger geographic area such as a city or metropolitan area.

Wide Area Network (WAN)

A network with the largest coverage area, spanning countries or continents.

Star Topology

A network topology where devices are connected via a central node.

Signup and view all the flashcards

Bus Topology

A network topology where all nodes are connected via a shared medium.

Signup and view all the flashcards

WLAN

A protocol standard (IEEE 802.11) for wireless LANs

Signup and view all the flashcards

IEEE 802.3

IEEE standard for Ethernet.

Signup and view all the flashcards

Ring Topology

A network topology in which the nodes are interconnected to each other in the form of a ring.

Signup and view all the flashcards

Network Topology

The physical interconnection of computer systems in a network.

Signup and view all the flashcards

Hub

This broadcasts data to all attached network interfaces.

Signup and view all the flashcards

Switch

This transmits data only to the specified network interface.

Signup and view all the flashcards

Hybrid Topology

A network that combines different topologies to meet specific needs.

Signup and view all the flashcards

Centralized Wireless Topology

A network configuration where an Access Point provides infrastructure.

Signup and view all the flashcards

Distributed Wireless Topology

A wireless configuration where devices connect directly without infrastructure

Signup and view all the flashcards

CSMA/CD

A protocol that uses CSMA/CD to handle collisions. Used in 802.3 Ethernet.

Signup and view all the flashcards

CD

Collision Detection

Signup and view all the flashcards

Data Link Layer

The protocol layer responsible for data link control and multiple-access resolution.

Signup and view all the flashcards

Media Access Control (MAC)

Protocols controlling the right to transmit over the physical medium.

Signup and view all the flashcards

Primary/Secondary Protocols

Medium is controlled by a primary station, contention-free.

Signup and view all the flashcards

Peer-to-Peer Protocols

Stations have equal rights to send data

Signup and view all the flashcards

MAC Address

A physical hardware address, acts as unique ID for every device.

Signup and view all the flashcards

Multiple access

Multiple access means it's multipoint links (shared links)

Signup and view all the flashcards

Carrier Sense

Carrier Sense means it's nodes which will sense the carrier

Signup and view all the flashcards

Jamming Signal

This is used to declare emergency on medium and informs all nodes of collision taking place.

Signup and view all the flashcards

Contention Resolution Mechanism

The aim of this algorithm was to resolve all the nodes which were trying to contend.

Signup and view all the flashcards

Preamble + SFD

This uses synchronization, Start of Frame Delimiter, MAC addresses of receiver & sender.

Signup and view all the flashcards

32-bit CRC Value

Used for error detection of ethernet frame sequence.

Signup and view all the flashcards

CSMA/CA

Carrier Sense Multiple Access / Collision Avoidance, primarily avoids collision in WIFI, (IEEE 802.11).

Signup and view all the flashcards

Institute of Electrical & Electronics Engineers

IEEE defined standards that are used for LANs

Signup and view all the flashcards

GSM (2G)

A global system used for mobile communications

Signup and view all the flashcards

Study Notes

  • Lecture 03 focuses on Computer Networks and IEEE 802.3 Ethernet at the Datalink Layer.

Network Coverage Area

  • Networks can range from personal area networks (1m, square meter), to local area networks (100m-1km, building to campus), to larger networks.
  • Metropolitan area networks (10km, city), wide area networks (100km-1000km, country to continent), and the Internet (10,000 km, planet).
  • Personal Area Networks (PAN) cover up to 10s of meters and include Bluetooth (IEEE 802.15).
  • Local Area Networks (LAN) cover up to 1 kilometer and include Ethernet (802.3), Token Ring (802.5), and WLAN (802.11).
  • Metropolitan Area Networks (MAN) cover up to 10s of kilometers and include WiMAX (802.16).
  • Wide Area Networks (WAN) cover hundreds/thousands of Km and can be private.
  • The Internet is a global-scale public network.

LAN Topologies

  • Network topology refers to the physical interconnection of computer systems.
  • Wired topologies include bus (horizontal), ring, star, tree, and mesh.
  • Wireless topologies include centralized (infrastructure mode) and distributed (ad-hoc mode).
  • The star topology, often used in Ethernet networks has nodes interconnected via a central node which is either a Hub or Switch.
  • Hubs broadcast to all attached network interfaces, while switches transmit only on the specified network interface.
  • In a bus topology, all nodes are connected via a shared medium.
  • A signal transmitted by one node is received by all other nodes on the LAN.
  • In a ring topology nodes are interconnected with each other in a ring shape.
  • Data flow is typically unidirectional, and variants include FDDI, CDDI, and TPDDI.
  • A Hybrid Topology might use a Star backbone with 3 Bus Networks

Wireless LANs

  • Wireless LANs adhere to the IEEE 802.11 WLAN standard or ETSI HiperLAN standard.
  • There are two configurations: centralized (access point serves as infrastructure) and distributed (no infrastructure required, ad hoc mode).

Metropolitan Area Networks (MANs)

  • Metropolitan Area Networks cover a 30-50 km area including a whole city and remote areas
  • Wired MANs did not gain popularity, but wireless MANs are becoming more common
  • IEEE 802.16 Standard (WiMAX) is deployed in Pakistan, and IEEE 802.20 Standard supports high-speed mobility.

Cellular Networks

  • 2G uses Global System for Mobile Communications (GSM).
  • 2.5G uses General Packet Radio Service (GPRS).
  • 2.75G uses Enhanced Data rates for GSM Evolution (EDGE), including Enhanced GPRS (EGPRS).
  • 3G/4G uses (CDMA2000, LTE).
  • GSM is the ETSI Standard, it describes protocols for 2G digital cellular networks, functioning as a digital circuit switched network for full duplex voice telephony.
  • SIM stands for Subscriber Identity Module
  • BTS stands for Base Transceiver Station
  • BSC stands forBase Station Controller
  • PCU stands for Packet Control Unit
  • MSC stands for Mobile Switching Center
  • VLR / HLR
  • AuC stands for Authentication Center
  • EIR stands for Equipment Identity Register
  • SGSN stands for Serving GPRS Support Node
  • GGSN stands for Gateway GPRS Support Node

Network Adapters

  • Network adapters can be seen as an Ethernet Card, Network Interface Card (NIC), or LAN Card
  • Use the ipconfig command to find your IPv4 address
  • Use the arp command to view and modify the IP-to-physical address translation tables used by address resolution protocol (ARP).

LAN Technologies and Standards

  • IETF (Internet Engineering Task Force)
  • IEEE (Institute of Electrical & Electronic Engineers).
  • The IEEE initiated project 802 in the 1980s to develop standards for emerging LAN technologies
  • These standards ensure equipment from different vendors can work together
  • IEEE 802.3 (Ethernet), IEEE 802.5 (Token Ring), IEEE 802.11 (Wireless LAN), IEEE 802.15 (Bluetooth), and IEEE 802.16 (WiMAX).
  • The most popular standard is 802.3.
  • CSMA/CD (Carrier Sense Multiple Access with Collision Detection) is a key access method in LANs.
  • The data link layer is divided into two functionality-oriented sublayers: data link control and multiple-access resolution.
  • Media Access Control (MAC) involves protocols that control the right to transmit over the physical medium.
  • Primary/Secondary Protocols, the primary station controls access on the media in Contention-Free protocols, GSM, WiMAX, and WiFi Infrastructure Mode.
  • Peer-to-Peer Protocols gives all stations equal rights to send data but may result in collision, Ethernet, WiFi Ad Hoc Mode.

Multiple Access Protocols

  • Random access protocols: ALOHA, CSMA, CSMA/CD, CSMA/CA.
  • Controlled-access protocols: Reservation, Polling, Token passing.
  • Channelization protocols: FDMA, TDMA, CDMA.

Bus/Star Configurations

  • Shared medium bus has a capacity of 10Mbps.
  • A shared medium hub has a capacity of up to 10 Mbps, 10 Mbps goes to each node.
  • Layer 2 switches can have Total capacity N x 10 Mbps

Ethernet Transmission

  • In ethernet transmission data copies are going by.
  • Destination and source addresses are included in frame addressing.

Hubs

  • Hubs broadcast on all attached network interfaces but hubs create a collision domain, which can occur when two nodes try to send data simultaneously.
  • In Ethernet, when a computer sends a message to a hub it is then transmitted to all the other computers in the network.

Switches

  • Transmits only to specified network interface.

MAC Addresses

  • MAC Address is the physical Address of Network Interface Card (NIC).
  • MAC Addresses consist of Lowest level addressing with the hardware address
  • MAC Address is a 48-bit address written in hexadecimal notation.
  • The first 24 bits of the MAC Address are the organizational identifier and the next 24 bits are the network interface identifier.

Ethernet Frame (Layer-2 Header)

  • Preamble: 56 Bits
  • SFD to determine the start of the frame
  • Destination Address: 48 bits
  • Source Address: 48 bits
  • Length or Type: 16 bits
  • Data/LLC
  • Header
  • Trailer
  • Ethernet type II frame ( 64 to 1518 bytes)

IEEE 802.3 frame Fields

  • Preamble + SFD:
  • Used for synchronization + Start of Frame Delimiter
  • Destination & Source Addresses:
  • MAC addresses of receiver & sender
  • I/G = Individual/Group Address, LSB of first Octet of address U/L Universal/Local Address, Second to LSB of first Octet
  • Length/Type
  • Length of Frame in bytes
  • Type of next protocol header; e.g. ARP, IP etc
  • Frame Check
  • 32-bit CRC Value, used for error detection

Error Detection with CRC

  • Detects only the environmental/ accidental (random) errors
  • May not detect errors intentionally induced by some attacker
  • When a node detects the collision, it immediatley stops transmitting data and a jamming signal if sent so all other nodes are aware of a collission has accured
  • CSMA Algorithm has many varients
  • Collision Detection (CD), used in Ethernet, 802.3
  • Collision Avoidance (CA) used in WIFI, 802.11

CSMA/CD

  • CSMA/CD is a peer-to-peer protocol
  • Shares a common transmission medium
  • Only one station can emit at a time But which station
  • When a node detects the collision, it immediately stops transmitting and sends a jamming signal
  • It is the message that allows the nodes to be aware of the emergency or collision happening on the network
  • Contention solution

###Delay

  • We need a collision detection mechanism
  • Transmission delay = time to transmit data
  • The propagation delay between them
  • Can still occur in following conditions
  • Nodes should try to emit
  • The medium needs valid voltage

Binary Exponential Backoff(BEB)

  • The algorithm was developed to prevent collisions in the Ethernet network
  • Base of BEB is the contention window
  • Initially contending nodes randomly choose from 2-contention slots
  • Nodes wait for the time equal to the randomly chosen period of contention slots
  • After this random time wait, nodes again come and sense the mediums, and if found they are able to emit
  • If only one node that is shortest, then contention is resolved

###Evolution of Ethernet Ethernet

  • Pioneering work done by Dr Robert Metcalf in 1972, DEC and intel in 1979
  • standard is implement in bus/star topology Fast Ethernet (100Mbps) approved by IEEE in 1995 and is star topology Gigabit Ethernet is (Gbps) 1Gbps stoodized through IEEE in 1998

###Device Differences

  • Layer 3 Router
  • Layer 2 Switch
  • Layer 2 Bridge
  • Layer 1 Hub

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser