Professional Documents
Culture Documents
W 10 SKR 3200
W 10 SKR 3200
W 10 SKR 3200
1
Classless Addressing
• To overcome the address depletion
• No classes
• Addresses are granted in blocks (range)
• Size of block varies based on the nature &
size of entity
2
Restriction
3
Example
The next figure shows a block of addresses, in
both binary and dotted-decimal notation,
granted to a small business that needs 16
addresses.
5
Note
6
Note
7
Example 4
A block of addresses is granted to a small organization.
We know that one of the addresses is 205.16.37.39/28.
What is the first address in the block?
Solution
The binary representation of the given address is
11001101 00010000 00100101 00100111
If we set 32−28 rightmost bits to 0, we get
11001101 00010000 00100101 0010000
or
205.16.37.32.
This is actually the block shown in Figure slide 24
8
Note
9
Example 5
Find the last address for the block in Example 4
Solution
The binary representation of the given address is
11001101 00010000 00100101 00100111
If we set 32 − 28 rightmost bits to 1, we get
11001101 00010000 00100101 00101111
or
205.16.37.47
This is actually the block shown in Figure slide 24
10
Note
11
Example 6
Find the number of addresses in Example 4
Solution
12
Figure. A NAT implementation
13
Figure. Addresses in a NAT
14
Table. Five-column translation table
15
Exercise
1) In a block of addresses, we know the IP address of one
host is 25.34.12.56/16. What are the first address
(network address) and the last address (limited
broadcast address) in this block?
: 2008/2009
Idawaty Ahmad : Semester 2
1) Write the following masks in slash notation (/n)
a. 255.255.255.0
b. 255.0.0.0
c. 255.255.224.0
d. 255.255.240.0
-IPV6
- ARP
- Unicast and Multicasting
Learning Outcome
Solution
We first need to align the left side of the double colon to the
left of the original pattern and the right side of the double
colon to the right of the original pattern to find how many
0s we need to replace the double colon.
Tunneling is a strategy used when two computers using IPv6 want to communicate
With each other and the packet must pass through a region that uses IPv4
Figure 20.21 Header translation strategy
Header Translation is necessary when the majority of the Internet has moved to IPv6
But some systems still use IPv4
Address Mapping - ARP
The delivery of a packet to a host or a router requires
two levels of addressing: logical and physical. We need
to be able to map a logical address to its corresponding
physical address and vice versa. This can be done by
using either static or dynamic mapping.
Figure 21.1 ARP operation
Figure 21.2 ARP packet
Figure 21.3 Encapsulation of ARP packet
Figure 21.4 Four cases using ARP
Note
An ARP request is broadcast;
an ARP reply is unicast.
21.33
Example 21.1
Ethernet :Type 1
IP
protocol :0800
IP address :4 bytes
Ethernet
address: 6 bytes
Figure 21.6 Proxy ARP
Solution
We can do this in two steps:
a. We write the rightmost 23 bits of the IP address in
hexadecimal. This can be done by changing the
rightmost 3 bytes to hexadecimal and then subtracting
8 from the leftmost digit if it is greater than or equal to
8. In our example, the result is 2B:0E:07.
Example 21.7 (continued)