Skip to main content

Subnet Address

More
14 years 11 months ago #33394 by next_virus
Subnet Address was created by next_virus
I have taken following question from a book (CCNA course book). I didn't understand what the question and what will be the answer. Can any one help me understanding the question???

Given a Class B Network with subnet mask of 255.255.248.0 and a packet addressed to 130.40.32.16, what is the subnet address?
More
14 years 11 months ago #33395 by S0lo
Replied by S0lo on topic Re: Subnet Address
The answer should be 130.40.32.0

The subnet address in the IP address with the network address and without host bits. To find it we do an AND operation between the IP address and the subnet mask.

Converting 130.40.32.16 to binary:

10000010.00101000.00100000.00010000

Converting the subnet mask 255.255.248.0 to binary:

11111111.11111111.11111000.00000000

ANDing the two binaries we get:

10000010.00101000.00100000.00000000

Back to decimal we get: 130.40.32.0

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
14 years 11 months ago #33400 by next_virus
Replied by next_virus on topic Re: Subnet Address
Thanks Solo.

The question was so simple and sill I didn't understand it.
Time to create page: 0.123 seconds