IP Addressing
IP Addressing
O ×
O
O
O
O ×
O ×
O ×
O NetBIOS include Name service, Session service and
Datagram service
O NetBIOS name cache contains NetBIOS names and
their corresponding IP addresses that were recently
resolved by local computer
O Supporting Protocols within IP layer are ARP,
RARP, ICMP and IGMP
O Maximum Transfer Unit (MTU) specifies maximum
amount of data that a frame can carry within a
network
|
|
O A Unique, 32-bit address used by computers to
communicate over a computer network
Types of IP Address
Static Dynamic
|
|
| |
O IP address structure consists of two addresses,
Network and Host
O IP address is divided into five classes
IP Address
Classes
| ||
Byte 1 Byte 2 Byte 3 Byte 4
||
! "
"||
#$
#
%&"
O Used to achieve communication on the Internet
O Unicast address uniquely identifies a host in a
network and belongs to class A, B and C
O Multicast address defines an address for a group
and belongs to class D
O Broadcast address allows user to send data packet
to all machines on a given network and is last
address of that network
|
O Allows you to divide a network into smaller sub-
networks
O Each subnet has its own sub-network address
O Subnet can be created within Class A, B, or C based
networks
&'
O Specifies part of IP address used to identify a
subnetwork.
O Subnet mask when logically ANDed with IP address
provides 32-bit network address
Subnet Mask
AND
IP Address Operation Network Address
&'
?
Class A 11111111.00000000.00000000.00000000
Class B 11111111.11111111.00000000.00000000
Class C 11111111.11111111.11111111.00000000
|
154.201.179.42/18
First 18 bits represent
network ID
IP address
( &')(&*
#$(& |
#$(& ||
#$(& |||
201.70.64.0 ± 201.70.64.63
201.70.64.64± 201.70.64.127
201.70.64.128 ± 201.70.64.191
201.70.64.192 ± 201.70.64.223
201.70.64.224 ± 201.70.64.254
The Moneymaker bank has been granted an IP address
190.100.0.0/16 by IANA. The Bank has started its branches in
Delhi, Bangalore, and Mumbai. It is seen that
O IP addresses which are never used on the public
Internet
Types of Special
Address
Loop-back Link-Local
Private Address
Address Address
|
+
O Utility tools used for keeping track about hosts on
the network and network structure
O Ping (Packet Internet Groper) ± Used by computer
network to test whether intended host is reachable
across IP network
O Tracert ± Used by Windows operating system to
increase time-to-live (TTL) value of data packets
sent
O Pathping ± Provides useful information about
network errors, network latency and network loss at
hops between source and destination address
, |&| |
O Host cannot carry IP address from one network to
another
O IP address is valid only when the host is connected
to a particular network
O When a host moves from one network to another it
requires IP addressing structure to be modified
O To maintain network connectivity of host within new
network:
Ë Change IP address from one network to another
Ë Use two IP addresses
, |&| ||
&| |
O Mobile IP includes
two agents to make
Agents
address changes
invisible to the rest of
the Internet
Home Foreign
Agent Agent
&| ||
O Home agent
Ë Involves a routing device attached to home network of
mobile host
Ë Transmitting data packet from host to mobile host
Packet
Home Foreign Mobile
Host
Agent Agent Host
O Foreign agent
Ë Usually a router that is attached to foreign network
Ë Receives packet sent by home agent and delivers
these packets to mobile host
&|
|&|
Ë Triangle Routing
|
! ||