Suppose an ISP has the addres like 101.101.128/17.He want to create 4 subnets.What are the prefix (a.b.c.d/x) for this four subnets?
@izanagi.wielder
wait i will have think
i forgot to mention every block mus be the same number of IP address
101.101.101.64/28 101.101.101.80/28 101.101.101.96/28 101.101.101.112/28
how u get it? izanagi
well my bro is a cs learner i asked him
lol,ask for him how to get the result please
you can contact him later @Ishaan94
ok
thanks
101.101.128.0/19 101.101.160.0/19 101.101.192.0/19 101.101.224.0/19
these are other answers my bro says break it into 4 equal pieces
i do it like this too,but the ans is equal to first form,and i dont know why we use /28 instead /19
to make four subnets i must borrow 2 bits from the host,i think
i am not that deep in it you better contact him
ok thanks izanagi
welcome
You need to convert to binary, each is 8 long in binary so 101.101.128.0/17 converts to: 01100101.01100101.10000000.00000000 The 17 means the 17 first bits will be equal to each adress, this equals to: 01100101.01100101.1 (8+8+1) Now you have 0000000.00000000 to make 4 equal subnets with, 15 bits To get 4 different we need to use 2 bits, 00 / 01 / 10 / 11 This will give us the 4 subnets, now with added 2 bits: 01100101.01100101.100 = 101.101.128.0/19 01100101.01100101.101 = 101.101.160.0/19 01100101.01100101.110 = 101.101.192.0/19 01100101.01100101.111 = 101.101.224.0/19 Hope this helps :)
@SigurdS i thougth samething but the answ in book is: 101.101.101.64/28 101.101.101.80/28 101.101.101.96/28 101.101.101.112/28
I think the book is wrong, ask your professor but those are not the same subnets as the one mentioned in the question, as the extra 101 block will not fall into the 128, (01100101 vs 10000000) Books often do silly mistakes like that! (I am not a 100% expert on subnetting so I might be missing something)
thanks
Join our real-time social learning platform and learn together with your friends!