Network basics · Introduction · Module 2
Inside a packet: header, payload and the two addresses
Show topologyHide topology
H1 at the top is joined to R1 by the link 10.0.1.0/24, from H1’s eth0 to R1’s Ethernet0/0. R1 is joined to H2 at the bottom by the link 10.0.2.0/24, from R1’s Ethernet0/1 to H2’s eth0. Each device is drawn as an outline icon, a laptop for a host and a circle with crossing arrows for the router, with its name beside it. At each cable end, the interface name sits left of the cable and the last number of its address right of it; each link’s range of addresses is written beside its cable. A legend at the bottom explains the short forms.
What is inside a packet
The header and the payload
Where in one of H1’s packets does R1 find where the packet goes?
At the front. A packet has two parts, and the first, its header, holds the details that devices need to deliver the packet, among them where it comes from and where it goes (Figure 2.1). A router on the way reads the header to pass the packet on.
The rest is the payload, the data the packet carries for the receiver, here part of the data H1 sends H2. A web page you open usually reaches you in the payloads of many packets.
An outline titled “packet” holds two boxes side by side. The first, drawn in the accent color, reads “header: from and to”. The second, wider one reads “payload: the data”. The drawing is not to scale: in a real packet the payload is often much larger than the header.
How it works
The two addresses, and why every packet carries them
From and to: the two addresses
How does a header say that a packet goes to H2?
With an address, a number that other devices use to send packets to an interface. Here each address is written as four numbers separated by dots, and H2’s is 10.0.2.20. When your phone joins Wi-Fi, its Wi-Fi interface gets one too.
The header holds two of them, the one the packet comes from, its source address, and the one it goes to, its destination address.
R1 uses two interfaces in this network, so it has two addresses, 10.0.1.1 on H1’s link and 10.0.2.1 on H2’s. Which one is the source of R1’s test packet to H2? 10.0.2.1, the address of R1’s interface toward H2, Ethernet0/1. The destination is 10.0.2.20.
A request and its reply, step by step
When R1 sends one packet to H2 and H2 replies, who writes each header, and with which addresses?
R1 writes the header of its test packet to H2, and H2 writes the header of its reply (Figure 2.2). To show these headers, debug ip packet makes R1 print several lines for each test packet it sends and each reply it receives and keep them in its log. Each line gives the packet’s source address after s= and its destination address after d=.
Step 1 of 6
R1 starts with a little test data for H2, the payload of the packet. The header is not there yet.
Step 2 of 6
R1 puts a header in front of the payload, from 10.0.2.1, its address on Ethernet0/1, to 10.0.2.20.
Step 3 of 6
R1 sends the packet out through Ethernet0/1 and prints three lines for it, each with s=10.0.2.1 and d=10.0.2.20, the header it just wrote.
Step 4 of 6
H2 reads the destination address, finds its own address there and takes the payload. This step happens on H2, so R1 prints nothing for it.
Now H2 sends a reply to R1. Which addresses does H2 put in the reply’s header?
- From 10.0.2.20 to 10.0.2.1 (Correct): The reply comes from H2, so its source is H2’s address, 10.0.2.20. It goes back to R1, which sent the request from 10.0.2.1, so that is its destination.
- From 10.0.2.1 to 10.0.2.20: This is the request’s header copied as it was. The sender has changed, so the source cannot still be R1’s address.
- From 10.0.2.20 to 10.0.2.20: The source is right, but a destination of 10.0.2.20 would address the reply to H2 itself.
- From 10.0.2.1 to 10.0.2.1: The destination is right, but the source names the sender, and the sender is now H2.
Step 5 of 6
H2 sends its reply, with the same test data, from 10.0.2.20 to 10.0.2.1.
Step 6 of 6
R1 receives the reply on Ethernet0/1 and prints four lines for it.
R1 in the middle and H2 at the bottom, joined by a cable; at its ends the interface names Et0/1 at R1 and eth0 at H2 sit left of the cable, and the last numbers of their addresses, .1 and .20, right of it. At the top, an outline titled “packet” holds a header box and a payload box. The final picture: the header box reads “from 10.0.2.20, to 10.0.2.1”; beside the cable a tag “to 10.0.2.1” has a short arrow beside the cable pointing up to R1; a plain note left of R1 reads “reply in at Et0/1”, and a faint plain note beside H2 reads “H2 takes the payload”. In the steps before it, the payload appears first beside an empty header box reading “header: not yet”, then the header “from 10.0.2.1, to 10.0.2.20”, then a tag “to 10.0.2.20” appears beside the cable, with a short arrow pointing down to H2.
s=10.0.2.1 and d=10.0.2.20, the header it just wrote.H2 reads the destination address, finds its own address there and takes the payload. This step happens on H2, so R1 prints nothing for it.H2 sends its reply, with the same test data, from 10.0.2.20 to 10.0.2.1.Debug lines at this stepIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, rcvd 2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIBR1 receives the reply on Ethernet0/1 and prints four lines for it.Answer here to see step 5, or tap “Skip, show me”.
After one test packet to H2 (ping 10.0.2.20 repeat 1) with debug ip packet on, show logging | include IP: lists R1’s lines for it and for H2’s reply. The number left of each line is the step of Figure 2.2 at which R1 printed it. Read only s= and d=.
Lines appear as you step through.
R1#show logging | include IP:3IP: tableid=0, s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1) nexthop=10.0.2.20, routed via FIB3IP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sending3IP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sending full packet6IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE6IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, rcvd 26IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, stop process pak for forus packet6IP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIB
Full output · 30 lines
R1#show loggingSyslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) No Active Message Discriminator. No Inactive Message Discriminator. Console logging: disabled Monitor logging: level debugging, 0 messages logged, xml disabled, filtering disabled Buffer logging: level debugging, 43 messages logged, xml disabled, filtering disabled Exception Logging: size (4096 bytes) Count and timestamp logging messages: disabled Persistent logging: disabled Trap logging: level informational, 56 message lines logged Logging Source-Interface: VRF Name: Log Buffer (64000 bytes): Nov 24 20:10:19.419: %SYS-4-LOG_CLEARED: Logging buffer was cleared by user UnknownIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1) nexthop=10.0.2.20, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sending full packetIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, rcvd 2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIB
The reply has a header of its own, and since the reply comes from H2 and goes back to R1, its two addresses are the request’s, swapped (Figure 2.3).
H1 at the top, joined by a cable to R1 in the middle. Beside the cable between R1 and H2 at the bottom sit two short arrows. The left one points down, from R1 to H2; its tag, titled “R1’s packet”, reads “from 10.0.2.1, to 10.0.2.20”. The right one points up, from H2 to R1; its tag, titled “H2’s reply” and drawn in the accent color, reads “from 10.0.2.20, to 10.0.2.1”.
If H2 copied the request’s addresses into its reply, the reply’s destination would be H2’s own address, and the reply would not head back to R1.
Now H1 sends H2 a photo in three packets (Figure 2.4).
H1 at the top, R1 in the middle and H2 at the bottom, joined by two cables. Beside each cable, on its right, a short arrow points down, the way the packets travel. Right of the cable from H1 to R1, three packet tags are stacked, “3rd”, “2nd” and “1st” from top to bottom, so the first packet is nearest the device it travels toward, each reading “to 10.0.2.20”. The same three tags are stacked right of the cable from R1 to H2; there, the third packet, at the top of the stack, is drawn in the accent color. A plain note left of R1, with no box, reads “reads each packet alone”.
Since a router such as R1 handles each packet on its own, each packet needs H2’s address in its own header. Here R1 passes the packets on and leaves that address as it is.
The destination address names where a packet must end up, not the next device on the way. R1 is the first device that H1’s packets to H2 reach, yet none of them carries R1’s address as its destination.
Key idea
Every packet carries both addresses, and a ping reply swaps them.
Verify
Find a packet by its addresses
R1 sends packets to H1 and to H2. In its packet lines, how do you tell which packet is which?
R1’s lines from debug ip packet mix packets to and from both hosts, and the addresses after s= and d= tell them apart.
Two words give the direction. sending marks a packet that R1 starts to send, which can still fail, and rcvd marks one it receives. The word in brackets after an address is R1’s note, not another address. It is an interface name or a word such as “local” or “nil”.
On R1, the lines from two test packets to H1 and then two to H2. One line per packet is shown, for the first test packet to each host and its reply.
Tap a line, or “Not in the output”, then submit.
Find the line of H2’s reply arriving at R1.
R1#show logging | include IP:… 1 more line (see Full output)… 2 more lines (see Full output)… 10 more lines (see Full output)… 2 more lines (see Full output)… 9 more lines (see Full output)
Both hosts answered. For each sending line there is a rcvd line with the same two addresses the other way round.
Full output · 28 lines
R1#show logging | include IP:IP: tableid=0, s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0) nexthop=10.0.1.10, routed via FIBIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 100, sendingIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 100, sending full packetIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, rcvd 2IP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (Ethernet0/0) nexthop=10.0.1.1, routed via RIBIP: tableid=0, s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0) nexthop=10.0.1.10, routed via FIBIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 100, sendingIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 100, sending full packetIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, rcvd 2IP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (Ethernet0/0) nexthop=10.0.1.1, routed via RIBIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1) nexthop=10.0.2.20, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sending full packetIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, rcvd 2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIBIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1) nexthop=10.0.2.20, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 100, sending full packetIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, rcvd 2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 100, stop process pak for forus packetIP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIB
First, R1 sends H2 one test packet of the default size.
R1#ping 10.0.2.20 repeat 1Type escape sequence to abort.1Sending 1, 100-byte ICMP Echos to 10.0.2.20, timeout is 2 seconds:2!Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
100-byteis the size of the test packet, header included. R1’s line for it readslen 100, its length in bytes.- The single
!is the one reply that came back.
Then R1 makes the test packet ten times larger, 1000 bytes.
R1#ping 10.0.2.20 size 1000 repeat 1Type escape sequence to abort.Sending 1, 1000-byte ICMP Echos to 10.0.2.20, timeout is 2 seconds:!Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
The larger test packet also got its reply.
R1’s lines for the larger packet and its reply show whether the addresses changed too.
R1#show logging | include IP:… 1 more line (see Full output)1IP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 1000, sending… 2 more lines (see Full output)2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 1000, rcvd 2… 2 more lines (see Full output)
len 1000, where the smaller test readlen 100.- The reply is as large as the request.
s= and d= are the same as in the smaller test.
Full output · 7 lines
R1#show logging | include IP:IP: tableid=0, s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1) nexthop=10.0.2.20, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 1000, sendingIP: s=10.0.2.1 (local), d=10.0.2.20 (Ethernet0/1), len 1000, sending full packetIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 1000, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 1000, rcvd 2IP: s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (nil), len 1000, stop process pak for forus packetIP: tableid=0, s=10.0.2.20 (Ethernet0/1), d=10.0.2.1 (Ethernet0/1) nexthop=10.0.2.1, routed via RIB
Key idea
s= is the source, d= the destination.
Because debug ip packet prints a lot of output and uses a lot of the router’s resources, keep it on only for a short test and switch it off as soon as the test is done.
Troubleshoot
A packet to an address nobody has
What happens to a packet whose destination address belongs to no device?
If no device on the link has that address, R1 does not send the packet. Suppose you test H2 from R1 but type 10.0.2.30, an address no device has.
No reply from 10.0.2.30
H1 at the top, joined by a cable to R1 in the middle; H2 at the bottom, joined to R1 by a whole cable. Left of that cable, about halfway down, a tag reads “R1’s packet to 10.0.2.30”. A short arrow in the link color runs from the tag toward the cable, stops short of it, and is crossed out. A plain note right of the cable, with no box, reads “no device has .30”, and a plain note beside H2 gives its address, 10.0.2.20.
Symptom
The test gets no reply.
R1#ping 10.0.2.30Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.0.2.30, timeout is 2 seconds:1.....2Success rate is 0 percent (0/5)
- Each
.is a test packet that got no reply. 0/5means not one reply for five test packets.
- Each
Command
Read R1’s packet lines for the test, with
debug ip packeton.Output
R1’s lines for the first of the five test packets. R1 printed the same lines for each of the others.
R1#show logging | include IP:IP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIB1IP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sending2IP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failed… 12 more lines (see Full output)
sending: R1 starts to send the packet to 10.0.2.30.- Key line The line ends in
encapsulation failed. R1 knows the interface the packet leaves by, Ethernet0/1. No device on that link has 10.0.2.30, so R1 does not know how to send the packet on the link.
None of the three lines says
rcvd.Full output · 15 lines
R1#show logging | include IP:IP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failedIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failedIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failedIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failedIP: tableid=0, s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1) nexthop=10.0.2.30, routed via FIBIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, sendingIP: s=10.0.2.1 (local), d=10.0.2.30 (Ethernet0/1), len 100, encapsulation failed
What it means
- R1 uses the destination address to decide where a packet goes. For an address no device has, R1 has no device to deliver the packet to, so no reply can come.
- Nothing is broken. Ethernet0/1, the cable and H2 all keep working; only packets to 10.0.2.30 are affected.
Fix
Use H2’s real address, 10.0.2.20.
Proof
R1 tests H2 at its real address.
R1#ping 10.0.2.20Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.0.2.20, timeout is 2 seconds:1!!!!!2Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
- One
!per reply. 5/5, where the test of 10.0.2.30 read0/5.
- One
Key idea
When no device on the link has the packet’s destination address, R1 cannot send it, and the link keeps working for the devices on it.
Check
On R1, the lines while H1 sends it two test packets, one line per packet. H1’s test packets are a little smaller than R1’s (len 84).
Tap a line, or “Not in the output”, then submit.
H1 tests R1. Find the line of H1’s first packet arriving at R1.
R1#show logging | include IP:… 1 more line (see Full output)… 3 more lines (see Full output)… 2 more lines (see Full output)… 3 more lines (see Full output)… 1 more line (see Full output)
Full output · 14 lines
R1#show logging | include IP:IP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, rcvd 2IP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, stop process pak for forus packetIP: tableid=0, s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (Ethernet0/0) nexthop=10.0.1.1, routed via RIBIP: tableid=0, s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0) nexthop=10.0.1.10, routed via FIBIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 84, sendingIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 84, sending full packetIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, input feature, MCI Check(110), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSEIP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, rcvd 2IP: s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (nil), len 84, stop process pak for forus packetIP: tableid=0, s=10.0.1.10 (Ethernet0/0), d=10.0.1.1 (Ethernet0/0) nexthop=10.0.1.1, routed via RIBIP: tableid=0, s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0) nexthop=10.0.1.10, routed via FIBIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 84, sendingIP: s=10.0.1.1 (local), d=10.0.1.10 (Ethernet0/0), len 84, sending full packet
Summary
R1 in the middle and H2 at the bottom, joined by a cable; at its ends the interface names Et0/1 at R1 and eth0 at H2 sit left of the cable, and the last numbers of their addresses, .1 and .20, right of it. At the top, an outline titled “packet” holds a header box and a payload box. The header box reads “from 10.0.2.20, to 10.0.2.1”. Beside the cable a tag “to 10.0.2.1” has a short arrow beside the cable pointing up to R1. A plain note left of R1 reads “reply in at Et0/1”, and a faint plain note beside H2 reads “H2 takes the payload”.
- Every packet has a header with the delivery details and a payload with the data.
- The header holds the source and the destination address. Every packet carries both, because a router handles each packet on its own, and a ping reply swaps them.
- In R1’s packet lines,
s=is from andd=is to. R1 sends from the address of the interface the packet leaves by. - No reply came to a test of an address no device has; H2’s real address still answered every test packet.