Docsity

Questions for Computer Network, Exams of Computer Networks

Toggle sidebar
bg1
Module 4 : Network Layer – 2 Marks Q&A
1. State the design issues of the Network Layer.
•Addressing – assigning unique logical (IP) addresses to identify hosts across networks.
•Routing – determining the best path for a packet from source to destination.
•Congestion control – managing traffic load so that intermediate routers/links are not overwhelmed.
•Interconnection of heterogeneous networks – allowing packets to travel across different underlying network
technologies.
•Choice of service – deciding whether to offer connection-oriented or connectionless service to the transport
layer.
2. Define Unicast, Multicast and Broadcast.
•Unicast – communication in which a single packet is sent from one source to exactly one specific destination.
•Multicast – communication in which a single packet is sent from one source to a selected group of
destinations.
•Broadcast – communication in which a single packet is sent from one source to all devices on the network.
3. Compare Unicast and Multicast.
Parameter Unicast Multicast
Destination One specific host. A selected group of hosts.
Bandwidth usage Separate stream needed per receiver. Single stream shared/replicated only where
needed.
Efficiency for group
delivery Inefficient for many receivers. Efficient for delivering to many receivers.
Example Web browsing (client-server request). Video conferencing to a group.
4. Draw a neat diagram of an IPv4 Datagram.
•The IPv4 header (20–60 bytes) contains, in order: Version, HLEN, Type of Service, Total Length,
Identification, Flags, Fragment Offset, Time to Live (TTL), Protocol, Header Checksum, Source Address,
Destination Address, Options (if any), followed by the Data.
•(Refer to the standard IPv4 datagram diagram for the exact field layout.)
5. Draw a neat diagram of an IPv6 Packet Format.
•The IPv6 base header (fixed 40 bytes) contains, in order: Version, Traffic Class, Flow Label, Payload Length,
Next Header, Hop Limit, Source Address (128 bits), Destination Address (128 bits), followed by optional
Extension Headers and the Data.
•(Refer to the standard IPv6 packet diagram for the exact field layout.)
6. Compare IPv4 and IPv6.
Parameter IPv4 IPv6
Address length 32 bits. 128 bits.
Address notation Dotted decimal (e.g. 192.168.1.1). Colon hexadecimal (e.g. 2001:db8::1).
Header Variable length (20–60 bytes) with
checksum. Fixed 40-byte base header, no checksum
field.
Address space About 4.3 billion addresses (limited). Practically unlimited (2^128 addresses).
Security IPSec is optional. IPSec support is built-in/mandatory.
7. Define IPv4 addressing.
•IPv4 addressing is the scheme of assigning a unique 32-bit logical address to each device connected to a
network, used to identify the host and its network for routing purposes.
pf3
pf4

Partial preview of the text

Download Questions for Computer Network and more Exams Computer Networks in PDF only on Docsity!

Module 4 : Network Layer – 2 Marks Q&A

1. State the design issues of the Network Layer.

• Addressing – assigning unique logical (IP) addresses to identify hosts across networks.

• Routing – determining the best path for a packet from source to destination.

• Congestion control – managing traffic load so that intermediate routers/links are not overwhelmed.

• Interconnection of heterogeneous networks – allowing packets to travel across different underlying network

technologies.

• Choice of service – deciding whether to offer connection-oriented or connectionless service to the transport

layer.

2. Define Unicast, Multicast and Broadcast.

• Unicast – communication in which a single packet is sent from one source to exactly one specific destination.

• Multicast – communication in which a single packet is sent from one source to a selected group of

destinations.

• Broadcast – communication in which a single packet is sent from one source to all devices on the network.

3. Compare Unicast and Multicast.

Parameter Unicast Multicast Destination One specific host. A selected group of hosts. Bandwidth usage Separate stream needed per receiver. Single stream shared/replicated only where needed. Efficiency for group delivery

Inefficient for many receivers. Efficient for delivering to many receivers.

Example Web browsing (client-server request). Video conferencing to a group.

4. Draw a neat diagram of an IPv4 Datagram.

• The^ IPv4^ header^ (20–60^ bytes)^ contains,^ in^ order:^ Version,^ HLEN,^ Type^ of^ Service,^ Total^ Length,

