week 8 Flashcards
what is the formula to calculate no of host s
2^host bits - 2
what does subnet mask/prefix determine
size of the subnet
how many ways can a host communicate in ipv4 network
3 ways
unicast
multicast
broadcast
what is unicast
it is the process of sending packets from 1 host to an individual host
what is broadcast
it is the process of sending a packet from 1 host to all hosts in the network
routers do not forward a __________-
limited broadcast
what is multicast
the process of sending a packet from one host to a group of hosts in the network which subscribes to a special range of addresses known as multicast address
what are private ip address blocks
hosts that do not require direct access to the internet can use private addresses
examples of private ip
- 10.0.0.0 to 10.255.255.255 (10.0.0.0/8)
- 172.16.0.0 to 172.31.255.255 (172.16.0.0/12)
- 192.168.0.0 to 192.168.255.255 (192.168.0.0/16)
what are public ip blocks
most of the addresses which are publicly accessible from the internet
some addresses are set aside for special purposes
what are the different types of special IPv4 addresses
network and broadcast address - first and last addresses within a network
loopback address - 127.0.0.1 is a special address that hosts use to direct traffic to themselves (addresses 127.0.0.1 and 127.255.255.255)
link local address - 169.254.0.0 to 169.254.255.255 are automatically assigned to local host
TEST-net address - 192.0.2.0 to 192.0.2.255 are set aside for teaching and learning purposes, used in documentation and network examples
Experimental addresses - 240.0.0.0 to 255.255.255.254 are listed as reserved
what is class A address
- -> uses a prefix of /8
- -> most significant bit of a higher order octet is a 0 ([0]0000000 - [0]1111111)
- -> this means that there are only 128 possible class A networks
what is a class B address
- -> uses a fixed /16 prefix
- -> the most significant bits of the higher order octet is 10 ([10]000000 - [10]111111)
- -> The address block for class B is 128.0.0.0/16 to 192.255.0.0/16
What is a class C address
- -> uses a /24 prefix
- -> it uses only the last octet as host addresses with the three high order octets used for the network address
- ->The most significant 3 bits of the higher order octet is 110 ([110]00000 - [110]111111)
- -> The address block is 192.0.0.0/24 to 223.255.255.0/24
what are the problems with legacy classful addressing
- -> there are not more than 128 class A blocks, 16384 class B blocks and 2,097,150 Class C blocks
- -> Insufficient for the modern world
- -> A company that needs 260 addresses will be assigned class B block which will lead to wastage of many addresses