0% found this document useful (0 votes)
14 views5 pages

Networking Devices: MAC, IP, and Routers

The document discusses networking devices including MAC addresses, IP addresses, data packets, routers, bridges, and the differences between hubs and switches. MAC addresses uniquely identify devices on a network. IP addresses identify locations on a network and can change. Data is transmitted over networks in packets containing header information. Routers use routing tables to direct packets between networks while bridges connect LANs using the same protocols.

Uploaded by

oliviawanjiku646
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Networking Devices: MAC, IP, and Routers

The document discusses networking devices including MAC addresses, IP addresses, data packets, routers, bridges, and the differences between hubs and switches. MAC addresses uniquely identify devices on a network. IP addresses identify locations on a network and can change. Data is transmitted over networks in packets containing header information. Routers use routing tables to direct packets between networks while bridges connect LANs using the same protocols.

Uploaded by

oliviawanjiku646
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Other Networking devices

[Link] access control (MAC) address


This is a number which uniquely identifies a device when it is connected to a network.

The MAC address is made up of 48 bits which are shown as six groups of hexadecimal
digits with the general format:

a device made by Apple and the second set of six hex digits are the unique serial
number of the device itself. If the NIC card is replaced, the MAC address will also
change.
The MAC address is sometimes referred to as the physical address because it uniquely
identifies a device.
MAC addresses are useful when trying to identify network faults because they never
change, which makes it a more reliable method of identifying data senders and data
receivers on a network
[Link] protocol (IP) address
This is an address that identifies the location of a device on a network.
This is usually assigned to the computer by the internet service provider (ISP).
Unlike the MAC address which remains constant, the IP address changes each time
you log in at different locations.
There are two versions of IP: IPv4 and IPv6. IPv4 is based on 32 bits and the address
is written as four groups of eight bits (shown in denary format); for example:

[Link]

IPv6 uses a 128-bit address, which take the form of eight groups of hex digits; for
example

A8FB:7A88:FFF0:0FFF:3D21:2085:66FB:F0FA

Note the use of colons (:) and hexadecimal numbering. IPv6 has been designed to
allow the internet to grow in terms of the number of hosts and potential increase in
the amount of data traffic.

[Link] packet.

This is a unit of data made into a single package that travels along a given network
path.

Data is moved around networks in the form of data packets. Whenever a user sends
some data, it is split up into a number of packets and each packet is transmitted
separately.
Packets of data will usually have a header which contains:
 the sender’s IP address
 the receiver’s IP address
 the sequence/identity number of the packet (this is to ensure
that all the packets can be reassembled into the correct order
once they reach the destination)
 the packet size (this is to ensure the receiving station can check
if all of the packets have arrived intact)
 how many data packets make up the whole message.

How a data packet is send a long the network

When a router receives a packet of data, it checks the destination IP address against
the stored routing table. This allows the router to determine the packet’s next step in
the path.
A data packet will pass through a number of routers before it reaches its final
destination. All the information in the data packet headers allows the data packets to
be reassembled in their correct order, according to the sequence/identity number, by
the receiving station.

1|Page
Problems associated with hubs
 hubs are not very secure because every device will receive every
data packet
 there will be unnecessary traffic on the network, which results in
reduced bandwidth.

Similarity between a hub and a switch


1. both a hub and a switch are used to connect devices in a LAN
2. both hubs and switches use data packets

Differences between a hub and a switch

1. hubs send data packets to every device on the network; whereas


switches send data packets to a specific device only
2. security is lower with hubs than with switches
3. a switch uses a look-up table to determine the destination device
4. switches use MAC addresses to locate the destination device.

2|Page
How the router works

When a data packet is received at one of its ports, the router inspects the IP address and determines
whether the data packet is meant for its own network or for another, external network.
If the data packet is meant for its own network, then the data packet is routed to the local switch or hub.
If data packet is meant for another network, the data packet is transmitted to a different router (and
therefore to an external network). Routers know where to send data packets by consulting a routing table
(stored on the router’s RAM).

When a data packet reaches a router, it examines the IP address. Because the routing table contains
computer addresses of all the computers/devices on its network, it will be able to work out that the data
packet is intended for a computer on its network.
The diagram below shows the Routing of data from C1 to C10.

 Data packets are sent from C1 to R1.


 R1 checks the IP addresses and notes the data packets are not
intended for any devices on Network 1.
 The data packets are then forwarded onto the internet (R0).
 The IP address (in the header of the data packet) matches that of R4; this
