For each successful ping command, include the IP header data of an outgoing ICMP Echo Request message and an incoming ICMP Echo Reply message (with respect to the private network).
What will be an ideal response?
On PC1: PC1% ping –c 3 10.0.1.3
succeeds as both the hosts are in the same local network. No port or IP address mapping takes place.
PC1% ping –c 3 128.143.136.1
succeeds as evident from the following IP header dump on eth0 and eth1 interfaces.
```
Internet Protocol, Src Addr: 10.0.1.2 (10.0.1.2), Dst Addr: 128.143.136.1
(128.143.136.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 84
Identification: 0x0000
Flags: 0x04
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: ICMP (0x01)
Header checksum: 0x2817 (correct)
Source: 10.0.1.2 (10.0.1.2)
Destination: 128.143.136.1 (128.143.136.1)
128.143.136.1 (128.143.136.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 84
Identification: 0x0000
Flags: 0x04
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 63
Protocol: ICMP (0x01)
Header checksum: 0x2a73 (correct)
Source: 128.143.136.22 (128.143.136.22)
Destination: 128.143.136.1 (128.143.136.1)
```
On Router1:
Router1# ping 10.0.1.2 succeeds as both the hosts are in the same local network. No port or IP address mapping takes place.
Router1# ping 128.143.136.1 succeeds as evident from the following IP header dump on eth0 and eth1 interfaces.
```
Internet Protocol, Src Addr: 10.0.1.3 (10.0.1.3), Dst Addr: 128.143.136.1
(128.143.136.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 100
Identification: 0x000b
Flags: 0x00
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 255
Protocol: ICMP (0x01)
Header checksum: 0xa8fa (correct)
Source: 10.0.1.3 (10.0.1.3)
Destination: 128.143.136.1 (128.143.136.1)
Internet Protocol, Src Addr: 128.143.136.22 (128.143.136.22), Dst Addr:
128.143.136.1 (128.143.136.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 100
Identification: 0x000b
Flags: 0x00
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 254
Protocol: ICMP (0x01)
Header checksum: 0xab57 (correct)
Source: 128.143.136.22 (128.143.136.22)
Destination: 128.143.136.1 (128.143.136.1)
```
On PC4:
PC4% ping –c 3 10.0.1.2
The ping command is not successful as the host 10.0.1.2 lies in the private network and hence is not
visible to any machine in the public network. Moreover there is no direct entry for any such network
in PC4’s routing table. Also it does not have an entry for a default gateway. Hence the command doesn’t succeed.
You might also like to view...
Which of the following completes the sentence below correctly? A(n)_______ is a(n) ______________.
a. InputEvent, MouseEvent. b. ActionEvent, AdjustmentEvent. c. FocusEvent, WindowEvent. d. ContainerEvent, ComponentEvent.
The perimeter defense method divided computers into two camps: "Us" and "them".
Answer the following statement true (T) or false (F)
A prefix of ____________________ should be used when naming a Button object.
Fill in the blank(s) with the appropriate word(s).
Charlotte wishes to buy a house that sells for $110,000. Her credit union requires her to make a 10% down payment. The mortgage rate is 6% on a 20-year loan. Determine the amount of the required down payment and find the monthly mortgage. (Use the amortization table from your textbook.) Round your answers to the nearest cent. Down payment: $__________Monthly payment: $__________
What will be an ideal response?