hello everyone in today's session of ccna series i'll discuss about ipv4 address network and host portion also we'll discuss about subnet mask each network running tcp must have a unique network number and every machine on it must have a unique ip address the bytes of ip addresses are further classified into two parts the network part and the host part the network part specifies the unique number assigned to your network it also identifies the class of the network assigned hostpart is a part of the ip address that you assign to each host it uniquely identifies this machine on your network note that for each host on your network the network part of the address will be same but the host part must be different but how do host know which portion of 32-bit is network and which is host that is the job of the subnet mask in tcp the parts of the ip address that are used as the network and host addresses are not fixed so the network and the host addresses above cannot be determined unless you have more information this information is supplied in another 32-bit number called a subnet mask when an ip host is configured a subnet mask is assigned along with an ip address similar to ipv4 address the subnet mask is represented in dotted decimal format for ease of use like the ip address subnet mask is 32 bits long the subnet mask signifies which part of the ip address is network and which part is host the subnet mask is compared to the iep address from left to right bit by bit the ones in the subnet mask represent the network portion and the zeros represent the host portion note that the subnet mask does not actually contain the network or host portion as an ip address it just tells the computers where to look for these portions in a given ipv4 address let's take an example to determine the network address and the host address of below ib 192.168.123.132 in this example the subnet mask is slash 24 or you can call it as 255 to 55-55.0 so the subnet mask if you convert in binary will be 24 zeros sorry 24 ones and eight zeros lining up the ip address and the subnet mask together the network and the host portion of the address can be separated the first 24 bits the number of the ones in the net mask are identified as the network address with the last eight bits the number of remaining zeros in the subnet mask identified as the host address this gives you the following network address in binary format and the network address in decimal format will be 192 168 123.0 and the host address in binary format will be which if we convert to decimal we will have an host address as 132. so now you know for this from this example slash 24 subnet mask and the network id is 192 168 123.0 and the host address is 132. that's it for this session in my next session i'll discuss about ib address classes thank you for watching please do like share and subscribe thank you