Skip to main content

Explain the IPv4 address with the help of a) Different formats of representation i.e. dotted decimals and binary. b) Classes in both the formats. c) Interpretation of the IP addresses.

46.Explain the IPv4 address with the help of
a) Different formats of representation i.e. dotted decimals and binary.
b) Classes in both the formats.
c) Interpretation of the IP addresses.
Ans.
1. Different formats of representation i.e. dotted decimal and binary: many devices on the internet have only a single interface and thus a single IP number.

2. IP numbers consist of 4(8-bit) bytes for a total of 32 bits of available information.

3. This system results in large numbers, even when they are represented in decimal notation.

4. To make them easier to read and organize, they are written in what is called dotted quad format.

5. Each of them four groups of number can range from 0-255. The following shows the IP numbers in binary notation with its decimal notation.
1+1+1+1+1+1+1+1
128+64+32+16+8+4+2+1 = 255
This binary notation for 192.168.1.1 is
11000000.10101000.00000001.00000001

6. Classes in both the formats: Class A addresses always have the farthest left bit of the farthest left byte a zero, so there is a maximum of 128 class A network number available.

7. Class A IP network numbers use the left quad to identify the network, leaving three quads to identify host interface on the network.

8. The network numbers 0.0.0.0 known as the default route and 127.0.0.0; the loopback network.

9. Class B IP network numbers use the two left dotted quads to identify the network, leaving two dotted quads to identify host interface.

10. Class B addresses always have the farthest left bits of the left byte set to 10, it ranges 128-191 for the first of dotted quads.

11. Class C IP network numbers use the left three quads to 
identify the network, leaving the right quad to identify host interface.

12. Class C addresses always start with the farthest left thus bits set to 110 or a range of 192-255 for the farthest left dotted quad.

13. Interpretation of IP address: IP number can have three possible meanings for class C network:
192.168.3.0 is a class C network number.
192.168.3.42 is a host address on this network
192.168.3.255 is the network broadcast address.

14. The network mask affects only the interpretation of IP numbers on the same network segments.

Comments

Popular posts from this blog

Explain how to configure DHCP client?

50.Explain how to configure DHCP client? Ans. 1. Before configuring DHCP, NIC should be configured properly and recognized by the system. 2. After that it’s easy to command system to use DHCP to obtain its IP information. 3. Configuring DHCP client involves following steps : a. Open the /etc/sysconfig/networkscripts/ifcfg-eth0 file. b. Find the line bootproto=static c. Change the static to dhcp. d. Save changes. e. Restart the network by issuing command ‘service network restart’, after that system will receive its IP information from the DHCP server.

QT practicals files

Temporarily Available: Click below to download|||||||||||

Explain memory and virtual file system in Linux.

22.Explain memory and virtual file system in Linux. Ans. 1. These file systems do not exist on disk in the same way that traditional file systems do, they either exists entirely in the system memory or they are virtual because they are an interface to system devices. 2. cramfs: cramfs is designed to cram a file System onto a small flash memory device, so it is small, simple and able to compress things well. The largest file size is 16MB and the largest file system size is 256MB since cramfs is so compressed, it isn’t instantly updateable. 3. tmpfs: tmpfs is structured around the idea that whatever is put in the /tmp file system is accessed again shortly, tmpfs solely in memory, so what you put in /tmp doesn’t persist between reboots. 4. ramfs: ramfs is basically cramfs without the compression. 5. romfs: This is a read only file system that is mostly used for initial ramdisks of installation disks. It was designed to take up very little space, so you could fit a ke...