An IP address is a 32-bit number that uniquely identifies a host (computer or other device,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
An IP address is a 32-bit number that uniquely identifies a host (computer or other device, such as a printer or router) on a TCP/IP network. IP addresses are normally expressed in dotted-decimal format, with four numbers separated by periods, such as 192.168.123.132. To understand how subnet masks are used to distinguish be- tween hosts, networks, and subnetworks, examine an IP address in binary notation. For example, the dotted-decimal IP address 192.168.123.132 is (in binary notation) the 32 bit num- ber 11000000101010000111101110000100. This number may be hard to make sense of, so divide it into four parts of eight binary digits. These eight bit sections are known as octets. The ex- ample IP address, then, becomes 11000000.10101000.01111011.10000100. This number only makes a little more sense, so for most uses, convert the binary address into dotted-decimal for- mat (192.168.123.132). The decimal numbers separated by periods are the octets converted from binary to decimal notation. Some TCP servers accept requests only coming from the machines which are in their networks. To decide which IP addresses is in their networks they use a network address and a netmask. For example, consider the case: Network Address 192.168.0.1 1000000.10101000.00000000.00000001 Machine address 192.168.0.7 1000000.10101000.00000000.00000111 Netmask: 255.255.255.240 1111111.11111111.11111111.11110000 If Network Address & Netmask is equal to Request sending Machine address & Netmask, where & is bitwise AND operator, then server allows the request packet arrive, otherwise rejects the request. 1. (5 pt) Find the local network address, netmask value of your LAN and your computer's local network address (You should be able to be doing it in Windows, OSX, and linux pretty easily. Do not fiddle with your router) 2. (15 pt) Using the Network address and Netmask value given in the above table, if the TCP connection request is coming from a machine with IP 192.168.0.18, does the server accept that request? [22]: 0b010010 # That is how you do binary representation in python Ob010010 & Ob010010# bitwise AND operator in Python pass An IP address is a 32-bit number that uniquely identifies a host (computer or other device, such as a printer or router) on a TCP/IP network. IP addresses are normally expressed in dotted-decimal format, with four numbers separated by periods, such as 192.168.123.132. To understand how subnet masks are used to distinguish be- tween hosts, networks, and subnetworks, examine an IP address in binary notation. For example, the dotted-decimal IP address 192.168.123.132 is (in binary notation) the 32 bit num- ber 11000000101010000111101110000100. This number may be hard to make sense of, so divide it into four parts of eight binary digits. These eight bit sections are known as octets. The ex- ample IP address, then, becomes 11000000.10101000.01111011.10000100. This number only makes a little more sense, so for most uses, convert the binary address into dotted-decimal for- mat (192.168.123.132). The decimal numbers separated by periods are the octets converted from binary to decimal notation. Some TCP servers accept requests only coming from the machines which are in their networks. To decide which IP addresses is in their networks they use a network address and a netmask. For example, consider the case: Network Address 192.168.0.1 1000000.10101000.00000000.00000001 Machine address 192.168.0.7 1000000.10101000.00000000.00000111 Netmask: 255.255.255.240 1111111.11111111.11111111.11110000 If Network Address & Netmask is equal to Request sending Machine address & Netmask, where & is bitwise AND operator, then server allows the request packet arrive, otherwise rejects the request. 1. (5 pt) Find the local network address, netmask value of your LAN and your computer's local network address (You should be able to be doing it in Windows, OSX, and linux pretty easily. Do not fiddle with your router) 2. (15 pt) Using the Network address and Netmask value given in the above table, if the TCP connection request is coming from a machine with IP 192.168.0.18, does the server accept that request? [22]: 0b010010 # That is how you do binary representation in python Ob010010 & Ob010010# bitwise AND operator in Python pass
Expert Answer:
Answer rating: 100% (QA)
1 To find the local network address netmask value and your computers local network address on differ... View the full answer
Related Book For
The Architecture of Computer Hardware, Systems Software and Networking An Information Technology App
ISBN: 978-1118322635
5th edition
Authors: Irv Englander
Posted Date:
Students also viewed these programming questions
-
Find an upper bound for the remainder error if the 2nd Maclaurin polynomial for f(x)= e is used to approximate e? Note: You may assume that e < 2 (this should be clear since e
-
IP addressing is located at layer 3 of the OSI model. It is used on all our end devices, our routers, switches, and servers. IP Addressing is critical for allowing communication within our networks...
-
Explain how the demand for health insurance is related to the demand for health care. Would the demand for health care then depend also on whether the person paid for the insurance or alternatively...
-
Mimi had $40,000 in federal income taxes withheld in 2016. Because of a sizable amount of itemized deductions, she figured that she had no further tax to pay for the year. For this reason and because...
-
Peyton owns 25% of the shares of its associate, Merk. At the acquisition date, there were no differences between the fair values and the carrying amounts of the identifiable assets and liabilities of...
-
Explain what is wrong with these electron configurations: a. \(1 s^{2} 2 s^{2} 2 p^{8} 3 s^{2} 3 p^{4}\) b. \(1 s^{2} 2 s^{3} 2 p^{4}\)
-
Whole Grains LLC uses statistical process control to ensure that its health-conscious, low-fat, multigrain sandwich loaves have the proper weight. Based on a previously stable and in-control process,...
-
When creating their newest product, Seagram's Escapes, Seagram's wanted to expand to a new market segment who wanted to enjoy light alcoholic drinks, and not get drunk quickly. They were hoping to...
-
Jack Tasker opened his Auto Repair Shop in November 2023. The balance sheet at November 30, 2023, prepared by an inexperienced part-time bookkeeper, is shown below. Required Prepare a correct balance...
-
A recent accounting statement showed the following: Raw material (RM): Work in process (WIP): Finished goods (FG): Total sales revenue (R): 529,073 2,999,396 3,543,222 71,132,934 Cost of goods % of...
-
1) A sample of clay has been taken from 7 m below the bed of a river. It is known that the unit weight of the clay Y = 20.5 kN/m and that the over consolidation ratio is 2.5. Determine how much soil...
-
Could you elaborate on the primary roles and functionalities fulfilled by an operating system, utilizing advanced terminology?
-
In what ways has the field of biology influenced societal advancements, particularly in the context of innovations within the healthcare sector?
-
If an item costs $5 in the US, assuming purchasing power parity with current exchange rates of $1.25/, what is the price of the item in the Germany? If, over the next year, inflation is 6% in Germany...
-
A steady-state, adiabatic compressor operates with the inlet and exit conditions listed below. The fluid is ammonia. Kinetic and potential energy changes are negligible. The mass flowrate through the...
-
2.27 The density of 900 bbl of a 16-lbm/gal mud must be increased to 17 lbm/gal. The volume fraction of low-specific-gravity solids also must be reduced from 0.055 to 0.030 by dilution with water. A...
-
Thalina Mineral Works is one of the worlds leading producers of cultured pearls. The companys condensed statement of cash flows for the years 20182020 follows. Required Comment on Thalina Mineral...
-
Select a directory and list the files in that directory. For each file, determine how many blocks would be required if the block size were to be 512 bytes, 1 KB, 4 KB, and 8KB. Calculate the internal...
-
A 1600-pixel by 900-pixel display is generated on a 14-inch (diagonal) monitor. a. How many dots per inch are displayed on this monitor? b. What is the size of an individual pixel? Would a 0.26mm...
-
DMA is rarely used with dumb computer terminals. Why?
-
Discuss four important risk and tax-related considerations that are relevant to Omos portfolio. With most of Omos personal net worth tied up in his software company, he is asset rich but cash poor....
-
Determine the most appropriate strategy that can generate liquidity and accomplish Omos goals. Justify your response. Jing asks Omo about his plans for the shares of his previous employers company....
-
Discuss two estate planning objectives revealed in Hinkles discussion with Enlow. Enlow wants to transfer some of his wealth to his niece and nephew but isnt sure whether he should use lifetime gifts...
Study smarter with the SolutionInn App