Top Banner
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ip address
Page 2: ip address

Router:

• It is an internetworking device used to connect two or more different networks

• It works on layer 3 i.e. network layer• .It Performs Routing

• ROUTING:- Forwarding packets from one network to another network choosing the best path is called routing.

Page 3: ip address

E0 10.1.1.1/8

HYD

LAN – 10.0.0.0/24

E0 20.1.1.1/24

KSA

LAN – 20.0.0.0/24

1.1.1.1/8S0

S11.1.1.2/8

Page 4: ip address

• HUBIt is generally used to connect all devices on a network so that they can communicate with each other. It always do broadcasting.

• SwitchLike Hub, it is also used to connect all devices on a network so that they can communicate with each other. But first time it will do broadcast and from second time onwards it will do unicast.

Page 5: ip address

What is TCP/IP?

• TCP/IP is a standard language like English used by computers and network devices for communication

• TCP/IP is a universal standard and can make communication possible among all operation system

Page 6: ip address

IP ADDRESS

• IP Address is Logical Address

• It is a Network Layer address (Layer 3)

• Two Versions of IP:

– IP version 4 is a 32 bit address

– IP version 6 is a 128 bit address

Page 7: ip address

IP version 4

Bit is represent by 0 or 1 (i.e. Binary)

IP address in binary form (32 bits):

01010101000001011011111100000001

32 bits are divided into 4 Octets:

01010101. 00000101. 10111111. 00000001

IP address in decimal form: 85.5.191.1

Page 8: ip address

• 128-bit address is divided along 16-bit boundaries,

and each 16-bit block is converted to a 4-digit

hexadecimal number and separated by colons

(Colon-Hex Notation)

FEDC:BA98:7654:3210:FEDC:BA98:7654:3210

IP version 6

Page 9: ip address

Binary to Decimal Conversion

Taking Example for First Octet :

Total 8 bits, Value will be 0’s and 1’s

i.e. 28 = 256 combination

Total IP Address Range 0 . 0 . 0 . 0

to 255.255.255.255

Page 10: ip address

• IP Addresses are divided into 5 Classes

• CLASS A

• CLASS B

• CLASS C

• CLASS D

• CLASS E

IP Address Classification

Used in LAN & WAN

Reserved for Multicasting

Reserved for Research & Development

Page 11: ip address

CLASS A Range 0.0.0.0 - 127.255.255.255

CLASS B Range 128.0.0.0 - 191.255.255.255

CLASS C Range 192.0.0.0 - 223.255.255.255

CLASS D Range 224.0.0.0 - 239.255.255.255

CLASS E Range 240.0.0.0 - 255.255.255.255

Class Ranges

Page 12: ip address

• IP address is divided into Network & Host Portion

• CLASS A is written as N.H.H.H

• CLASS B is written as N.N.H.H

• CLASS C is written as N.N.N.H

Octet Format

Page 13: ip address

No. Networks & Hosts

• CLASS A – 126 Networks & 16777214 Hosts per Network

• CLASS B– 16384 Networks & 65534 Hosts per Network

• CLASS C– 2097152 Networks & 254 Hosts per Network

Page 14: ip address

• The network address is represented with all bits as ZERO in the host portion of the address

• The broadcast address is represented with all bits as ONES in the host portion of the address

• Valid IP Addresses lie between the Network Address and the Broadcast Address.

• Only Valid IP Addresses are assigned to hosts/clients

Network & Broadcast Address

Page 15: ip address

Example - Class A

Class A 10.0.0.010.0.0.1

10.0.0.2 10.0.0.3

10.255.255.25410.255.255.255

Network Address

Valid IP Addresses

Broadcast Address

Page 16: ip address

Example - Class B

Class B 172.16.0.0172.16.0.1

172.16.0.2172.16.0.3

172.16.255.254172.16.255.255

Network Address

Valid IP Addresses

Broadcast Address

Page 17: ip address

Example - Class C

Class B 192.168.1.0192.168.1.1192.168.1.2192.168.1.3192.168.1.4192.168.1.5192.168.1.6

192.168.1.255

Network Address

Valid IP Addresses

Broadcast Address

Page 18: ip address

• There are certain addresses in each class of IP address that are reserved for Private Networks. These addresses are called private addresses.

Class A10.0.0.0 to 10.255.255.255

Class B172.16.0.0 to 172.31.255.255

Class C192.168.0.0 to 192.168.255.255

Private IP Address

Page 19: ip address

Subnet Mask

Subnet Mask:-Its an address used to identify the network and host portion of the ip address

Class A N.H.H.H 255.0.0.0Class B N.N.H.H 255.255.0.0Class C N.N.N.H 255.255.255.0

Note:- "255" represents the network and "0" represents host.

Page 20: ip address

• Network:- collection / group hosts

• Host:- Single PC/ computer.

• Default Gateway:-– Its an entry and exit point of the network.– ex:- The ip address of the router ethernet

address.

Page 21: ip address

• Dividing a Single Network into Multiple Networks.

• Converting Host bits into Network Bits i.e. Converting 0’s into 1’s

• Subnetting can be perform in two ways.

– FLSM (Fixed Length Subnet Mask)– VLSM (Variable Length subnet mask)

• Subnetting can be done based on requirement .

– Requirement of Hosts ? 2h - 2 >= requirement

– Requirement of Networks ? 2n >= requirement

Subnetting

Page 22: ip address

What is Supernetting or CIDR?

• Classless Inter-Domain Routing (CIDR) merges or combine network addresses of same class into one single address to reduce the size of the routing table.

• It is done on core router to reduce the size of routing table.

• It is implemented by ISP (internet service providers).