You are on page 1of 5

Masks in an IP address

Masks in an IP address
➢ The mask is another 32-bit number that goes along with an @IP

Lucas Bazilio - Udemy


Masks in an IP address
➢ The mask is another 32-bit number that goes along with an @IP

➢ 1 is used in correspondence of the netID and 0 in hostID

Lucas Bazilio - Udemy


Masks in an IP address
➢ The mask is another 32-bit number that goes along with an @IP

➢ 1 is used in correspondence of the netID and 0 in hostID

➢ It is also represented with 4 decimal places separated by a


period or as a single decimal number that represents the
number of 1's in a row.
IP address

Mask

4 decimals separated by a point


A single decimal Lucas Bazilio - Udemy
Masks in an IP address
➢ Examples
○ 202.4.20.171 / 255.255.255.0
○ netID = 202.4.20
○ hostID = 171

○ 147.83.3.4 / 16
○ netID = 147.83
○ hostID = 3.4

○ 71.45.202.127 / 8
○ netID = 71
○ hostID = 45.202.127

○ /8, /16 and /24--> “easy” masks --> the netID/hostID separation falls into a .
Lucas Bazilio - Udemy

You might also like