Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
090_applicatifs:165dhcp:40-analyse_protocole [le 16/02/2025 à 14:36] – supprimée - modification externe (Date inconnue) 127.0.0.1 | 090_applicatifs:165dhcp:40-analyse_protocole [le 16/02/2025 à 14:36] (Version actuelle) – ↷ Page déplacée de 050_applicatifs:165dhcp:40-analyse_protocole à 090_applicatifs:165dhcp:40-analyse_protocole prof | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Analyse du protocole ====== | ||
+ | ===== Premier démarrage de la station ===== | ||
+ | ==== Résumé de la capture ==== | ||
+ | < | ||
+ | No. | ||
+ | 1 66.901361 | ||
+ | 2 66.901867 | ||
+ | 3 67.902846 | ||
+ | 4 67.904780 | ||
+ | 5 67.930502 | ||
+ | </ | ||
+ | - Le client effectue une découverte de serveur DHCP. Il n'a pas encore d' | ||
+ | - Le serveur (192.168.0.252) effectue un ping sur l' | ||
+ | - Le serveur offre une proposition au client. | ||
+ | - Le client fait une contre-proposition. L' | ||
+ | - Le serveur accepte la contre-proposition. Le bail est donc validé par les deux protagonistes. | ||
+ | ==== Analyse détaillée ==== | ||
+ | === Discover === | ||
+ | < | ||
+ | Frame 1 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 66.901361000 seconds] | ||
+ | [Time delta from previous displayed frame: 66.901361000 seconds] | ||
+ | [Time since reference or first frame: 66.901361000 seconds] | ||
+ | Frame Number: 2 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Address: Broadcast (ff: | ||
+ | .... ...1 .... .... .... .... = IG bit: Group address (multicast/ | ||
+ | .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default) | ||
+ | Source: QuantaCo_51: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00) | ||
+ | 0001 00.. = Differentiated Services Codepoint: Unknown (0x04) | ||
+ | .... ..0. = ECN-Capable Transport (ECT): 0 | ||
+ | .... ...0 = ECN-CE: 0 | ||
+ | Total Length: 328 | ||
+ | Identification: | ||
+ | Flags: 0x00 | ||
+ | 0... = Reserved bit: Not set | ||
+ | .0.. = Don't fragment: Not set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0x3996 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 0.0.0.0 (0.0.0.0) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67) | ||
+ | Source port: bootpc (68) | ||
+ | Destination port: bootps (67) | ||
+ | Length: 308 | ||
+ | Checksum: 0x746b [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Request (1) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Your (client) IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | <span class=" | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 01 | ||
+ | Option: (t=55,l=12) Parameter Request List | ||
+ | Option: (55) Parameter Request List | ||
+ | Length: 12 | ||
+ | Value: 011C02030F06770C2C2F1A79 | ||
+ | 1 = Subnet Mask | ||
+ | 28 = Broadcast Address | ||
+ | 2 = Time Offset | ||
+ | 3 = Router | ||
+ | 15 = Domain Name | ||
+ | 6 = Domain Name Server | ||
+ | 119 = Domain Search | ||
+ | 12 = Host Name | ||
+ | 44 = NetBIOS over TCP/IP Name Server | ||
+ | 47 = NetBIOS over TCP/IP Scope | ||
+ | 26 = Interface MTU | ||
+ | 121 = Classless Static Route | ||
+ | End Option</ | ||
+ | Padding | ||
+ | </ | ||
+ | Nous avons dans cette requête la liste des paramètres que le client souhaite recevoir, en plus bien entendu de son adresse IP. | ||
+ | |||
+ | Cette capture est également l' | ||
+ | |||
+ | === Ping === | ||
+ | < | ||
+ | Frame 2 (62 bytes on wire, 62 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 0.000506000 seconds] | ||
+ | [Time delta from previous displayed frame: 0.000506000 seconds] | ||
+ | [Time since reference or first frame: 66.901867000 seconds] | ||
+ | Frame Number: 3 | ||
+ | Frame Length: 62 bytes | ||
+ | Capture Length: 62 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: ICMP] | ||
+ | [Coloring Rule String: icmp] | ||
+ | Ethernet II, Src: D-Link_48: | ||
+ | Destination: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: D-Link_48: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol, Src: 192.168.0.252 (192.168.0.252), | ||
+ | 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: 48 | ||
+ | Identification: | ||
+ | Flags: 0x04 (Don't Fragment) | ||
+ | 0... = Reserved bit: Not set | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: ICMP (0x01) | ||
+ | Header checksum: 0xb83d [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.252 (192.168.0.252) | ||
+ | Destination: | ||
+ | Internet Control Message Protocol | ||
+ | Type: 8 (Echo (ping) request) | ||
+ | Code: 0 () | ||
+ | Checksum: 0xd3c8 [correct] | ||
+ | Identifier: 0x2437 | ||
+ | Sequence number: 0 (0x0000) | ||
+ | Data (20 bytes) | ||
+ | |||
+ | 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
+ | 0010 00 00 00 00 .... | ||
+ | Data: 0000000000000000000000000000000000000000 | ||
+ | </ | ||
+ | Rien de bien particulier, | ||
+ | |||
+ | === Offer === | ||
+ | < | ||
+ | Frame 3 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 1.000979000 seconds] | ||
+ | [Time delta from previous displayed frame: 1.000979000 seconds] | ||
+ | [Time since reference or first frame: 67.902846000 seconds] | ||
+ | Frame Number: 4 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: D-Link_48: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Notez bien que le client ne la connait pas encore...</ | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00) | ||
+ | 0001 00.. = Differentiated Services Codepoint: Unknown (0x04) | ||
+ | .... ..0. = ECN-Capable Transport (ECT): 0 | ||
+ | .... ...0 = ECN-CE: 0 | ||
+ | Total Length: 328 | ||
+ | Identification: | ||
+ | Flags: 0x00 | ||
+ | 0... = Reserved bit: Not set | ||
+ | .0.. = Don't fragment: Not set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0xb705 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.252 (192.168.0.252) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68) | ||
+ | Source port: bootps (67) | ||
+ | Destination port: bootpc (68) | ||
+ | Length: 308 | ||
+ | Checksum: 0x2a4d [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Reply (2) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | <span class=" | ||
+ | Your (client) IP address: 192.168.0.67 (192.168.0.67) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | Option: (t=53,l=1) DHCP Message Type = DHCP Offer | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 02 | ||
+ | Option: (t=54,l=4) Server Identifier = 192.168.0.252 | ||
+ | Option: (54) Server Identifier | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=51,l=4) IP Address Lease Time = 1 hour | ||
+ | Option: (51) IP Address Lease Time | ||
+ | Length: 4 | ||
+ | Value: 00000E10 | ||
+ | Option: (t=1,l=4) Subnet Mask = 255.255.255.0 | ||
+ | Option: (1) Subnet Mask | ||
+ | Length: 4 | ||
+ | Value: FFFFFF00 | ||
+ | Option: (t=3,l=4) Router = 192.168.0.252 | ||
+ | Option: (3) Router | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=15,l=10) Domain Name = " | ||
+ | Option: (15) Domain Name | ||
+ | Length: 10 | ||
+ | Value: 6D6169736F6E2E6D7273 | ||
+ | Option: (t=6,l=4) Domain Name Server = 192.168.0.252 | ||
+ | Option: (6) Domain Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=44,l=4) NetBIOS over TCP/IP Name Server = 192.168.0.252 | ||
+ | Option: (44) NetBIOS over TCP/IP Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | End Option</ | ||
+ | Padding | ||
+ | </ | ||
+ | Le serveur propose donc à notre client une configuration complète, avec tous les paramètres demandés que le serveur est en état de fournir. | ||
+ | |||
+ | === Request === | ||
+ | < | ||
+ | Frame 4 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 0.001934000 seconds] | ||
+ | [Time delta from previous displayed frame: 0.001934000 seconds] | ||
+ | [Time since reference or first frame: 67.904780000 seconds] | ||
+ | Frame Number: 5 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Address: Broadcast (ff: | ||
+ | .... ...1 .... .... .... .... = IG bit: Group address (multicast/ | ||
+ | .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default) | ||
+ | Source: QuantaCo_51: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | <span class=" | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00) | ||
+ | 0001 00.. = Differentiated Services Codepoint: Unknown (0x04) | ||
+ | .... ..0. = ECN-Capable Transport (ECT): 0 | ||
+ | .... ...0 = ECN-CE: 0 | ||
+ | Total Length: 328 | ||
+ | Identification: | ||
+ | Flags: 0x00 | ||
+ | 0... = Reserved bit: Not set | ||
+ | .0.. = Don't fragment: Not set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0x3996 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 0.0.0.0 (0.0.0.0) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67) | ||
+ | Source port: bootpc (68) | ||
+ | Destination port: bootps (67) | ||
+ | Length: 308 | ||
+ | Checksum: 0xd980 [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Request (1) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Your (client) IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | <span class=" | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 03 | ||
+ | <span class=" | ||
+ | Option: (54) Server Identifier | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | <span class=" | ||
+ | Option: (50) Requested IP Address | ||
+ | Length: 4 | ||
+ | Value: C0A80043 | ||
+ | Option: (t=55,l=12) Parameter Request List | ||
+ | Option: (55) Parameter Request List | ||
+ | Length: 12 | ||
+ | Value: 011C02030F06770C2C2F1A79 | ||
+ | 1 = Subnet Mask | ||
+ | 28 = Broadcast Address | ||
+ | 2 = Time Offset | ||
+ | 3 = Router | ||
+ | 15 = Domain Name | ||
+ | 6 = Domain Name Server | ||
+ | 119 = Domain Search | ||
+ | 12 = Host Name | ||
+ | 44 = NetBIOS over TCP/IP Name Server | ||
+ | 47 = NetBIOS over TCP/IP Scope | ||
+ | 26 = Interface MTU | ||
+ | 121 = Classless Static Route | ||
+ | End Option</ | ||
+ | Padding | ||
+ | </ | ||
+ | Notre client effectue sa requête, toujours en broadcast. Il indique cependant : | ||
+ | * l' | ||
+ | * l' | ||
+ | Il n'a pas d' | ||
+ | |||
+ | === ACK === | ||
+ | < | ||
+ | Frame 5 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 0.025722000 seconds] | ||
+ | [Time delta from previous displayed frame: 0.025722000 seconds] | ||
+ | [Time since reference or first frame: 67.930502000 seconds] | ||
+ | Frame Number: 6 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | Ethernet II, Src: D-Link_48: | ||
+ | Destination: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: D-Link_48: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol, Src: 192.168.0.252 (192.168.0.252), | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00) | ||
+ | 0001 00.. = Differentiated Services Codepoint: Unknown (0x04) | ||
+ | .... ..0. = ECN-Capable Transport (ECT): 0 | ||
+ | .... ...0 = ECN-CE: 0 | ||
+ | Total Length: 328 | ||
+ | Identification: | ||
+ | Flags: 0x00 | ||
+ | 0... = Reserved bit: Not set | ||
+ | .0.. = Don't fragment: Not set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0xb705 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.252 (192.168.0.252) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68) | ||
+ | Source port: bootps (67) | ||
+ | Destination port: bootpc (68) | ||
+ | Length: 308 | ||
+ | Checksum: 0x274d [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Reply (2) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Your (client) IP address: 192.168.0.67 (192.168.0.67) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | Option: (t=53,l=1) DHCP Message Type = DHCP ACK | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 05 | ||
+ | Option: (t=54,l=4) Server Identifier = 192.168.0.252 | ||
+ | Option: (54) Server Identifier | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=51,l=4) IP Address Lease Time = 1 hour | ||
+ | Option: (51) IP Address Lease Time | ||
+ | Length: 4 | ||
+ | Value: 00000E10 | ||
+ | Option: (t=1,l=4) Subnet Mask = 255.255.255.0 | ||
+ | Option: (1) Subnet Mask | ||
+ | Length: 4 | ||
+ | Value: FFFFFF00 | ||
+ | Option: (t=3,l=4) Router = 192.168.0.252 | ||
+ | Option: (3) Router | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=15,l=10) Domain Name = " | ||
+ | Option: (15) Domain Name | ||
+ | Length: 10 | ||
+ | Value: 6D6169736F6E2E6D7273 | ||
+ | Option: (t=6,l=4) Domain Name Server = 192.168.0.252 | ||
+ | Option: (6) Domain Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=44,l=4) NetBIOS over TCP/IP Name Server = 192.168.0.252 | ||
+ | Option: (44) NetBIOS over TCP/IP Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | End Option | ||
+ | Padding | ||
+ | </ | ||
+ | Le serveur donne donc son accord pour le bail avec ses paramètres définitifs. Il n'y a plus ici de broadcast, le serveur s' | ||
+ | |||
+ | ===== Renouvèlement ===== | ||
+ | Lorsque nous sommes arrivé à l' | ||
+ | < | ||
+ | No. | ||
+ | 1 0.000000 | ||
+ | |||
+ | Frame 1 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 0.000000000 seconds] | ||
+ | [Time delta from previous displayed frame: 0.000000000 seconds] | ||
+ | [Time since reference or first frame: 0.000000000 seconds] | ||
+ | Frame Number: 1 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | Ethernet II, Src: QuantaCo_51: | ||
+ | Destination: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: QuantaCo_51: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol, Src: 192.168.0.67 (192.168.0.67), | ||
+ | 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: 328 | ||
+ | Identification: | ||
+ | Flags: 0x04 (Don't Fragment) | ||
+ | 0... = Reserved bit: Not set | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0xb715 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.67 (192.168.0.67) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67) | ||
+ | Source port: bootpc (68) | ||
+ | Destination port: bootps (67) | ||
+ | Length: 308 | ||
+ | Checksum: 0x2eef [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Request (1) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | <span class=" | ||
+ | Your (client) IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | <span class=" | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 03 | ||
+ | Option: (t=55,l=12) Parameter Request List | ||
+ | Option: (55) Parameter Request List | ||
+ | Length: 12 | ||
+ | Value: 011C02030F06770C2C2F1A79 | ||
+ | 1 = Subnet Mask | ||
+ | 28 = Broadcast Address | ||
+ | 2 = Time Offset | ||
+ | 3 = Router | ||
+ | 15 = Domain Name | ||
+ | 6 = Domain Name Server | ||
+ | 119 = Domain Search | ||
+ | 12 = Host Name | ||
+ | 44 = NetBIOS over TCP/IP Name Server | ||
+ | 47 = NetBIOS over TCP/IP Scope | ||
+ | 26 = Interface MTU | ||
+ | 121 = Classless Static Route | ||
+ | End Option</ | ||
+ | Padding | ||
+ | </ | ||
+ | Et le serveur répond : | ||
+ | < | ||
+ | No. | ||
+ | 2 0.027503 | ||
+ | |||
+ | Frame 2 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 10: | ||
+ | [Time delta from previous captured frame: 0.027503000 seconds] | ||
+ | [Time delta from previous displayed frame: 0.027503000 seconds] | ||
+ | [Time since reference or first frame: 0.027503000 seconds] | ||
+ | Frame Number: 2 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | Ethernet II, Src: D-Link_48: | ||
+ | Destination: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: D-Link_48: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol, Src: 192.168.0.252 (192.168.0.252), | ||
+ | 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: 328 | ||
+ | Identification: | ||
+ | Flags: 0x04 (Don't Fragment) | ||
+ | 0... = Reserved bit: Not set | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0xb715 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.252 (192.168.0.252) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68) | ||
+ | Source port: bootps (67) | ||
+ | Destination port: bootpc (68) | ||
+ | Length: 308 | ||
+ | Checksum: 0x6661 [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Reply (2) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 0 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 192.168.0.67 (192.168.0.67) | ||
+ | <span class=" | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | <span class=" | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 05 | ||
+ | Option: (t=54,l=4) Server Identifier = 192.168.0.252 | ||
+ | Option: (54) Server Identifier | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=51,l=4) IP Address Lease Time = 1 hour | ||
+ | Option: (51) IP Address Lease Time | ||
+ | Length: 4 | ||
+ | Value: 00000E10 | ||
+ | Option: (t=1,l=4) Subnet Mask = 255.255.255.0 | ||
+ | Option: (1) Subnet Mask | ||
+ | Length: 4 | ||
+ | Value: FFFFFF00 | ||
+ | Option: (t=3,l=4) Router = 192.168.0.252 | ||
+ | Option: (3) Router | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=15,l=10) Domain Name = " | ||
+ | Option: (15) Domain Name | ||
+ | Length: 10 | ||
+ | Value: 6D6169736F6E2E6D7273 | ||
+ | Option: (t=6,l=4) Domain Name Server = 192.168.0.252 | ||
+ | Option: (6) Domain Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | Option: (t=44,l=4) NetBIOS over TCP/IP Name Server = 192.168.0.252 | ||
+ | Option: (44) NetBIOS over TCP/IP Name Server | ||
+ | Length: 4 | ||
+ | Value: C0A800FC | ||
+ | End Option</ | ||
+ | Padding | ||
+ | </ | ||
+ | Notez que dans le dialogue, le client annonce cette fois-ci son adresse IP et que le serveur la lui confirme. Toutes les autres options peuvent changer d'un bail à l' | ||
+ | |||
+ | Ce renouvèlement se fait entièrement en mode unicast. | ||
+ | |||
+ | ===== Le grain de sable ===== | ||
+ | Tout ceci est parfait, mais imaginons que notre serveur DHCP tombe en panne. Que va-t-il se produire ? Faisons la manip. Nous jouons un sale tour à notre client en posant sur le serveur DHCP la règle IPtables : | ||
+ | iptables -A OUTPUT -d 192.168.0.67 | ||
+ | Alors... | ||
+ | |||
+ | ==== Renew ==== | ||
+ | A l' | ||
+ | |||
+ | Le client insiste : | ||
+ | < | ||
+ | No. | ||
+ | 1 0.000000 | ||
+ | 2 4.995823 | ||
+ | 3 14.995826 | ||
+ | 4 29.995825 | ||
+ | 5 44.995826 | ||
+ | 6 51.995826 | ||
+ | 7 62.995841 | ||
+ | 8 74.995824 | ||
+ | 9 95.995830 | ||
+ | 10 116.995824 | ||
+ | 11 129.995829 | ||
+ | 12 148.995836 | ||
+ | 13 163.995835 | ||
+ | 14 177.995833 | ||
+ | 15 193.995844 | ||
+ | 16 211.995839 | ||
+ | 17 225.995830 | ||
+ | ... | ||
+ | </ | ||
+ | Admirez la patience (obstination ?) de notre client qui va sans relâche insister jusqu' | ||
+ | < | ||
+ | No. | ||
+ | 1 0.000000 | ||
+ | 2 15.000000 | ||
+ | 3 23.999995 | ||
+ | 4 39.999999 | ||
+ | 5 58.000005 | ||
+ | 6 78.999998 | ||
+ | <span class=" | ||
+ | 8 111.000002 | ||
+ | 9 131.999996 | ||
+ | 10 151.999988 | ||
+ | 11 159.999990 | ||
+ | </ | ||
+ | Notre client change de tactique. Il n' | ||
+ | |||
+ | Voyons le détail des paquets 7 et 8 : | ||
+ | < | ||
+ | Frame 7 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 16: | ||
+ | [Time delta from previous captured frame: 10.999999000 seconds] | ||
+ | [Time delta from previous displayed frame: 10.999999000 seconds] | ||
+ | [Time since reference or first frame: 89.999997000 seconds] | ||
+ | Frame Number: 7 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Address: D-Link_48: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Source: QuantaCo_51: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | <span class=" | ||
+ | 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: 328 | ||
+ | Identification: | ||
+ | Flags: 0x04 (Don't Fragment) | ||
+ | 0... = Reserved bit: Not set | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0xb715 [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.67 (192.168.0.67) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67) | ||
+ | Source port: bootpc (68) | ||
+ | Destination port: bootps (67) | ||
+ | Length: 308 | ||
+ | Checksum: 0x27f7 [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Request (1) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 1784 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 192.168.0.67 (192.168.0.67) | ||
+ | Your (client) IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | Option: (t=53,l=1) DHCP Message Type = DHCP Request | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 03 | ||
+ | Option: (t=55,l=12) Parameter Request List | ||
+ | Option: (55) Parameter Request List | ||
+ | Length: 12 | ||
+ | Value: 011C02030F06770C2C2F1A79 | ||
+ | 1 = Subnet Mask | ||
+ | 28 = Broadcast Address | ||
+ | 2 = Time Offset | ||
+ | 3 = Router | ||
+ | 15 = Domain Name | ||
+ | 6 = Domain Name Server | ||
+ | 119 = Domain Search | ||
+ | 12 = Host Name | ||
+ | 44 = NetBIOS over TCP/IP Name Server | ||
+ | 47 = NetBIOS over TCP/IP Scope | ||
+ | 26 = Interface MTU | ||
+ | 121 = Classless Static Route | ||
+ | End Option | ||
+ | Padding | ||
+ | </ | ||
+ | Paquet 7, la requête est bien encore unicast. Dans la suivante : | ||
+ | < | ||
+ | Frame 8 (342 bytes on wire, 342 bytes captured) | ||
+ | Arrival Time: May 8, 2009 16: | ||
+ | [Time delta from previous captured frame: 21.000005000 seconds] | ||
+ | [Time delta from previous displayed frame: 21.000005000 seconds] | ||
+ | [Time since reference or first frame: 111.000002000 seconds] | ||
+ | Frame Number: 8 | ||
+ | Frame Length: 342 bytes | ||
+ | Capture Length: 342 bytes | ||
+ | [Frame is marked: False] | ||
+ | [Protocols in frame: eth: | ||
+ | [Coloring Rule Name: UDP] | ||
+ | [Coloring Rule String: udp] | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Address: Broadcast (ff: | ||
+ | .... ...1 .... .... .... .... = IG bit: Group address (multicast/ | ||
+ | .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default) | ||
+ | Source: QuantaCo_51: | ||
+ | Address: QuantaCo_51: | ||
+ | .... ...0 .... .... .... .... = IG bit: Individual address (unicast) | ||
+ | .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) | ||
+ | Type: IP (0x0800) | ||
+ | <span class=" | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00) | ||
+ | 0001 00.. = Differentiated Services Codepoint: Unknown (0x04) | ||
+ | .... ..0. = ECN-Capable Transport (ECT): 0 | ||
+ | .... ...0 = ECN-CE: 0 | ||
+ | Total Length: 328 | ||
+ | Identification: | ||
+ | Flags: 0x00 | ||
+ | 0... = Reserved bit: Not set | ||
+ | .0.. = Don't fragment: Not set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: UDP (0x11) | ||
+ | Header checksum: 0x78aa [correct] | ||
+ | [Good: True] | ||
+ | [Bad : False] | ||
+ | Source: 192.168.0.67 (192.168.0.67) | ||
+ | Destination: | ||
+ | User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67) | ||
+ | Source port: bootpc (68) | ||
+ | Destination port: bootps (67) | ||
+ | Length: 308 | ||
+ | Checksum: 0xe986 [correct] | ||
+ | [Good Checksum: True] | ||
+ | [Bad Checksum: False] | ||
+ | Bootstrap Protocol | ||
+ | Message type: Boot Request (1) | ||
+ | Hardware type: Ethernet | ||
+ | Hardware address length: 6 | ||
+ | Hops: 0 | ||
+ | Transaction ID: 0xc0b5592f | ||
+ | Seconds elapsed: 1805 | ||
+ | Bootp flags: 0x0000 (Unicast) | ||
+ | 0... .... .... .... = Broadcast flag: Unicast | ||
+ | .000 0000 0000 0000 = Reserved flags: 0x0000 | ||
+ | Client IP address: 192.168.0.67 (192.168.0.67) | ||
+ | Your (client) IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Next server IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Relay agent IP address: 0.0.0.0 (0.0.0.0) | ||
+ | Client MAC address: QuantaCo_51: | ||
+ | Server host name not given | ||
+ | Boot file name not given | ||
+ | Magic cookie: (OK) | ||
+ | Option: (t=53,l=1) DHCP Message Type = DHCP Request | ||
+ | Option: (53) DHCP Message Type | ||
+ | Length: 1 | ||
+ | Value: 03 | ||
+ | Option: (t=55,l=12) Parameter Request List | ||
+ | Option: (55) Parameter Request List | ||
+ | Length: 12 | ||
+ | Value: 011C02030F06770C2C2F1A79 | ||
+ | 1 = Subnet Mask | ||
+ | 28 = Broadcast Address | ||
+ | 2 = Time Offset | ||
+ | 3 = Router | ||
+ | 15 = Domain Name | ||
+ | 6 = Domain Name Server | ||
+ | 119 = Domain Search | ||
+ | 12 = Host Name | ||
+ | 44 = NetBIOS over TCP/IP Name Server | ||
+ | 47 = NetBIOS over TCP/IP Scope | ||
+ | 26 = Interface MTU | ||
+ | 121 = Classless Static Route | ||
+ | End Option | ||
+ | Padding | ||
+ | </ | ||
+ | Nous avons bien ici du broadcast, mais le reste de la requête reste inchangé. Le client conserve l' | ||
+ | |||
+ | Cependant notre règle IPtables est encore plus obstinée que notre client, il n'y a pas de nouveau serveur DHCP sur le réseau et finalement, le bail expire à l' | ||
+ | |||
+ | ==== Mort (et résurection) ==== | ||
+ | < | ||
+ | No. | ||
+ | 1 0.000000 | ||
+ | 2 14.999984 | ||
+ | 3 24.999987 | ||
+ | 4 38.999972 | ||
+ | 5 47.999964 | ||
+ | 6 64.999972 | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | 9 71.046704 | ||
+ | 10 71.115898 | ||
+ | </ | ||
+ | La trame 7 montre que notre client a perdu son adresse IP, mais il ne renonce toujours pas. Il fait maintenant une recherche de DHCP (Discover) et là, le miracle se produit, il redécouvre notre DHCP qui lui attribue alors un bail tout neuf. Contre toute attente, l' | ||
+ | |||
+ | Mais est-ce vraiment un miracle ? | ||
+ | |||
+ | En réalité, l' | ||
+ | |||
+ | S'il s' | ||
+ | ===== Conclusion ===== | ||
+ | Nous avons pu constater ici que DHCP est un protocole extrêmement opiniâtre et prudent. Le client se laisse de la marge en cas d' | ||
+ | |||
+ | Il n'aura pas échappé au lecteur attentif que, bien que le bail ait expiré, le nouveau bail récupéré par tromperie de Netfilter propose la même adresse IP que la précédente. Est-ce un hasard ? | ||
+ | |||
+ | Pas du tout. En réalité le serveur garde en mémoire toutes les informations concernant les baux qu'il distribue et dans toute la mesure du possible, cherchera à attribuer la même adresse IP à une adresse MAC donnée. C'est généralement le cas, sauf lorsqu' | ||
+ | |||
+ | Nous n' | ||
+ | |||
+ | Pour tout savoir sur DHCP, le mieux est de poursuivre par la lecture des [[http:// | ||
+ | ]]. |
Analyse du protocole: Dernière modification le: 01/01/1970 à 00:00 par