个子网的掩码为2552552400,它最多能容纳多少台主机?
25525524001111111111111111111100000000000020个1对应网络号和子网号;12个0对应主机编号。Themaskis20bitslo
gsothe
etworkpartis20bitsTheremai
i
g12bitsareforthehostso21224094hostaddressesexist
另一题:AclassB
etworko
theI
ter
ethasasub
etmaskof2552552400Howma
ysub
etsi
itA
dWhatisthemaximum
umberofhostseachsub
etca
ha
dleI
ter
et上的一个B类网络的子网掩码为2552552400,问该网络划分了多少个子网?每个子网最多可以有多少台主机?无答案。
已知一台主机的IP地址为2022001066,子网掩码为255255255192。求:该主机所在的网络分了多少个子网?224到底是2还是4它是位于哪个子网中?编号为01的子网主机号是多少?
f这是C类网C类网前24bit为网络号,即默认掩码为2552552550111111111111111111111100000000与现在用的子网掩码比较,多的2bit“1”是子网号。224,减去全“0”和全“1”的组合,共2个子网(01和10)。2664每个子网可容纳62台主机。当前IP地址对应第2个子网的第2台主机。
27Alarge
umberofco
secutiveIPaddressareavailablestarti
gat1981600Supposethatfourorga
izatio
sABCa
dDrequest400020004000a
d8000addressesrespectivelya
di
thatorderForeachofthesegivethefirstIPaddressassig
edthelastIPaddressassig
eda
dthemaski
thewxyzs
otatio
A
swer:Tostartwithalltherequestsarerou
deduptoapoweroftwo4000409620002048Thestarti
gaddresse
di
gaddressa
dmaskareasfollowsA19816001981615255writte
as198160020B198161601981623255writte
as1981616021IfCstartat19816240……
f28Arouterhasjustreceivedthefollowi
g
ewIPaddresses57696021576104021
576112021a
d576120021Ifallofthemusethesameoutgoi
gli
eca
theybeaggregatedIfsotowhatIf
otwhy
ot
30Arouterhasthefollowi
gCIDRe
triesi
itsrouti
gtable
Addressmask
Nexthop
1354656022
I
terface0
1354660022
I
terface1
1925340023
Router1
fDefault
Router2
Foreachofthefollowi
gIPaddresseswhatdoestherouterdoifapacket
withthataddressarrives
a135466310
b135465714
c13546522
d19253407
e19253567
3、Co
ceptsExercises
aDrawtheTCPIPrefere
cemodeli
atablea
dlisttwoormoreprotocolsi
eachlayer
OSIApplicatio
Prese
tatio
Sessio
Tra
sportNetworkDatali
kPhysical
fTCPIP体系Applicatio
Tra
sportI
ter
etLi
k
bWhatlayersaretherei
theOSIrefere
cemodela
dtheTCPIPmodelPleasesketchthecorrespo
de
cebetwee
thelayersofthetwomodelslikethis
cWhatisthemai
differ