Professional Documents
Culture Documents
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
IP v4
32 Bits
1
128
64
32
16
8
4
2
1
128
64
32
16
8
4
2
1
128
64
32
16
4
2
1
128
64
32
16
8
4
2
Ex. Decimal 192 168 171 221
Ex. Binary 11000000 10101000 10101011 11011101
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
Network address: The address by which we refer to the network,
all host bits are 0.
192 168 171 0
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
Prefix Length: the number of bits in the address that gives us the
network portion. Ex: 192.168.171.221/24
Subnet Mask: consists of 32 bits and uses 1s to represent
network portion and 0s to represent host portion.
Ex: 255.255.255.0
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Unicast, Multicast, Broadcast Types of Communication
Unicast: the process of sending a packet from one host to an
individual host One-to-One.
Multicast: the process of sending a packet from one host to a
selected group of hosts One-to-Many.
Multicast clients: Hosts that wish to receive multicast data, and
must subscribe to a Multicast Group.
Broadcast: the process of sending a packet from one host to all
hosts in the network One-to-All.
1.Directed Broadcast: is sent to all hosts on a specific network.
Ex: 192.168.171.255/24
2.Limited Broadcast: is used for communication that is limited to
the hosts on the local network. Ex: 255.255.255.255
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Reserved IP v4 address range
Host Addresses: 0.0.0.0 to 223.255.255.255
Within this range there are many addresses that are already
reserved for special purposes.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Special IP v4 Addresses
Network and Broadcast Addresses:
Within each network the first and last addresses cannot be
assigned to hosts.
Default Route: 0.0.0.0, all (0.0.0.0 /8) address block is reserved.
The default route is used as a "catch all" route when a more
specific route is not available.
Loopback: 127.0.0.0 - to - 127.255.255.255.
Hosts use loopback to direct traffic to themselves.
Link-Local Addresses: 169.254.0.0 to 169.254.255.255
Automatically assigned by OS where no IP config. is available.
TEST-NET Addresses: 192.0.2.0 to 192.0.2.255 (192.0.2.0 /24).
is set aside for teaching and learning purposes.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Special IP v4 Addresses
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Classful Addressing
Classful allocation of address space often wasted many addresses, which exhausted
the availability of IPv4 addresses. Classless Addressing solves this problem
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Fill in the information
1. 192.168.1.3 Class ------- Default Mask: ---------------
Network: ------------------- Broadcast: -------------------
Hosts: ----------------------through-----------------------
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
ISPs
Tier 1 ISPs provides reliability and speed.
Tier 2 ISPs generally focus on business customers.
Tier 3 ISPs is the retail and home markets in a specific locale.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Overview of IP v6
IPv6 is not merely a new Layer 3 protocol - it is a new protocol
suite, ICMPv6, and new routing protocols.
Large address space
No need for NAT/PAT
Improved Packet Handling through header simplification.
QoS Mechanisms.
Security
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Overview of IP v6
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
ANDing- What is our network?
The IPv4 host address is logically ANDed with its subnet mask to
determine the network address to which the host is associated.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting
Subnetting: Creating multiple logical networks from a single
address block.
No. of subnets: 2n where n = the number of bits borrowed.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting Borrowing 2 bits (4-Subnets)
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting Borrowing 3 bits (8-Subnets)
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
VLSM Subnetting a subnet
was designed to maximize addressing efficiency.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Testing the local stack
Ping: is a utility for testing IP connectivity between hosts.
Uses ICMP.
If the host Echo request, The destination responds with an
ICMP Echo Reply datagram.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Traceroute (tracert) Testing the path
tracert: utility that allows us to observe the path between source
and destination.
generates a list of hops that were successfully reached along
the path.
RTT (Round Trip Time): is the time a packet takes to reach the
remote host and for the response from the host to return.
An asterisk (*) is used to indicate a lost packet.
If TTL=0 then
The router drops the packet and sends an ICMP Time Exceeded
message addressed to the originating host.
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
ICMP v4
ICMP is the messaging protocol for the TCP/IP suite.
ICMP provides control and error messages and is used by the
ping and traceroute utilities.
ICMP messages that may be sent include:
Host confirmation
Unreachable Destination or Service
0 = net unreachable, 1 = host unreachable, 2 = protocol unreachable,
3 = port unreachable
Time exceeded
Route redirection
Source quench
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy
Suez Canal University Faculty of Computers & Informatics - Cisco Local Academy