Identification, Flags, Fragment Offset, Time to Live (TTL), Protocol, Header Checksum, Source Address, Destination Address, Options (if any), followed by the Data.

• (Refer to the standard IPv4 datagram diagram for the exact field layout.)

5. Draw a neat diagram of an IPv6 Packet Format.

• The IPv6 base header (fixed 40 bytes) contains, in order: Version, Traffic Class, Flow Label, Payload Length,

Next Header, Hop Limit, Source Address (128 bits), Destination Address (128 bits), followed by optional Extension Headers and the Data.

• (Refer to the standard IPv6 packet diagram for the exact field layout.)

6. Compare IPv4 and IPv6.

Parameter IPv4 IPv Address length 32 bits. 128 bits. Address notation Dotted decimal (e.g. 192.168.1.1). Colon hexadecimal (e.g. 2001:db8::1). Header Variable length (20–60 bytes) with checksum.

Fixed 40-byte base header, no checksum field. Address space About 4.3 billion addresses (limited). Practically unlimited (2^128 addresses). Security IPSec is optional. IPSec support is built-in/mandatory.

7. Define IPv4 addressing.

• IPv4 addressing is the scheme of assigning a unique 32-bit logical address to each device connected to a

network, used to identify the host and its network for routing purposes.

8. Differentiate between classful and classless addressing.

Parameter Classful Addressing Classless Addressing Address division Fixed classes (A, B, C, D, E) with fixed boundaries.

Uses CIDR notation with a variable-length prefix (e.g. /24). Flexibility Rigid; wastes addresses if requirement doesn't fit a class.

Flexible; subnet size can match the exact requirement. Address utilization Poor, leads to address wastage. Efficient, reduces address wastage. Routing table size Larger, as aggregation is limited. Smaller, supports route summarization/supernetting.

9. Define subnetting.

  • Subnetting is the process of dividing a single large network into smaller logical sub-networks by borrowing bits from the host portion of the address to create a subnet portion.

10. State the advantages of subnetting.

  • Reduces the size of broadcast domains, improving overall network performance.
  • Improves security by isolating traffic between different subnets.
  • Simplifies network management and troubleshooting.
  • Makes efficient use of the allocated IP address space.

11. Define supernetting.

  • Supernetting is the process of combining several smaller contiguous networks into one larger network by using a shorter subnet mask, so they can be advertised as a single aggregated route.

12. Differentiate between subnetting and supernetting.

Parameter Subnetting Supernetting Direction Divides one large network into smaller networks.

Combines several small networks into one larger network. Prefix length Increases (mask becomes longer, e.g. / to /27).

Decreases (mask becomes shorter, e.g. /24 to /22). Purpose Efficient internal address utilization and broadcast control.

Reduces routing table size via route aggregation. Used by Organizations dividing their own network. ISPs aggregating customer address blocks.

13. Explain transition mechanisms from IPv4 to IPv6.

  • Dual Stack – a device runs both IPv4 and IPv6 protocol stacks simultaneously, using whichever is appropriate for a given communication.
  • Tunnelling – IPv6 packets are encapsulated inside IPv4 packets to travel across an existing IPv4-only network (e.g. 6to4 tunnelling).
  • Header Translation (NAT64/DNS64) – converts IPv6 packet headers to IPv4 and vice versa, allowing IPv6-only and IPv4-only hosts to communicate.

14. List the fields of an IPv4 datagram header.

  • Version, Header Length (HLEN), Type of Service, Total Length, Identification, Flags, Fragment Offset.
  • Time to Live (TTL), Protocol, Header Checksum, Source IP Address, Destination IP Address, Options (optional).

15. List the fields of an IPv6 packet header.

  • Version, Traffic Class, Flow Label, Payload Length.
  • Next Header, Hop Limit, Source Address, Destination Address.

24. Compare ARP and RARP.

Parameter ARP RARP Purpose Finds the MAC address from a known IP address.

Finds the IP address from a known MAC address. Direction IP address to MAC address. MAC address to IP address. Typical use Used by a host to send a frame on the local LAN.

Used by diskless workstations at boot-up.

Server required Not necessarily; owner device itself replies. Requires a RARP server to hold IP-MAC mappings.