You are on page 1of 7

1: DHCP

.
-

IP
:
IP
Subnet
IP

IP
:
IP
IP

:
DHCP - Dynamic Host Configuration Protocol ( 1993)

DHCP
Argon
00:a0:24:71:e4:44

DHCP Server

DHCP Request
00:a0:24:71:e4:44
Sent to 255.255.255.255

DHCP

( >100 )

DHCP
OpCode: 1 (), 2()
: DHCP

Hardware Type: 1 ( Ethernet)


Hardware address length: 6 ( Ethernet)
Hop count: 0
Transaction ID: (
)
Seconds:
Client IP address, Your IP address, server IP address, Gateway IP
address, client hardware address, server host name, boot file name:
,

DHCP

Value

Message Type

DHCPDISCOVER

DHCPOFFER

DHCPREQUEST

DHCPDECLINE

DHCPACK

DHCPNAK

DHCPRELEASE

DHCPINFORM
6

( )
DHCP :
Subnet Mask, Name Server, Hostname, Domain Name,
Forward On/Off, Default IP TTL, Broadcast Address, Static
Route, Ethernet Encapsulation, X Window Manager, X
Window Font, DHCP Msg Type, DHCP Renewal Time, DHCP
Rebinding, Time SMTP-Server, SMTP-Server, Client FQDN,
Printer Name,

DHCP

DHCP

DCHP DISCOVER

DCHP OFFER

DHCP

DCHP Request
DHCP Acknowledge

DHCP


IP


50%

10

DHCP

DCHP RELEASE

DHCP
IP

11

1.
(ISP)
2000.
500.
2 .
))

IP
ISP
S
IP
?
) DHCP Discover, Offer, Request, Ack Release
30 , IP 1 ,
ISP DHCP
6 ?
) ISP 1 Mbit/s,
DHCP ?

12

1/.
IP
500.
IP 32 ,
2 (2n). 500
9-

IP

2 512 = 29.
, 23
ISP.
ISP :
148.194.8.0/23 10010100.11000010.00001000.00000000/23
subnet
,
/23 :
11111111.11111111.11111110.00000000
:
255.
255.
254.
.0
ISP :
- : 10010100.11000010.00001000.00000000 148.194.8.0
- :
10010100.11000010.00001001.11111111 148.194.9.255

13

1//.
)
2 :
DATADHCP-2h =[(Discover + Offer + Request + Ack) +
(Request + Ack )x(2h/0.5h-1) + Release]x500=(4*30+2*30*3+30)*500=
= 165000 B
Bytes
t
DATADHCP-total = DATADHCP-2h x 6/2 = 495000 Bytes

)
RDHCP = (495000 Bytes * 8 bits/Byte)/(6 h * 3600 sec/h) =183.33 bits/s
(RDHCP / 1 Mbit/s) *100 0.02 %

14