Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1 1
On the DHCP server, we could use commands such as, show ip dhcp binding 2
2
to see the client ID that's associated with an IP address. 3
3
So this IP address is being allocated 4
4
to this client ID here and it was allocated automatically. 5
5
Now that client ID isn’t very easy to read. 6
6
So what I’ll do is go into the interface on the client 7
7
and shut that down, in this example a DHCP release message was sent 8
8
to the DHCP server before the interface was shut down. 9
9
So when we look at the binding on the DHCP server, no binding now exist. 10
10
So ip dhcp client and we'll specify a client-id in ascii 11
11
and you'll simply set it to PC 2 and hit enter 12
12
and then use the command no shut to bring the interface up. 13
13
So we see a discover message, there’s an offer request from the client 14
14
and an acknowledgement from the server. 15
15
show dhcp lease what we can see here is the client ID is set to PC 2 16
16
and this is the client ID hexadecimal dump. 17
17
On the server show ip dhcp binding notice the user name is the same as on the client. 18
18
This can be converted from hexadecimal to ASCII and you’ll get PC 2. 19
19
As an example, the hexadecimal value 50 is the decimal value 80 20
20
and equates to capital P 21
21
in the same way hexadecimal 43 is capital C and hexadecimal 32 is value 2. 22
22
So this equates to PC 2 which can also be seen on the server. 23
23
So I wanted to shut that interface down, and show you Wireshark. 24
24
So I'll shut it down, I’ll start a Wireshark capture. 25
25
On the server router 2 and on router 1 26
26
I'll no shut the interface and let’s see if we get some DHCP messages. 27
27
So firstly, here's a DHCP discover message. 28
28
Bootstrap protocol discover, so DHCP discover 29
29
source port is UDP port 68, destination port is UDP port 67 30
30
it’s a boot request or DHCP request 31
31
notice the client MAC address is A,B,C as configured, the client IP address is 0. 32
32
The PC doesn’t know what IP address to use 33
33
and it doesn’t know about any DHCP servers. so it sending a message 33
34
to the broadcast address 255.255.255.255 so you can see it’s a discover. 34
35
There's other information here including the host name 35
36
of the device making the request, as well as a client identifier. 36
37
Scrolling down a bit further, we can see the offer from the DHCP server. 37
38
So this is from the server to a broadcast address 38
39
because the client doesn’t have an IP address, it needs to be a broadcast. 39
40
So it's a DHCP offer, offering this IP address to a client with this MAC address. 40
41
We can see information such as, once again it’s an offer 41
42
client identifier, so that's the server IP address 42
43
lease time is 7 days because we configure that manually. 43
44
We can see the subnet mask being /24, we can see option 3 44
45
default gateway, we can see option 6, DNS server 45
46
and we can see option 150 TFTP server. 46
47
The client then request that address 47
48
the clients still doesn’t have an IP address 48
49
so it sends it from a source IP address of 0.0.0.0 to a broadcast 49
50
and it's asking the server through the request 50
51
if it can have this IP address that was previously offered 10.1.1.14 51
52
the server then acknowledges, that the client can have that address 51
53
notice it's still a broadcast 52
54
so the server is telling the client that, yes they can use this IP address. 53
55
so the client, with this Mac address once again 54
56
has now being drawn to the right to use that IP address 10.1.1.14 55
57
so the client can now start using this address 56
58
and we can see that on the client, that it was assigned this IP address.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.