IT2050 Computer Networks - Lecture 2 IP Addressing
37 Questions
0 Views

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

What is the maximum value of a byte in decimal format?

  • 256
  • 128
  • 512
  • 255 (correct)
  • Which class of IP addresses is reserved for experimental purposes?

  • Class E (correct)
  • Class D
  • Class C
  • Class B
  • What portion of an IP address does the Network ID define?

  • Only the first byte
  • The entire IP address
  • The part of the address that identifies the network (correct)
  • The specific host within the network
  • In a Class A IP address, how many bytes are allocated for the Host ID?

    <p>3 Bytes</p> Signup and view all the answers

    Which binary prefix denotes a Class D IP address?

    <p>1110</p> Signup and view all the answers

    What is the primary function of a MAC address?

    <p>Identify a computer on a network</p> Signup and view all the answers

    Which layer of the OSI model does a MAC address operate at?

    <p>Data Link Layer</p> Signup and view all the answers

    What distinguishes an IP address from a MAC address?

    <p>IP addresses operate at a higher layer than MAC addresses</p> Signup and view all the answers

    How is an IPv4 address structured?

    <p>Four 8-bit groups separated by dots</p> Signup and view all the answers

    Why is it not advisable to use any IP address in a network that is not currently connected to the Internet?

    <p>To prevent potential conflicts if the network connects to the Internet later.</p> Signup and view all the answers

    What is the bit length of an IPv4 address?

    <p>32 bits</p> Signup and view all the answers

    Which of the following IP address ranges is designated for private use in Class C?

    <p>192.168.0.0 to 192.168.255.0</p> Signup and view all the answers

    Which of the following is true regarding IPv6 addresses?

    <p>They are 128 bits long</p> Signup and view all the answers

    What is the purpose of a logical address in a networking context?

    <p>To uniquely identify devices across different networks</p> Signup and view all the answers

    What does the loopback address 127.0.0.1 refer to?

    <p>The local host for testing and troubleshooting.</p> Signup and view all the answers

    In classful addressing, how many networks are available in Class A private address space?

    <p>1</p> Signup and view all the answers

    Which of the following describes a characteristic of a MAC address?

    <p>It is a hardware setting provided by the manufacturer</p> Signup and view all the answers

    What does a direct broadcast address signify?

    <p>All hosts on a specific network segment.</p> Signup and view all the answers

    Which of the following is a key benefit of subnetting a given network?

    <p>Improves network efficiency and management.</p> Signup and view all the answers

    What is the purpose of IANA reserving certain IP address ranges?

    <p>To enable private networks to use these addresses without permission.</p> Signup and view all the answers

    If given a network address of 150.100.0.0 /16, how can you divide it into three separate networks?

    <p>By subnetting the address into smaller segments.</p> Signup and view all the answers

    What is the required subnet prefix length for an organization needing 4 subnets from the block 130.34.12.64/26?

    <p>/28</p> Signup and view all the answers

    How many addresses are available in the block starting at 14.24.74.0/24?

    <p>256</p> Signup and view all the answers

    What distinguishes Variable Length Subnet Masking (VLSM) from Class-full routing?

    <p>It enables more efficient use of IP addresses.</p> Signup and view all the answers

    What is the benefit of using Classless routing over Class-full routing?

    <p>It allows for subnetting a subnet.</p> Signup and view all the answers

    If an organization requires 2 subnets with 64 addresses each, what subnet prefix should be used?

    <p>/26</p> Signup and view all the answers

    Why would an organization use VLSM?

    <p>To better allocate IP addresses based on departmental needs.</p> Signup and view all the answers

    What is the formula to calculate the number of addresses available based on the prefix length?

    <p>$2^{(32 - prefix)}$</p> Signup and view all the answers

    In the given address block, how many 4-address subnets can be created from 14.24.74.0/24?

    <p>64</p> Signup and view all the answers

    What are the three parts into which an IP address is divided?

    <p>Network ID, Subnet ID, Host ID</p> Signup and view all the answers

    What does the subnet mask '255.255.192.0' represent in binary?

    <p>11111111.11111111.11000000.00000000</p> Signup and view all the answers

    Which of the following addresses would be classified as Subnet 1?

    <p>150.100.64.0</p> Signup and view all the answers

    How is classless addressing indicated for IP addresses?

    <p>With a '/' symbol</p> Signup and view all the answers

    What characterizes the most significant bits allocated in subnetting?

    <p>They are utilized for the Subnet ID.</p> Signup and view all the answers

    Which of the following correctly describes 150.100.64.1?

    <p>It belongs to Network ID 150.100.</p> Signup and view all the answers

    How many subnets can be created with a /18 subnet mask from a /16 network?

    <p>4 subnets</p> Signup and view all the answers

    What is the host address range for Subnet 1 (150.100.64.0 /18)?

    <p>150.100.64.1 - 150.100.64.63</p> Signup and view all the answers

    Study Notes

    TCP/IP Addressing

    • Addressing in TCP/IP involves three types: Physical, Logical, and Port addresses.
    • MAC Address is the physical address, set by the manufacturer, 48 bits in length, typically written in hexadecimal format.
    • IP Address serves as the logical address, necessary for identifying devices on a network.

    Physical Addresses

    • Stored in Network Interface Cards (NIC), fixed and unchangeable.
    • MAC addresses follow the Data Link Layer standard and are essential for Ethernet networking.

    Logical Addresses

    • IP Addresses exemplify logical addressing, extensively used with the TCP/IP protocol.
    • Two IP versions exist:
      • IPv4 uses a 32-bit addressing scheme (e.g., 192.168.16.53).
      • IPv6 employs a 128-bit addressing scheme.

    IP Version 4 (IPv4)

    • Composed of four octets (bytes), each byte ranging from 0 to 255.
    • The minimum IPv4 address is 0.0.0.0, and the maximum is 255.255.255.255.

    Network ID and Host ID

    • An IP address comprises Network ID plus Host ID.
    • Class A (1 byte Net ID, 3 bytes Host ID), Class B (2 bytes Net ID, 2 bytes Host ID), Class C (3 bytes Net ID, 1 byte Host ID).

    IPv4 Address Classes

    • Class D is designated for multicasting, while Class E is reserved for experimental purposes.
    • Private IP address ranges include:
      • Class A: 10.0.0.0
      • Class B: 172.16.0.0 to 172.31.0.0
      • Class C: 192.168.0.0 to 192.168.255.0

    Special IP Addresses

    • Network Address: Designates the entire network, all host bits are 0.
    • Direct Broadcast Address: Targets all hosts within a specific network, all host bits are 1.
    • Loopback Address: Standard loopback address is 127.0.0.1 for testing.

    Classful Addressing

    • Traditional addressing method where each class has a fixed size subnet mask.

    Subnetting and Classless Addressing

    • Subnetting divides a single network into multiple subnets, enhancing efficiency.
    • Classless Addressing uses CIDR (Classless Inter-Domain Routing) and specifies variable-length subnet masking.
    • Example: For network 150.100.0.0/16, subnetting can create multiple subnets using bits from the host portion for subnetting.

    Variable Length Subnet Masking (VLSM)

    • Allows different subnets within the same network to have varying subnet masks.
    • More efficient for organizations with unequal device counts in different subnets.

    Example of Subnetting

    • Block 130.34.12.64/26 can be subdivided into multiple smaller subnets using VLSM.

    The Need for Multiple Subnets

    • An organization can require different subnet sizes for specific needs. For instance:
      • 2 subnets with 64 addresses
      • 3 subnets with 16 addresses
      • Total subnets can exceed original class capacity through effective subnetting strategy.

    Summary

    • Understanding TCP/IP addressing is crucial for network configuration and management.
    • Differentiation between MAC (physical) and IP (logical) addresses is essential.
    • IPv4 remains a widely utilized version while transitioning to IPv6 is underway.
    • Subnetting techniques like VLSM improve address efficiency and network flexibility.

    Studying That Suits You

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

    Quiz Team

    Related Documents

    CN Lec2.pdf

    Description

    This quiz covers Lecture 2 of IT2050 on Computer Networks, focusing on IP Addressing. It delves into different types of addresses including physical, logical, and port addressing, essential for understanding TCP/IP protocols.

    More Like This

    Network Protocols and IP Addressing Quiz
    5 questions
    Internet & HTTP Basics
    34 questions

    Internet & HTTP Basics

    EasygoingDialect5934 avatar
    EasygoingDialect5934
    Use Quizgecko on...
    Browser
    Browser