Chapter 5 Question Bank ITN6
Chapter 5 Question Bank ITN6
= The LLC is used to communicate with the upper layers of the application and transition the
packet to the lower layers for delivery to the destination node.
4. What are the two primary responsibilities of the Ethernet MAC sublayer?
= - Data encapsulation
The data encapsulation process includes frame assembly before transmission, and
frame disassembly upon reception of a frame. In forming the frame, the MAC layer
adds a header and trailer to the network layer PDU.
= - frame delimiting The framing process provides important delimiters that are used to
identify a group of bits that make up a frame. These delimiting bits provide synchronization
between the transmitting and receiving nodes.
-Addressing The encapsulation process contains the layer 3 PDU and also provides for
data link layer addressing.
- Error detection each frame contains a trailer used to detect any errors in transmissions.
= Placement and removal of frames in the media. Control access to the media.
Communicates directly to physical layer.
7. What is the minimum and maximum frame size as defined by Ethernet II and IEEE 802.3?
= the minimum Ethernet II frame size is 64 bytes and the maximum is 1518 bytes.
= Unique address used when a frame is sent from single transmitting device to single
destination device.
= - a broadcast packet contains a destination IPv4 address that has all ones(1s) in the host
portion. This numbering in the address means that all hosts on that local network(broadcast
domains) will receive and process the packet. Many network protocols, such as dhcp AND
aRP, use broadcasts.
12. What command is used to identify the MAC address of an Ethernet adapter on a
Windows host?
= 1. Command: ipconfig/all
14. What type of address does an Ethernet Switch use to make forwarding decisions?
= MAC address
15. How does a switch dynamically build up MAC address table?
16. Explain what happens if the source MAC address does exist in the table but on a
different port.
17. If the destination IPv4 host is within the local network, the frame will use the MAC
address of this device is used as the destination MAC address. For packets destined for
external networks, which device’s MAC address would be used for the destination MAC
address?
= For the external networks, the MAC address of the router in that particular network will be
used for the packets. While for internal network, the packets will use the MAC address of
the local area router (default getaway).
18. List and explain two forwarding methods for switching data between network ports.
= Store-and-forward switching
Cut-through
- Forward frames before get the entire frame (at least have to read destination
address first before it is forwarded).
= Fast-forward switching:
Fragment-free switching:
- Try to perform small error check to ensure collision will not occur before forwarding the
frame by storing the first 64-bytes on the frame before forwarding because most network
errors nd collisions occurs on the first 64-bytes
- Compromise between store and forward (high latency and integrity) and fast and forward
switching (low latency and intergrity)
20. An Ethernet switch may use a buffering technique to store frames before forwarding
them, describe two memory buffering methods.
- In port-based memory buffering, frames are stored in queues that are linked to
specific incoming and outgoing ports.
2. Shared-Memory Buffering
- the frames in the buffer are linked dynamically to the destination port.
= when one ethernet port operates at full-duplex and the other port operate at half-duplex
this will cause duplex mismatch. This occurs when one or both ports on a link are reset then
the auto-negotiation process does not result in both link partners have the same
configuration. It can also occurs when users reconfigure one side of a link but forgot to
reconfigure others. Both sides should have auto-negotiation on or off.
= The switch feature to detect the type of cable attached to the port and configures the
interfaces accordingly. You can use either crossover or straight-through cable for connections
to copper 10/100/1000 port on switch regardless of the type of device on the other end of
the connection.
23. There are two primary addresses assigned to a device on an Ethernet LAN. List and
describe both.
a. Physical address (MAC address) – used for ethernet NIC to ethernet NIC
communications on the same network
b. Logical address (IP address) – used to send the packet from the original source to
the final destination.
26. When the destination IP address is in an external (or remote) network which device’s
MAC address is used as the destination MAC address?
= default gateway
27. If the destination IP address is known but the destination MAC address is not known,
how does a host determine what is the destination MAC address?
= By sending arp request. Firstly, the source will check its arp cache and if there is no
information about the mac address of destination device it will send an arp request which is
a broadcast address (all device in network must receive and process the frames). Then all
device compares their ip address with the destination ip address. The one with matching ip
address will send arp reply with its mac address
28. What are the two basic function of ARP (Address Resolution Protocol)?
29. What command is used to display the ARP table on a Cisco router or Switch?
= ip arp
30. What command is used to display the ARP table on a Windows PC?
= arp -a
= technique used by attacker to reply to an ARP request for an IPv4 address belonging to
another device such as default getaway. Attacker sends ARP reply with its own mac address
and because of this, the receiver will add the wrong mac address to arp table and send
packets to the attacker.