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 the tools used to monitor system security.

12.Explain the tools used to monitor system security. Ans. 1. People who, for purpose of larceny or to amuse themselves, like to break into computers, they are called ‘crackers’. 2. If there is a vulnerability in a system they will find it and use it against you. 3. Preventing use of your machine for nefarious purpose and guarding against intrusion are, in the end, your responsibility alone. 4. Red hat equips you with tools to detect and deal with unauthorised access of many kinds. 5. You need to configure those tools and understand how to sense the warning they provide. 6. Fortunately Linux is development community is quick to find potential exploits and to create ways of slamming the doors before crackers can enter in your system. 7. Red hat is careful enough to making available new, patched version in which potential exploits have been found. 8. You should make sure to download and install the repaired package. 9. This line of defence...

Explain the file systems supported by Linux.

21.Explain the file systems supported by Linux. Ans. 1. Linux can read/write to several file system that originated with other operating system much different from Linux. 2. One reason that Linux supports so many file systems is the design of its virtual file system (VFS) layer, its provides a fairly universal forms of file support, file systems supported by Linux are as follows: 3. ext3: • Ext3 stands for third extended file system. • Starting from Linux Kernel 2.4.15 ext3 was available. • The main benefit of ext3 is that it allows journaling. • Journaling has a dedicated area in the file system, where all the changes are tracked. • When the system crashes, the possibility of file system corruption is less because of journaling. (If no journaling, then fsck command (file system consistency check) is used to check for the corrupted file and to repair that file). • ext3 keeps a record of uncommitted file transactions and applies only those transactions when the sy...

Explain the boot process in Linux.

13.Explain the boot process in Linux. Ans. 1. When we turn on our PC, it runs a program called “Basic input/output System” (BIOS). 2. BIOS is the only way to communicate with the system components until the operating system is up and running and able to take over the system management functions. 3. BIOS is installed on Read only memory (ROM) chip physically attached to system board. 4. The ROM type of chip is usually referred as to as an EEPROM chip, meaning it’s not writeable by user. 5. After the BIOS loads, it performs some diagnostics on the hardware, checks the installed components to be sure they are functioning and checks the system RAM (Random access memory). 6. Next the BIOS tries to find system drives from which it can load the boot program to begin the process of starting the operating system/kernel. 7. We can specify the search order for drives by changing the setting in the system BIOS configuration. 8. Usually the first hard drive...