Lectures notes for 2010 - KTH
Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH
Additional ARP commands • publish entries (i.e., mechanically make an entry and answer replies) Publishing entires is one way that (embedded) devices can learn their IP addres. # arp -s birkexample 08:00:2B:00:EE:0B pub # arp -an (192.168.1.1) at 0:4:5a:de:e8:f9 ether … (172.16.32.20) at 8:0:2b:0:ee:b ether permanent published where birkexample has the IP address: 172.16.32.20 • expliclity delete entries # arp -d birkexample birkexample (172.16.32.20) deleted # arp -an (192.168.1.1) at 0:4:5a:de:e8:f9 ether Maguire Additional ARP commands 2: 27 of 52 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
ARP - as seen with ethereal Time Source Destination Protocol Info 1.995245 172.16.33.3 Broadcast ARP Who has 172.16.33.2? Tell 172.16.33.3 Frame 2 (60 bytes on wire, 60 bytes captured) Arrival Time: Mar 23, 2005 11:32:45.184792000 Time delta from previous packet: 1.995245000 seconds Time since reference or first frame: 1.995245000 seconds IEEE 802.3 Ethernet Destination: ff:ff:ff:ff:ff:ff (Broadcast) Source: 00:40:8c:30:d4:32 (172.16.33.3) Length: 36 Trailer: 00000000000000000000 Type: ARP (0x0806) Address Resolution Protocol (request) Hardware type: IEEE 802 (0x0006) Protocol type: IP (0x0800) Hardware size: 6 Protocol size: 4 Opcode: request (0x0001) Sender MAC address: 00:40:8c:30:d4:32 (172.16.33.3) Sender IP address: 172.16.33.3 (172.16.33.3) Target MAC address: ff:ff:ff:ff:ff:ff (Broadcast) Target IP address: 172.16.33.2 (172.16.33.2) 0000 ff ff ff ff ff ff 00 40 8c 30 d4 32 00 24 aa aa .......@.0.2.$.. 0010 03 00 00 00 08 06 00 06 08 00 06 04 00 01 00 40 ...............@ 0020 8c 30 d4 32 ac 10 21 03 ff ff ff ff ff ff ac 10 .0.2..!.........
- Page 123 and 124: Importing in to a Microsoft Excel 1
- Page 125 and 126: Figure 22: Final step -- Note that
- Page 127 and 128: Using a Perl script #!/usr/bin/perl
- Page 129 and 130: Choosing which columns to display F
- Page 131 and 132: Figure 26: Save your parameters and
- Page 133 and 134: Classful addressing Classically the
- Page 135 and 136: Special Case IP Addresses IP Addres
- Page 137 and 138: Classless Inter-Domain Routing (CID
- Page 139 and 140: IP address assignments Internet Ser
- Page 141 and 142: Problems with the dual functions of
- Page 143 and 144: Standardization Organizations The m
- Page 145 and 146: W. Richard Stevens • Born in Luan
- Page 147 and 148: [12] Van Jacobson, "If a Clean Slat
- Page 149 and 150: IP Basics Outline • IP Routing: D
- Page 151 and 152: Routing The internet protocols are
- Page 153 and 154: Forwarding • Next-Hop method - ro
- Page 155 and 156: Forwarding module A simplified view
- Page 157 and 158: Fast forwarding Mikael Degermark, A
- Page 159 and 160: where ddd is some numeric value. Ro
- Page 161 and 162: Host routing A host either: • kno
- Page 163 and 164: Combining layers Many devices now c
- Page 165 and 166: What to do with a new computer? We
- Page 167 and 168: ARP ≡ Address Resolution Protocol
- Page 169 and 170: Address Resolution Cache Since you
- Page 171 and 172: ARP example 2 B FTPd C resolver (1)
- Page 173: Gratuitous ARP Host sends a request
- 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 and 224: ICMP Port Unreachable Error Example
Additional ARP commands<br />
• publish entries (i.e., mechanically make an entry and answer replies)<br />
Publishing entires is one way that (embedded) devices can learn their IP addres.<br />
# arp -s birkexample 08:00:2B:00:EE:0B pub<br />
# arp -an<br />
(192.168.1.1) at 0:4:5a:de:e8:f9 ether<br />
…<br />
(172.16.32.20) at 8:0:2b:0:ee:b ether permanent published<br />
where birkexample has the IP address: 172.16.32.20<br />
• expliclity delete entries<br />
# arp -d birkexample<br />
birkexample (172.16.32.20) deleted<br />
# arp -an<br />
(192.168.1.1) at 0:4:5a:de:e8:f9 ether<br />
Maguire Additional ARP commands 2: 27 of 52<br />
maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik