Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#Only use instructions that have been demonstrated in the lecture slides #or in the sample code provided. #Computers on a network identify and communicate with

#Only use instructions that have been demonstrated in the lecture slides
#or in the sample code provided.
#Computers on a network identify and communicate with other computers using
#addresses and protocols. One such addressing scheme is the 32-bit IP (Internet
Protocol)
#addressing. Each IP address is broken up into four 1-byte numbers (called octets)
#separated by periods. For example, a valid IP address is 192.168.1.15
#A bitmask is a binary number applied using a bitwise operator to perform one
#of the following operations:
#1. Determining which bits are turned on (i.e.,1) in another binary value
#2. Turning bits off in another binary value
#3. Turning bits on in another binary value
#4. Toggling bits on and off in another binary value
#Bitmasks are commonly found in computer networking, where "netmasks" divide
#networks into subnets or smaller networks. Using a netmask of 255.255.255.128,
#a computer with the IP address 192.168.1.130 would belong the 192.168.1.128
subnet.
#IP Address: 11000000.10101000.00000001.10000010
#Netmask: 11111111.11111111.11111111.10000000
#Subnet: 11000000.10101000.00000001.10000000
#Load the following IP address to register t0 as a 32-bit number: 10.1.101.17
#Apply a netmask of 255.255.240.0 and store the resulting subnet to register t1
#What is the subnet (as an IP address) that 10.1.101.17 belongs to?
#Answer:
#Load the following IP address to register t2 as a 32-bit number: 172.24.42.33
#Apply a netmask of 255.255.252.0 and store the resulting subnet to register t3
#What is the subnet (as an IP address) that 172.24.42.33 belongs to?
#Answer:
#Load the following IP address to register t4 as a 32-bit number: 192.168.1.150
#Apply a netmask of 255.255.255.192 and store the resulting subnet to register t5
#What is the subnet (as an IP address) that 192.168.1.150 belongs to?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2 x = 9

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago