Академический Документы
Профессиональный Документы
Культура Документы
Ip addressing
classless inter domain routing (CIDR)
• A method for allocating ip address
• The IETF (Internet Engineering Task Force)
introduced in 1993
• To replace the previous addressing
architecture of classful
Internet Engineering Task Force, the main standards organization for the Internet.
That organization defines standard Internet operating protocols such as TCP/IP.
• We knew that this classful ip address c ip
address
• 200.200.200.200 is class c ip address
• So the network part is 24 bit and host part is
8bits
• To represent network address use subnet
mask 255.255.255.0
• If we write it in binary
11111111.11111111.11111111.00000000
• So the method of subnet mask represent in
another way so this representation is called
classless inter domain routing(CIDR) method
• With this ip address 200.200.200.200
• Add slash with (/) and write the number of one
200.200.200.200/24
• or
• followed by a slash character (/), and ending with
the bit-length of the prefix
Basically the method that isps(internet service
provider ) use to allocate an amount of
addresses to a company or home
200 10 20 0
256
224
32
Our block size will be 32
How to put in formula check final
result
Subnet 0 200 10 20 0/27
200 10 20 224/27
Subnet 7
• Our network start from 0 and end in 256 so
total number will be 8 the first 0 and last 256
parts will not use
• So effectively our number of subnet are from
1-6
• Why if you remember the formula 23-2=6>5
requirement is 5 but subnet is 6
Subnet number from 0 to 32 we cant use it in old
system we couldn’t use 0 subnet and new system use
subnet 0 but now we consider it is no use
• Subnet 0 200 10 20 0/27
• Subnet broad
200 10 20 31/27
cast number 0
200 10 20 33/27
200 10 20 62/27
Subnet broad
cast subnet 1 200 10 20 63/27
• We cant use subnet and subnet broad cast
number 32 and 63
200 10 20 32/27
200 10 20 63/27
Subnetting finding host
• How to find host
• Every n/w want 10 hosts in each n/w the
number of host should at least 10 host is
must now subnetting and finding hosts
Formula
Number of subnets 2x-2
Where X=number of bits borrowed
• In c class no of hosts-254
• Number of hosts required- 10 in each subnet
Formula
• Number Of Hosts Required=10
2n-2=> 10
n=4
21-2=> 0
22-2=> 2 Number of 0’s
Rsequired 4
23-2=> 6
24-2=14> 10
200c 10 20 0
n=4
Here is a little bit change
Start from write to left and n=4, Number of 0’s
will write 0000 Required = 4
Once again check table
200c 10 20 0
n=4
/28
Number of 0’s
Required = 4
Now calculate magic number
256
240
16
Our block size will be 16
How to put in formula check final
result
Subnet 0 200 10 20 0/28
200 10 20 112/28
Subnet 7
How to put in formula check final
result
Subnet 8 200 10 20 128/28
200 10 20 240/28
Subnet 15
Subnet number from 0 to 32 we cant use it in old
system we couldn’t use 0 subnet and new system use
subnet 0 but now we consider it is no use
• Subnet 0 200 10 20 0/28
• Subnet broad
200 10 20 15/28
cast number 0
200 10 20 17/28
……
We can use just 17-30 not 16 and 31
200 10 20 30/28
Subnet broad
cast subnet 1 200 10 20 31/28
• The block size for host was 14 so now we see
there 14 hosts available
Check another hosts
• Subnet broad
200 10 20 47/28
cast number 2
200 10 20 49/28
We have 14 addresses we assign 10 and 4 will keep for future
……
We can use just 49-62 not 48 and 63
200 10 20 62/28
Subnet broad
cast subnet 3 200 10 20 63/28