Wednesday, 23 December 2015

IP address and their classes
  ip address version 4 is the 32 bit numbers. which is known as the logical address of any computer. if we want to connect the computer in the network or internet then we should have any unique ip address. ip address  is binary number but to remember this ip address we convert them in to the decimal number. 32 bit ip address is devided in to four part.(8*4=32). each part are separated by the dots. each part is known by octal. ip addresses are devided in to the 5 classes they are A,B,C,D,E. consider the following image to learn the format and range of each class.
-----------------------------------------------------------------------------------
what is casting ...????
in the computer network data sharing is the main aim. so casting is the process of data sharing.

type of casting 
we will discuss mainly two casting 
1.multicast    (sharing data with some computer)
2. broadcast  (sharing data with all computer)
   1.limited broadcast
   2. directed broadcast

1. multicast
   multicast means one computer share the data with many computers but not with the all the computer in the network
2.broadcast 
  broadcast means one computer share the data with the all computer in the given network then is is said to be limited broadcast and if the given computer is share data with the directed
network's all computer then is is said to be directed broadcast.    


Network Id   
  network id represent the given network. in the network id all host bits are consider as 0 . suppose one pc has the ip address 192.168.10.67 this is the class c ip address then first 24 bits are network bits and the 8 bits are host bit. then we should zero all the host bits the the given address will become 192.168.10.0 this is the network id for the given pc . thus we can tell that given pc is belongs from the 192.168.10.0 network

Broadcast Id
   broadcast means share data with the all computers. suppose our network id is 192.168.10.0 and one host address is 192.168.10.67. which want to share data with the all the computer then it should use the broadcast id.
   but now, still question is that which address should host use to share data with all other host. now give attension .............
  we want to share data with every host then we will make all the host bit = 1 now for the  given network broadcast id will be 192.168.10.255. (because all 8 host bits = 1 then it will 255 in decimal number) with the given broad cast id we can share the data in the same network then it said to be limited broadcast id.
   
directed broadcast id
   now pay attention. one pc 192.168.10.67 want to share data with the computer placed in other network 192.168.20.0  then what will be directed broadcst id ......?????
       ans is 192.168.20.255 (all host bits of the other network will be one)

-----------------------------------------------------------------------------------------------------------------------------
what is subnet...??
subnet is nothing but the part of the given network. if we want to devide the given network then we should use the given concept subnet.

why need of subnet...??
suppose we are network administrator at any big company where  many department are exist. but we want to devide the network by the department . then we should use this. this is useful then the one  department can't access any other department without permission.
this permission can be given by router  by using acl or any other
technology.

how to implement..???
to implement the subnet we should use the host bits. if we use 1 host bit then we can devide the given network in to 21 = 2 parts.if we use the 2 host bits then we can devide the given network into
22 = 4 parts. 

now consider the following image and try to learn how to implement subnet