An Internet Protocol address (IP address) is a numerical bit pattern assigned to each device (e.g., computer, printer) participating in a computer network that
An Internet Protocol address (IP address) is a numerical bit pattern assigned to each device (e.g., computer, printer) participating in a computer network that uses the internet for communication. An IP address serves two purposes: 1) host identification and 2) location addressing. IPv4 uses 32-bit (four-bytes) addresses. IPv4 addresses may be written in any notation expressing a 32-bit integer value, but for human convenience, they are most often writ- ten in the dot-decimal notation, which consists of four octets of the address expressed individually in decimal and separated by periods. However, IPv4 addresses can also be expressed in Octal, Decimal, Hexadecimal etc as shown in the Table 2. Table 2: The following table shows several representation of the IP Address 192.0.2.235 Value Notes 1100 0000 0000 0000 0000 0010 1110 1011 Hardware bit pattern 192.0.2.235 C0.00.02.EB 0300.0000.0002.0353 Each 8-bits is expressed as decimal Each 8-bits expressed as hexadecimal Each 8-bits expressed as octal 32-bit binary number in hexadecimal 32-bit binary number in decimal 32-bit binary number in octal. C00002EB 3221226219 30000001353 a) Consider the following IP address given in dotted decimal format 127.0.255.1. Con- vert it to the following formats. i) Decimal format. ii) Binary format. iii) Octal format. b) You are given an IP address: 01110111 0011 0000 1000 1000 1000 1001, as a 32-bit binary number. Convert this number to: i) Dotted Hexadecimal format. ii) Octal format. iii) Dotted Decimal format. c) Instead of using four bytes we decide to use six bytes (48 bits) to store the address. How many addresses can be represented with this number of bits? How does it relate to the number of bits? Format 32 Bits Dotted Decimal Dotted Hexadecimal Dotted Octal Hexadecimal Decimal Octal Question 2 tasks
Step by Step Solution
3.40 Rating (166 Votes )
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started