What is IP Address ?
- An IP address is a unique identifier for a node or host in a TCP/IP based network.
- The IP address is designed and control by Internet Assigned Number Authority (IANA).
- It manage the space of IP address and delegates of Regional Internet Registries_(RIR).
- RIR allocates IP blocks to ISPs_(Internet Service Providers).
ISP:- An internet service provider (ISP) is a company that provides the Internet Services. ISPs can provide this access through multiple means, including dial-up, DSL, cable, wireless and fiber-optic connections.Example; Airtel,Jio,Vodaphone etc.
Types of Address:-
-------------------
There are two types of Address available:
1) Physical Address
2) Logical Address
Physical Address:-
-------------------
- Physical Address known as Ethernet Address or MAC address.
- Full form of MAC is Media Access Control.
- MAC address has 48 bit or 12 digit.
- This digit always write in hexadecimal_(00:0a:45:2e:52:28) format.
- In Microsoft O/S you can use getmac command to sho MAC address.
- In Linux O/S you can use ifconfig command to sho MAC address.
Logical Address:-
-----------------
There are two types of logical Address available:
1) IPv4
2) IPv6
Before understand the IPv4 & IPv6 everyone must know the Number System.
What is number system ?
A numeral system is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner. The same sequence of symbols may represent different numbers in different numeral systems.
Different conversion available on it:-
1) Binary to other conversion
Binary - Decimal
Binary - Octal
Binary - Hexadecimal
2) Decimal to other conversion
Decimal - Binary
Decimal - Octal
Decimal - Hexadecimal
3) Octal to other conversion
Octal - Binary
Octal - Decimal
Octal - Hexadecimal
4) Hexadecimal to other conversion.
Hexadecimal - Binary
Hexadecimal - Decimal
Hexadecimal - Octal
Convert the Decimal number into Binary number.
Example:- (25)10 = (---)2
1st Method:-
Formula:-
128 64 32 16 8 4 2 1 = 255
16 8 4 2 1 = 31_(Formula)
1 1 0 0 1 = 25
Answers is (25)10 = (11001)2
2nd Method:-
-------------------------------------------------
Convert the Binary number into Decimal number.
Example:- (11001)2 = (---)10
16 8 4 2 1 = 31_(Formula)
1 1 0 0 1 = (16+8+1 = 25)
Answer is "25".
-------------------------------------------------
Convert Hexadecimal number to Decimal number.
Example:- (2A5)16 = (---)10
Convert Decimal number to Hexadecimal number.
Example:- (677)10 = (---)16
Hint:- "Use BCD Code"
(8 4 2 1) (8 4 2 1) (8 4 2 1) = BCD Code
(0 1 1 0) (0 1 1 1) (0 1 1 1)
Answer is "011001110111"
-------------------------------------------------
# Private IP Address:-
This is the IP address that is assign by the Operating System Self. If DHCP server did not provide the ip address & subnet mask to computer machine_(DHCP Client).
- DHCP is a protocol that is used for assign the automatic IP address to DHCP client.
- If any condition if DHCP server nor reachable to DHCP client to assign the ip address that time operating system Automatic create a IP address with subnet mask that is known as APIPA IP Address.
- DHCP work on Application Layer of OSI model.
- Port number of DHCP Server is 67 & DHCP Client is 68.
- NAT stand for Network Address Translator & PAT stand for Port Address Translator.
- This is the protocol that is used for convert the private ip address to public IP address or public ip address to private ip address.
- NAT convert one Private IP to One Public IP Address.
- PAT convert the Multiple Private IP Address to one Public IP Address.
- DNS is a name resolution technic that is used for convert the ip address to name_(www.google.com) or name_(www.google.com) to ip address.
- DNS work as a phone book of your cell phone. You can remember every contact number but we can remember the name of contact person same as we can not store the every web site ip address but the name of web site we can save in our mind. So DNS work as a database that store the website with name or ip address.
- The port number of DNS is 53.
No comments:
Post a Comment