Lectures notes for 2010 - KTH
Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH
ICMP Redirect ICMP Redirect message is sent by a router (R1) to the sender of an IP datagram (host) when the datagram should have been sent to a different router (R2). host (1) IP datagram (4) subsequent IP datagrams (3) ICMP Redirect R1 (2) IP datagram R2 Maguire ICMP Redirect 3: 25 of 33 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
PING: Packet InterNet Groper or sonar echo Ping was written by Mike Muuss 1 to test host reach-ability. Uses ICMP,most IP implementations support Ping server. Sends an ICMP echo request to a host Format of ICMP message for Echo request/reply (see Stevens, Vol. 1, figure 7.1, pg. 86) Type (0 or 8) code (0) 16 bit checksum 16 bit identifier 16 bit sequence number Optional data Look at ping across different connections 2 : • LAN • WAN • Hardwired SLIP • Dialup SLIP - extra delay due to the modems and the correction/compression With IP record route (RR) option tracing the route of the ping datagram. 1. Mike Muuss was killed in an automobile accident on November 20, 2000. http://ftp.arl.mil/~mike/ 2. For examples, see Stevens, Vol. 1, Chapter 7, pp. 86-90. Maguire PING: Packet InterNet Groper or sonar echo 3: 26 of 33 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
- Page 173 and 174: Gratuitous ARP Host sends a request
- Page 175 and 176: ARP - as seen with ethereal Time So
- Page 177 and 178: RARP: Reverse Address Resolution Pr
- Page 179 and 180: RARP server Someone has to know the
- Page 181 and 182: Novel IPX/SPX Addresses Another app
- Page 183 and 184: tcpdump Under HP-UX 11.0 # ./tcpdum
- Page 185 and 186: Tools Used: tcpdump Program tcpdump
- Page 187 and 188: Maguire Wireshark (formerly Etherea
- Page 189 and 190: Tools Used: sock Program • A simp
- Page 191 and 192: #include #include #include #incl
- Page 193 and 194: Wireshark’s IO Graph functionalit
- Page 195 and 196: Interarrival delay and variance Fig
- Page 197 and 198: Summary This lecture we have discus
- Page 199 and 200: [10] Gianluca Insolvibile, “The L
- Page 201 and 202: • IP • ICMP • Useful Diagnost
- Page 203 and 204: checksum, and options fields. Magui
- Page 205 and 206: MTU½≡Maximum Transmission Unit M
- Page 207 and 208: Fields relevant to Fragmentation
- Page 209 and 210: Serial line throughput At 9,000 bit
- Page 211 and 212: 7 {ECN Capable Transport (ECT) and
- Page 213 and 214: Precedence Precedence values are de
- Page 215 and 216: Precendence and telephony systems S
- Page 217 and 218: TTL field Time To Live (TTL) (8 bit
- Page 219 and 220: IPv4 Options • IPv4 options were
- Page 221 and 222: Categories of IP Options • Single
- Page 223: ICMP Port Unreachable Error Example
- Page 227 and 228: On a HP-UX 11.0 machine: ping -ov w
- Page 229 and 230: Useful Tool: Traceroute Programs De
- Page 231 and 232: This lecture we have discussed: •
- Page 233 and 234: IK1550 Internetworking/Internettekn
- Page 235 and 236: Transport layer protocols The trans
- Page 237 and 238: User Datagram Protocol (UDP) • Da
- Page 239 and 240: UDP Checksum and Pseudo-Header •
- Page 241 and 242: Port numbers in three groups Range
- Page 243 and 244: Fragmentation Required If datagram
- Page 245 and 246: • on a BSDI system: • each of t
- Page 247 and 248: With an even larger UDP packet I re
- Page 249 and 250: Datagram truncation What if the app
- Page 251 and 252: Learning about Socket programming F
- Page 253 and 254: UDP server design Stevens, Vol, 1,
- Page 255 and 256: Changed the client Changing the fol
- Page 257 and 258: if (!(proto = getprotobyname("raw")
- Page 259 and 260: ICMP Source Quench Error Since UDP
- Page 261 and 262: No error control Since UDP has no e
- Page 263 and 264: BOOTP continued When a request is s
- Page 265 and 266: DHCP: Dynamic Host Configuration Pr
- Page 267 and 268: • Message - used by a server to p
- Page 269 and 270: DHCP’s importance • allows reus
- Page 271 and 272: Example of dhcpd.conf ### Managed b
- Page 273 and 274: Trivial File Transfer Procotol (TFT
PING: Packet InterNet Groper or sonar echo<br />
Ping was written by Mike Muuss 1 to test host reach-ability. Uses ICMP,most IP<br />
implementations support Ping server. Sends an ICMP echo request to a host<br />
Format of ICMP message <strong>for</strong> Echo request/reply (see Stevens, Vol. 1, figure 7.1, pg. 86)<br />
Type (0 or 8) code (0) 16 bit checksum<br />
16 bit identifier 16 bit sequence number<br />
Optional data<br />
Look at ping across different connections 2 :<br />
• LAN<br />
• WAN<br />
• Hardwired SLIP<br />
• Dialup SLIP - extra delay due to the modems and the<br />
correction/compression<br />
With IP record route (RR) option tracing the route of the ping datagram.<br />
1. Mike Muuss was killed in an automobile accident on November 20, 2000. http://ftp.arl.mil/~mike/<br />
2. For examples, see Stevens, Vol. 1, Chapter 7, pp. 86-90.<br />
Maguire PING: Packet InterNet Groper or sonar echo 3: 26 of 33<br />
maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik