home       basis       routing       switching       advanced       security       overig       testen       english      

ipv4 exercices (part 1)

Calculate the following ipv4-configurations, given ip-address and netmask,

  • the net-ID
  • the broadcast address
  • CIDR-notation and decimal notation of the netmask
  • maximum possible hosts in this network ...
     
    a. 192.168.11.201 netmask 255.255.255.0
     
    classfull1

    howto

  • write ip-addres as binary
  • write netmask as binary
  • replace by zeroes at the right side of the red line
  • write net-ID in decimal
  • replace the zeroes behind the red line by ones
  • write your broadcast in decimal
  • you have 8 bits for the hosts
  • calculate the power of 2 for the amount of hosts (32 -24 = 8 [->] 2power8 - 2 = 254 )
     

    b. 172.16.23.14 mask 255.255.0.0
     

    classfull2
  • same points as for exercise a:
  • find net-ID
  • find net-BC
  • find max hosts for the net
     

    hereunder you'll find 6 more exercices ...

    c. 12.13.14.15 netmask 255.0.0.0
    d. 192.168.5.6/24
    e. 145.23.48.256 netmask 255.255.0.0
    f. 172.17.18.123/16
    g. 220.219.218.217 netmask 255.255.255.0
    h. 89.56.23.14 mask 255.0.0.0

    ipv4 exercices (part 2)

    Calculate the following ipv4-configurations, given ip-address and netmask,

  • the net-ID
  • the broadcast address
  • CIDR-notation and decimal notation of the netmask
  • maximum possible hosts in this network ...

     
    a. 10.0.16.153 mask 255.255.255.240 (this is classless - cutting a decimal)
     
    classless1

    max hosts: power is: 32 - 28 = 4 -->> max hosts is 2 power 4 - 2 = 14
     
    b. 31.27.132.183/27
     

    classless2

     
    netmask decimal: 255.255.255.224
    max hosts: power is 32 - 27 = 5 -->> max hosts is 2 power 5 - 2 = 30


    c.   212.113.14.215 mask 255.255.255.248
    d.   192.168.15.66/25
    e.   148.149.24.56 mask 255.255.255.252
    f.   172.17.18.123/29
    g.   220.219.218.217 mask 255.255.255.254
    h.   189.65.82.11 mask 255.255.255.240