ensures that each data packet is eventually forwarded to R4.
 R4 recognises that the IP address of each data packet refers to Network 4, and
forwards them to S4 which then directs each data packet to C10.

3|Page
Summary the differences between bridges and routers

Router Bridge
The main objective of a router is to The main objective of a bridge is to
connect various types of network connect LANs together
together
Routers scan a device’s IP address Bridges scan a device’s MAC address
Data is sent out using data packets Data is sent out using data packets
Connected networks will use different Connects networks together that use
protocols the same protocols
A routing table is used to direct data Bridges do not make use of routing
packets to the correct device tables
A router has more than two ports A bridge has only two ports

4|Page

Common questions

Powered by AI

A bridge and a router handle data packets differently. A bridge connects two LANs using the same protocol and scans devices' MAC addresses, while a router connects various networks using different protocols, scanning devices' IP addresses. Unlike bridges, routers use routing tables to direct data packets to their correct destination, allowing them to manage more complex traffic and enable communication across different network protocols. These distinctions highlight bridges as simpler tools for connecting similar network segments, whereas routers handle diversified and broader networking tasks .

Routers can connect networks using different protocols, leveraging routing tables to manage data delivery across diverse environments. This enables routers to facilitate communication between networks with varying configurations and requirements. In contrast, bridges connect LANs that use the same protocols, limiting their functionality to simpler, uniform network setups. This key difference underscores the router's versatility in managing heterogeneous network environments, making bridges more suitable for homogenized network segments .

A network engineer would opt for a switch over a hub due to the switch's ability to deliver data to specific devices only, enhancing network security and efficiency. Switches reduce network congestion by directing data to its appropriate recipient, unlike hubs which broadcast data indiscriminately to all connected devices. This targeted delivery minimizes unnecessary data traffic and conserves bandwidth, making switches more suitable for modern networks where performance and security are priorities .

Data packet headers are crucial for ensuring accurate transmission and reassembly of data across networks. They contain important metadata: the sender's and receiver's IP addresses, sequence/identity numbers for correct order reassembly, packet size for integrity checks, and total number of packets making up a message. These details allow routers to correctly forward packets via optimal paths and enable the receiving system to reassemble the packets in the correct sequence, ensuring complete data recovery .

Routers use routing tables stored in their RAM to determine the destination of data packets. When a data packet is received, the router checks the IP address in the packet's header. The routing table contains a list of available destinations and the best route for each. If the packet is destined for the router's own network, it is forwarded to the associated local switch or hub. If the packet is for an external network, the router forwards it to another router. This process ensures efficient data traffic management and correct packet delivery .

MAC addresses are hardware-based identifiers that uniquely identify a device on a network using a 48-bit format presented in six groups of hexadecimal digits. They are constant unless the network interface card (NIC) is replaced. In contrast, IP addresses are software-based and identify a device's location on a network. They can change based on the location and are assigned by an ISP. The distinction lies in MAC addresses being tied to the device, offering consistent identification, whereas IP addresses provide location-specific identification and can vary with network changes .

Unlike hubs, switches do not broadcast data to all devices on a network; instead, they send data packets only to the specific device intended to receive the data using a look-up table and MAC addresses. This targeted approach enhances security by preventing unnecessary exposure of data to all devices, and it improves network efficiency by reducing unnecessary traffic and conserving bandwidth .

Sequence numbers within data packet headers are crucial for maintaining the integrity of data transmission across networks. They enable the receiving system to reassemble packets in the correct order, ensuring that the transmitted message is reconstructed accurately regardless of the order in which packets arrive. This is particularly significant in networks where packets may follow different routes and experience varying delays, ensuring data consistency and reliability .

Using hubs instead of switches can negatively impact network traffic and security. Hubs broadcast incoming data packets to all connected devices, leading to significant unnecessary traffic that reduces available bandwidth and can cause network congestion. This approach also introduces security risks, as sensitive data is exposed to all devices on the network instead of being securely directed to the intended recipient. Such limitations make hubs less favorable in networks that demand high security and efficient data traffic management .

IPv4 addresses are 32-bit numbers presented as four groups of eight bits in decimal format, for example, 254.25.28.77. IPv6 addresses are 128-bit numbers formatted as eight groups of hexadecimal digits, like A8FB:7A88:FFF0:0FFF:3D21:2085:66FB:F0FA, which feature colons and hexadecimal notation. IPv6 was introduced to address the limited address space of IPv4, facilitating a much larger pool of unique addresses to accommodate the growing number of internet-connected devices .

You might also like