Presentation is loading. Please wait.

Presentation is loading. Please wait.

IP addressing.

Similar presentations


Presentation on theme: "IP addressing."— Presentation transcript:

1 IP addressing

2 Table of classes A B C D E No of Hosts Per network No of Networks
Host ID Net ID Value of w Class 16,777,214 126 X.Y.Z W 1-126 A 65534 16,384 Y.Z W.X B 254 2,097,152 Z W.X.Y C N/A Reserved for Multicast D Reserved for Experiment E

3 Example IP Address = 192.168.1.12/24(default class C) IP Address 192
Network ID 192 168 1 Host ID 12

4

5 Broadcast Address All Bite in Host Portion is 1
Example 1 : Network ID 192 168 1 Broadcast ad 192 168 1 Broadcast ad 255

6 What is Broadcast Address of
? ?

7 First Address & Last Address
Network Address = Network ID 192 168 1 First IP Add 192 168 1 Last IP add

8 What is first and last IP address?
? ?

9 Network Address , First IP Address , Last IP Address , Broadcast Address of :
? ? ?

10 Subnet Addressing All bits that correspond to the network ID are set to 1. All bits that correspond to the host ID are set to 0

11 Default Subnet mask Subnet mask 255 Subnet mask 255 255 Subnet mask 255 255 255

12 Prefix Subnet Mask Class /8 A /16 B /24 C 255.0.0.0 255.255.0.0
C

13 Private Addresses Address Range Class 10.0.0.0 – 10.255.255.255 A
B C These addresses can be used on a private network. they’re not routable through the Internet.

14 Count of hosts in class A
Subnet mask Count of hosts = ( 2 ^m ) m: count of 0 ( zero) Count of hosts = ( 2 ^24 ) - 2

15 Count of hosts in class B
Subnet mask Count of hosts = ( 2 ^m ) m: count of 0 ( zero) Count of hosts = ( 2 ^16 ) - 2

16 Count of hosts in class C
Subnet mask Count of hosts = ( 2 ^m ) m: count of 0 ( zero) Count of hosts = ( 2 ^8 ) – 2 = 254

17 Subneting

18 Addressing without Subnets
…... Network

19 Addressing with Subnets
Network

20 Question You should divide network to 2 different networks. What is solution ?

21 Two way for calculate subnetting
Binary Method Fast Way Method

22 Binary Method

23 divide network 192.128.129.0 to 2 networks
172 128 129 Network ID Default mask Subnet Host Network ID Default mask Subnet mask = ( /25 )

24 divide network 192.128.129.0 to 2 networks
Subnet mask is : ( / 25) Network ID 1 If subnet is then Network ID : First valid host : Last valid host : Broadcast address : If subnet is then Network ID : First valid host : Last valid host : Broadcast address :

25 In this example what is Network ID, First IP Address, Last IP Address, Broadcast Address ?

26 Subnetting in Class C One bit can not be use for host

27 Subnetting in Class B

28 Subnetting in Class A

29 Fast Method

30 Computing Usable Subnetworks & hosts
Number of host address = 2^m (where m is the number of host bits) Number of subnets = 2^n (where n is the number of subnet bits) Increment of subnets = 2^p m Example : n p Class B: Network Host Subnet Count of hosts = (2^ 10) - 2=1022 Count of subnetwork = (2^ 6) - 2=62 Increment = 2 ^ 2 = 4

31 Computing Usable Subnetworks & hosts
Number of host address = 2^m (where m is the number of host bits) Number of subnets = 2^n (where n is the number of subnet bits) Increment of subnets = 2^p Example : n M , P Class C: Network Subnet Host Count of hosts = (2^ 6) - 2=62 Count of subnet = (2^ 2) - 2=2 Increment = 2 ^ 6 = 64

32 Example 1

33 Example 1 Network =200.10.57.0 subnetmask =255.255.255.224
What is subnetworks? What is range of possible address? What is broad cast address per subnetwork?

34 Example 1 (continue) Network =200.10.57.0 subnetmask =255.255.255.224
Subnet Host Network Count of hosts = (2^ 5) - 2=30 Count of subnetwork = (2^ 3) - 2=6 Increment = 2^ 5 = 32

35 range of possible address
Example 1 (continue) broadcast address range of possible address subnetwork address subnet no subnet 0 subnet 1 subnet 2 subnet 3 subnet 4 subnet 5 subnet 6 subnet 7

36 What is Subnet addresses First valid IP Address Last valid IP Address
Broadcast Address For Network address: Subnet mask :

37 What is Subnet addresses First valid IP Address Last valid IP Address
Broadcast Address For Network address: Subnet mask :

38 What is Subnet addresses First valid IP Address Last valid IP Address
Broadcast Address For Network address: Subnet mask :

39 What is Subnet addresses First valid IP Address Last valid IP Address
Broadcast Address For Network address: Subnet mask :

40 What is Subnet addresses First valid IP Address Last valid IP Address
Broadcast Address For Network address: Subnet mask :

41 How calculate Network ID, First IP Address, Last IP Address, Broadcast Address of IP Classless?

42 Example 1 172 16 2 160 Host 1 Mask Subnet 4 Broadcast First Last

43 Example 1 172 16 2 160 Host 1 Mask 2 Subnet Broadcast First Last

44 Example 1 172 16 2 160 3 Host 1 Mask 2 Subnet Broadcast First Last 7

45 Example 1 172 16 2 160 3 Host 1 Mask 2 Subnet 4 Broadcast First Last

46 Example 1 172 16 2 160 3 Host 1 Mask 2 Subnet 4 Broadcast 5 First 6 Last

47 Example 1 172 16 2 160 3 Host 1 Mask 2 Subnet 4 Broadcast 5 First 6 Last

48 Example 1 172 16 2 160 3 Host 1 Mask 2 Subnet 4 Broadcast 5 First 6 Last 7

49 Example 1 172 16 2 160 3 Host 1 Mask 2 8 Subnet 4 Broadcast 5 First 6 Last 7

50 Example 1 IP Address: 172 16 2 160 3 Host 1 Mask 2 9 8 Subnet 4 Broadcast 5 First 6 Last 7

51 Example 2 IP Address = 92.85.10.86 /10 What is subnet mask?
What is Network number? What is broadcast address? = 64 Network number = = 172 Broad cast address = First Valid IP address = Last Valid IP address =

52 Question in class IP Address = 192.168.15.19 /28
What is subnet mask? What is Network number? What is broadcast address? What is First Valid IP address ? What is Last Valid IP address ?


Download ppt "IP addressing."

Similar presentations


Ads by Google