ITNET02 Reviewer Module7 9
ITNET02 Reviewer Module7 9
• Definition: The process of wrapping data with the necessary protocol information before
transmission.
• De-encapsulation: The process of unwrapping the message at the receiving end (taking
the letter out of the envelope).
• Purpose: Defines how data is packaged for transmission over Ethernet networks.
o Start Frame Delimiter (SFD): Marks the start of the actual frame data.
o Length/Type Field: Indicates either the length of the payload or the type of
protocol used (like IPv4, IPv6).
o Frame Check Sequence (FCS): Used for error detection (checks if data was
corrupted during transmission).
• Connection: Each host connects to an access layer device using an Ethernet cable.
Ethernet Switches
• Function:
• Learning: Dynamically learns MAC addresses by reading the source address of incoming
frames.
• Performance:
• It must be:
Where is it Assigned?
• Devices like:
o Workstations
o Network printers
o IP phones
• Routers also have IPv4 addresses for each of their interfaces.
• This ensures:
• Grouped into octets: The 32 bits are split into 4 octets, with each octet being 8 bits long.
o Example: 11010001.10100101.11001000.00000001
• IPv4 addresses are 32 bits long, grouped into 4 octets (8 bits each).
2. Host portion: Identifies the specific host (device) within that network.
• Subnet Mask: Defines the boundary between the network and host portions.
o Example: [Link] means the first 3 octets represent the network, and the
last octet represents the host.
Example Breakdown:
So, the network address is [Link] (network), and the host on this network has the address
11.
o Routers only need to know how to reach the network—not each individual host.
o This makes routing more efficient because the router handles data based on the
network portion.
• Multiple logical networks can share the same physical network if they have different
network portions.
o Hosts on the same network portion (e.g., 192.168.5.x) can communicate directly.
• Telephone Hierarchy:
Just like with IP addresses, a call can be routed based on the network (country/area/exchange
codes), and the final number identifies the specific person (host) within that network.
Key Takeaways:
• IPv4 Address: A 32-bit address split into network and host portions.
• Subnet Mask: Defines how much of the address is the network portion.
Unicast Transmission
• Key Characteristics:
o A unicast packet has a destination IP address that is specifically for one device.
o The source IP is also a unicast address, meaning it’s coming from one specific
source.
• Key Characteristics:
o The destination IP address in a broadcast packet has all ones (1s) in the host
portion (i.e., [Link]).
• Types of Broadcasts:
1. Directed Broadcast: Sent to all hosts on a specific network. For example, [Link]
might broadcast to all devices in the 192.168.1.x network.
2. Limited Broadcast: Sent to [Link] and targets all devices within a local
network or subnet. Routers typically do not forward broadcast packets to other networks.
• Example: A device sending a message to all devices on a local network (e.g., ARP
requests).
Multicast Transmission
• Key Characteristics:
o This reduces network traffic because a single message is sent to all group
members without being broadcast to everyone on the network.
Transmission
Communication Type Destination Address Example
Type
Sending a message to a
Unicast One-to-One Specific IP (e.g., [Link])
specific server
Video streaming to
One-to-Many / Many- Reserved range ([Link] -
Multicast multiple devices in a
to-Many [Link])
group
• Routing: Public IPv4 addresses are routed between ISP routers and must be unique to
ensure they can be reached globally.
• Purpose: Often assigned to internal hosts, such as computers, printers, and routers,
within a private network.
3. Loopback Addresses
o Example: ping [Link] checks if the TCP/IP stack is working on the device.
4. Link-Local Addresses
• Range: [Link]/16.
o Example: When a Windows device cannot reach a DHCP server, it assigns itself
an IP like [Link].
In 1981, IPv4 addressing was based on classful addressing. The classes were designed to
support different types and sizes of networks.
IPv4 Classes:
1. Class A ([Link] to [Link]):
o Experimental Addressing: Reserved for research and future use, not used for
public or private addressing.
• RIRs (Regional Internet Registries): Allocate IP address blocks from IANA to ISPs and
organizations.
• Private IPs: Used for internal networks; require NAT to communicate on the internet.
• Function: ARP helps devices on an Ethernet LAN map IPv4 addresses to MAC addresses
(Layer 2 addresses).
• How it Works:
1. When a device wants to send data to another device on the same network, it
first needs to know the destination's MAC address.
2. If it doesn't already know the MAC address, it sends an ARP broadcast to all
devices in the local network.
3. The device with the matching IPv4 address responds with its MAC address.
4. This process allows the source device to send data to the correct MAC address.
Broadcasts in Ethernet
• Propagation: Ethernet switches forward broadcasts out all interfaces except the one on
which they were received. This means every device connected to the network (within
the same broadcast domain) will process the broadcast.
• Examples:
• A broadcast domain is a network segment where broadcasts can reach all devices.
• Problem: When there are many hosts in a large broadcast domain, the volume of
broadcasts can become excessive, leading to:
o Network congestion.
o Performance degradation.
Solution: Subnetting
What is Subnetting?
• Subnetting involves dividing a large network (broadcast domain) into smaller subnets.
• Each subnet has a smaller range of IP addresses and can be isolated from others to
reduce unnecessary broadcast traffic.
• Subnetting involves borrowing bits from the host portion of the IP address to create
additional network bits.
Benefits of Subnetting:
1. Reduced Broadcast Traffic: By dividing a large network into smaller subnets, broadcast
traffic is confined to that subnet, reducing network congestion and improving
performance.
2. Better Network Performance: Smaller broadcast domains mean fewer devices are
affected by broadcasts and other network traffic.
3. Improved Security: Administrators can apply more granular security policies for
different subnets. For example, one subnet might be allowed to access a specific server,
while another subnet is restricted.
Subnetting Example:
• The default subnet mask is [Link], which allows for 254 host addresses.
• If you split this network into two smaller subnets using [Link] (subnet mask),
you get:
Now, broadcast traffic from [Link] will only affect devices in Subnet 1, not those in
Subnet 2.
Conclusion:
• Broadcasts and ARP are crucial for device discovery in Ethernet LANs.
• Large broadcast domains can create network performance issues, which can be
mitigated by subnetting.
• Subnetting reduces broadcast traffic, improves security, and provides better network
management by creating smaller, more manageable subnets.