Address maping and error reporting ,multicasting
Address maping and error reporting ,multicasting
Unit III
By
Arvinda kushwaha
Professor
Department of Data Science
GCET Greater Noida(097)
Content
Network Layer
Point - to Pont Networks
Routing
Congestion control
Internetworking -TCP / IP, IP
packet
IP address, IPv6.
1 ADDRESS MAPPING
Solution
Figure 5 shows the ARP request and reply packets. Note
that the ARP data field in this case is 28 bytes, and that
the individual addresses do not fit in the 4-byte boundary.
That is why we do not show the regular 4-byte boundaries
for these addresses.
Figure 5 Example 1, an ARP request and reply
Figure 6 Proxy ARP
Figure 7 BOOTP client and server on the same and different networks
Note
The first line shows the first router visited. The router is
named Dcore.fhda.edu with IP address 153.18.31.254.
The first round-trip time was 0.995 ms, the second was
0.899 ms, and the third was 0.878 ms. The second line
shows the second router visited. The router is named
Dbackup.fhda.edu with IP address 153.18.251.4. The
three round-trip times are also shown. The third line
shows the destination host. We know that this is the
destination host because there are no more lines. The
destination host is the server fhda.edu, but it is named
tiptoe.fhda.edu with the IP address 153.18.8.1. The three
round-trip times are also shown.
Example 5
Solution
The events occur in this sequence:
a. Time 12: The timer for 228.42.0.0 in host A expires,
and a membership report is sent, which is received by
the router and every host including host B which
cancels its timer for 228.42.0.0.
Example 6 (continued)
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 7 (continued)
We use netstat (see next slide) with three options: -n, -r,
and -a. The -n option gives the numeric versions of IP
addresses, the -r option gives the routing table, and the -a
option gives all addresses (unicast and multicast). Note
that we show only the fields relative to our discussion.
“Gateway” defines the router, “Iface” defines the
interface.