Вы находитесь на странице: 1из 2

Classless inter domain hosting?

CIDR

Subnet To identify the class of IP address


2^0=1
2^1=2
2^2=4
2^3=8
2^4=16
2^5=32
2^6=64
2^7=128
Performance(Manage user's performance)
Control security

How many hosts can you set up in classB network?


Ans:65k

Given this network,how many subnets can you have?


11111111.11111111.11111111.10000000
How many subnets?
2^1(How many 1s)=2

How manyhosts per subnet?


2^7(How many 0s)=(128)-2 =126 hosts
Subnet1(IICS) Subnet2(Laureate)
SubnetID 0 128
First host 1 129
Last host 126 254
Broadcast ID 127 255

Lets take 202.185.174.0 as a network address and 255.255.255.192(/26 as subnet


mask) This means for all 4 parts there are 26 1s.
11111111.11111111.11111111.11000000
How many subnets?
2^2(How many 1s)=4 [since exam's are about class C only, the first 3
parts are ignored.How many 1 in part 4?]

How manyhosts per subnet?


2^6(How many 0s)=(64)-2 =62 hosts
Subnet1 Subnet2 Subnet3
Subnet4
SubnetID 202.185.174.0 202.185.174.64 202.185.174.128
202.185.174.192
First host 202.185.174.1 202.185.174.65 202.185.174.129
202.185.174.193
Last host 202.185.174.62 202.185.174.126 202.185.174.190
202.185.174.254
Broadcast ID 202.185.174.63 202.185.174.127 202.185.174.191
202.185.174.255

SubnetA:
IP:202.185.174.1
SubnetMask:255.255.255.192
Default Gateway:202.185.174.63

SubnetB
IP:202.185.174.65
SubnetMask:255.255.255.192
Default Gateway:202.185.174.127

Every subnet has an entry and exit point.


SubnetID-Entry
BroadcastID-Exit point

A company requires you to set up 10 subnets and they use a standard classC with
network ID200.168.99.x.Generate a subnet table.
11111111.11111111.11111111.11110000(/28)
255.255.255.240
Subnets:2^4=16
Hosts:2^4=(16)-2=14
Subnet1 Subnet2 Subnet3
Subnet4 Subnet5- Until 16subnet

SubnetID 200.168.99.0 200.168.99.16 200.168.99.32


200.168.99.48 200.168.99.64
First host 200.168.99.1 200.168.99.17 200.168.99.33
200.168.99.49 200.168.99.65
Last host 200.168.99.14 200.168.99.30 200.168.99.46
200.168.99.62 200.168.99.78
Broadcast ID 200.168.99.15 200.168.99.31 200.168.99.47
200.168.99.63 200.168.99.79

Why Inti select class A for internal network?


Because Inti have 6000++ students.

What class of IP should INTI use for their public servers>


Class C because there are about 100 switches,routers,and switches.

At INTI what is private and public address?


For LAN, Inti uses classA private IP.
For Internet servers,Inti uses class C pubilc servers.

Default subnet mask for


NetworkID HostID
Class A 10.1.1.1/255.0.0.0 8 24
Class B 128.65.2.5/255.255.0.0 16 16
Class C 192.168.1.5/255.255.255.0 24 8

How many hosts in class C network?


2^8=256(-2,1 for subnet, 1 for broadcast)?

Вам также может понравиться