InClassActivity26-sol

# InClassActivity26-sol - Activity #26 (Solution) 4/29/2003...

This preview shows pages 1–2. Sign up to view the full content.

ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 2 Activity #26 (Solution) 4/29/2003 4:06 PM Activity 26.1 Network Addresses 1. (28 Points) A host has an IP address of 125.15.1.7 and a subnet mask of 255.255.0.0. Answer (a) through (d). (a) What network class does this IP address belong to? Since it starts with 125, it must be a Class A network. (b) What is the network ID of this host? Since it is a class A network, the first 8 bits represent net_id. So the netid is 125 (c) What is the subnet ID of this host? (The subnet ID includes the network ID as well). The subnet mask is 255.255.0.0 which says that the high-order 16 bits (i.e. the bit positions which are set to 1) represent the subnet id. Thus 125.015 is the subnet id of this host. (d) What is the host ID? If the first 16 bits represent the subnet id, then the rest (i.e. the remaining 16 bits) represent the host id. Thus 1.7 is the host id. 0111 1101 0000 1111 0000 0001 0000 0111 IP address (32 bits) 125 15 1 7 1111 1111 1111 1111 0000 0000 0000 0000 subnet mask (32 bits, 16 1's) 0111 1101 | 0000 1111 | 0000 0001 0000 0111 partitioned IP address 125 net id (8 bits) 125 213 subnet id

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/25/2010 for the course ECSE ecse-2340 taught by Professor Wozny during the Spring '09 term at Rensselaer Polytechnic Institute.

### Page1 / 2

InClassActivity26-sol - Activity #26 (Solution) 4/29/2003...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online