• Register
1 vote

Problem :

Need solution on bellow problem
there are 4 bytes in an ipv4 address. what is the highest decimal value you can have for one byte?
6.9k points

1 Answer

0 votes

Solution :

IPv4 uses 32-bit (four-byte) addresses, so it limits the address space to 4228250626 (232) addresses.

4 bytes means 32 bits so each byte can have 8 bits and maximum value of 8 bits number is 255. 11111111 in binary is equal to 255 in decimal. Therefore, is maximum range of IPv4.

And reason for this limitation may be because at that time not much IPv4 addresses were required so specs were designed this way.

36.1k points

Related questions

0 votes
1 answer 25 views
Problem: I am new, I need help, can anyone help? Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4? a. 1-4 c. [1234] b. [1-4] d. [1,2,3,4]
asked Feb 21 maddi86 5.4k points
0 votes
1 answer 84 views
Problem : I am trying to print every string in Reverse Double Character way (e.g. string -> ggnniirrttss) import java.util.Scanner; public class ReverseDoubleCharecters { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter ... I get as follows: ss tt rr ii nn gg All double characters are printed on new lines. Anybody has the solution on this?
asked Nov 22, 2019 peterlaw 6.9k points
0 votes
0 answers 2 views
Problem: Which one of the following would contain the translated Java byte code for a program named Demo? A) Demo.java B) Demo.code C) Demo.class D) Demo.byte
asked Jul 23 conner 1.5k points
0 votes
1 answer 47 views
Problem : I want to deploy my ASP.NET application. I have tried deploying my site to IIS, but when I visit it with the browser, it gives me following error : Server Error 500 - Internal server error. There is a problem with the resource you are looking for ... error: The page cannot be displayed because an internal server error has occurred. I want to see the actual issue behind my server error?
asked Dec 7, 2019 alecxe 7.5k points