Question

You are to create 17 subnets on a class B network with the IP address: 172.20.112.1?...

  1. You are to create 17 subnets on a class B network with the IP address: 172.20.112.1? How many bits do you need to uniquely identify each subnet? (focus on the binary representation more so than the networking aspect of the question) : hint what is the minimum number of bits do you need to represent 17 different entities. (show all steps)
  2. Subtract 10 – 7 using 2’s complement (show all steps)

  1. Find the two’s complement of the following number:   10110111(show all steps)
  1. Subtract 10 – 7 using 2’s complement (show all steps)

Homework Answers

Answer #1

Given class B IP address 172.20.112.1

In class B, 16 bit are used for network and remaining 16 bits are used for host.

Now using 1 bit we can create 2 subnets, (0,1)

using 2 bits we can create 4 subnets (0,1,2,3)

using 4 bits we can create 16 subnets (0,1,2,.........15) (<17)

using 5 bits we can create 32 subnets (0,1,..........31) (>=17)

So we need to borrow 5 bits from host.

Subtract 10 – 7 using 2’s complement

To substract 7 from 10 we have to add 2's compliment of 7 to 10.

Binary of 10 = 1010

Binary of 7 = 0111 1's compliment of 7 = 1000 To get 2's compliment, we have to add 1

so 2's compliment of 7 = 1001

1010

+1001

10011

We got carry above. We can discard the carry and the remaining number is our result which is 3

Find the two’s complement of the following number:   10110111(show all steps)

To get two's compliment we have to find 1's compliment and add 1 to it.

1's compliment can be obtained by interchanging 0 with 1 and 1 with 0

1's compliment of 10110111 = 01001000

add 1 now

01001000

+ 1

01001001

so 2's compliment of 10110111 is 01001001

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Given a Class B network and a number of subnets required, complete the table to identify...
Given a Class B network and a number of subnets required, complete the table to identify the number of bits to borrow from the host field for the subnet field and the maximum number of host addresses available per subnet. Number of Subnets Required Number of Bits to Borrow for the Subnet Field Maximum Number of Hosts per Subnet Subnet Mask in Binary and Decimal Representations 5 3    23 = 8 Class B has 16 host bits by definition. If...
In a class C subnet, we know the IP address of one of the hosts and...
In a class C subnet, we know the IP address of one of the hosts and the subnet mask as given below: IP Address: 198.48.82.176 Subnet mask: 255.255.255.224 1) What is the first valid host address in the subnet? (in dotted decimal) 2) What is the last valid address in the subnet? (in dotted decimal) 3) What is the subnet network address? (in dotted decimal) 4) What is the subnet broadcast address? (in dotted decimal) 5) What is the number...
Suppose a company received the IP network: 221.163.175.0/16. You want to set up the company’s network...
Suppose a company received the IP network: 221.163.175.0/16. You want to set up the company’s network to limit the number of hosts on each subnet to approximately 60 a. What class of address is this? b. How many subnets are possible? c. How many bits must be borrowed from the host bits to be used for subnet ID?   d, What is the subnet mask? e. How many possible hosts could be on each subnet, assuming the first and last addresses...
a) An IP address is a number that uniquely identifies a device within a computer network....
a) An IP address is a number that uniquely identifies a device within a computer network. This address can be derived from a General Network Address. i. Using any network address of your choice, explain how you would generate IP addresses by subnet masking. ii. Briefly explain the concept of Host Address and Network Address.
If you have a class B IPv4 network and want to divide it into subnets, each...
If you have a class B IPv4 network and want to divide it into subnets, each with 126 hosts, which subnet mask should you use? How many networks will be available? What are the four addresses (broadcast and network number) for the network starting at 131.204.18?
Overview Your assignment is to complete a wireless network design for a small company. You will...
Overview Your assignment is to complete a wireless network design for a small company. You will place a number of network elements on the diagram and label them appropriately. A network diagram is important to communicate the design features of a network between network administrators, system administrators and cyber-security analysts. It helps to create a shared mental model between these different technologists, yet each will have their own perspective on what is important to have documented on the diagram. Please...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210,...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210, written in 2's complement notation. The eventual goal is to add these two numbers. 1) Look at the LSB bit of the numbers, and using logic gates (NANDs, NORs, etc.) design a circuit that correctly gives the right output for any possible combination of bits in the LSB place. 2) Now look at the next column to the left (next to LSB). In this...
Can i get the answer to these questions in detail explaining how you go to the...
Can i get the answer to these questions in detail explaining how you go to the solution 1.Convert to/from Hex (0) 2.Octal Binary Unsigned/ 2’s complement 3.Understand how to shift and rotate. 4.Understand the relationship between shifting and multiplication/division 5.Be able to recognize and use the following gates: AND OR NOT NAND NOR XOR 6.Understand how a half adder works Given a logical statement ((A OR B) AND NOT(C OR A)) show the gates. 7.What is the difference between an...
1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of...
1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of the separation is that they are not displayed by the default version of the ls command)                         a. the prefix "rc" (rc.filename)               c. the extension .cfig                         b. a dot (.) at the beginning                    d. by having the SUID bit set 2. The IP address which is reserved for local loopback (equivalent to "localhost") is:                         a. 255.255.255.0                                   c. 192.168.70.1...
What is a Capital Asset?, Holding Period, Calculation of Gain or Loss, Net Capital Losses (LO...
What is a Capital Asset?, Holding Period, Calculation of Gain or Loss, Net Capital Losses (LO 8.1, 8.2, 8.3, 8.5) Charu Khanna received a Form 1099-B showing the following stock transactions and basis during 2016: Stock Date Purchased Date Sold Sales Price Cost Basis 4,000 shares Green Co. 06/04/05 08/05/16 $12,000 $3,000 500 shares Gold Co. 02/12/16 09/05/16 54,000 62,000 5,000 shares Blue Co. 02/04/06 10/08/16 18,000 22,000 100 shares Orange Co. 11/15/15 07/12/16 19,000 18,000 None of the stock...