Académique Documents
Professionnel Documents
Culture Documents
DIEGO LIRA
0501296
dlira01@students.poly.edu
Workstation: AGNI
MAC: 00:04:75:B5:20:B5
Lab Report 4
Due March 20, 2013
Exercise 1
PING initiated from my computer:
35
41.374728
seq=8/2048, ttl=64
42
60
60
2
0.000031
seq=1/256, ttl=64
42
Exercise 2
1
0.000000
128.238.63.2
255.255.255.255
RIPv1 86
Response
3.125920
128.238.63.3
255.255.255.255
RIPv1 86
Response
The network segment is directly connect to 2 routers, so they forward only 2 RIP messages.
The Ethernet frame encapsulates the IP frame, IP encapsulates UDP, and the RIP information is the
innermost.
Ethernet frame:
Destination
Address
Source
Address
Frame
Type
Data
CRC
IP frame:
Version
Hdr Len
Differentiated
Services
Identification
Time to Live
Total Length
Flags
Protocol
Fragment Offset
Header Checksum
Source IP Address
Destination IP Address
Options (if any, <= 40 bytes)
Data
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable
Transport))
Total Length: 72
Identification: 0x0000 (0)
Flags: 0x00
Fragment offset: 0
Time to live: 2
Protocol: UDP (17)
Header checksum: 0xf8b5 [correct]
Source: 128.238.63.2 (128.238.63.2) ROUTER 2
Destination: 255.255.255.255 (255.255.255.255)
UDP header:
Destination Port
Number
Length
Checksum
command(1-6)
version(1)
set to zero
set to zero
4-byte IP address
set to zero
set to zero
metric (1-16)
The contents of the RIP messages are very similar for all computers. Each message shows two subnets
and their distance (metric), that is 1 for the nearer subnet and 2 for the farthest subnet. The subnet that
would have distance 3 doesnt show because RIP routers only maintain the best route, so this subnet
shows as being with distance 1 using another router to reach it.
5
Destination
No. of hops
128.238.62.0
128.238.63.0
128.238.64.0
Destination
No. of hops
128.238.61.0
128.238.63.0
128.238.64.0
Destination
No. of hops
128.238.61.0
128.238.63.0
128.238.64.0
Destination
No. of hops
128.238.61.0
128.238.62.0
128.238.64.0
Destination
No. of hops
128.238.61.0
128.238.62.0
128.238.64.0
Destination
No. of hops
128.238.61.0
128.238.62.0
128.238.63.0
Destination
No. of hops
128.238.61.0
128.238.62.0
128.238.63.0
Destination
No. of hops
128.238.62.0
128.238.63.0
128.238.64.0
Destination
No. of hops
Next Hop
7
128.238.61.0
128.238.61.0
128.238.62.0
128.238.62.0
128.238.63.0
128.238.62.0
128.238.64.0
128.238.61.0
Destination
No. of hops
Next Hop
128.238.61.0
128.238.62.0
128.238.62.0
128.238.62.0
128.238.63.0
128.238.63.0
128.238.64.0
128.238.63.0
Destination
No. of hops
Next Hop
128.238.61.0
128.238.64.0
128.238.62.0
128.238.63.0
128.238.63.0
128.238.63.0
128.238.64.0
128.238.64.0
Destination
No. of hops
Next Hop
128.238.61.0
128.238.61.0
128.238.62.0
128.238.61.0
128.238.63.0
128.238.64.0
128.238.64.0
128.238.64.0
Exercise 4
2
host)
0.002127
128.238.63.3
128.238.63.102 ICMP
70
Redirect
(Redirect for
Type: 5 (Redirect)
Code: 1 (Redirect for host)
Checksum: 0x660c [correct]
Gateway address: 128.238.63.2 (128.238.63.2)
The routing table wont change because we prevented automatic updating in the router settings, but if
not for this the routing table would be update and an entry would have the D flag (route created by
redirect).
Gateway
128.238.63.0 *
127.0.0.0
default
Genmask
255.255.255.0 U
255.0.0.0
128.238.63.3 0.0.0.0
00
00
UG
0 eth0
0 lo
00
0 eth0
Exercise 5
1
0.000000
128.238.66.4 255.255.255.255
Advertisement (Normal router advertisement)
ICMP
60
Mobile IP
Preference level: 0
Router 4 sends the advertisement in broadcast. SHAKTI has 1 default router entry.
Gateway
Genmask
255.255.255.0 U
169.254.0.0
255.255.0.0
127.0.0.0
0.0.0.0
0.0.0.0
255.0.0.0
U
U
00
00
00
00
0 eth0
0 eth0
0 eth0
0 lo
10