يريد المسؤول تكوين جهاز الدفاع عن تهديد جدار الحماية (FTD) كخادم DHCP لمحطة عمل وإعداد حجز عنوان DHCP لجهاز نقطة نهاية.
يتضمن التكوين تكوين خادم DHCP ل FTD بشكل طبيعي في مركز إدارة جدار الحماية (FMC) واستخدام FlexConfig لإضافة حجز IP لبروتوكول DHCP.
الدفاع ضد تهديد جدار الحماية (FTD)، الإصدار 10.x. كما تتأثر إصدارات البرامج الأخرى.
مركز إدارة جدران الحماية (FMC) 10.x. كما تتأثر إصدارات البرامج الأخرى.
المخطط

تتضمن بيئة DHCP المحددة ما يلي:
واجهة خادم DHCP هي NET200.
تجمع خوادم DHCP هو 192.0.2.10 - 50.
جهاز نقطة النهاية بعنوان MAC 0000.5E00.5301. الهدف هو حجز عنوان IP 192.0.2.45 لهذه النقطة الطرفية.
تم تكوين التجمع 192.0.2.10 - 50 على FTD Interface NET200:

بالنسبة لحجز عنوان IP الخاص ب DHCP، أستخدم FlexConfig:
نوع النشر: تعيين على "ONCE".
نوع التكوين: ثبتت إلى "إلحاق" (هذا هو التقصير). ويمكن أيضا إستخدام "Prepend".

التكوين الذي تم نشره:
device# show run dhcpd
dhcpd address 192.0.2.10-192.0.2.50 NET200
dhcpd enable NET200
dhcpd reserve-address 192.0.2.45 0000.5E00.5301 NET200
لالتقاط حزم DHCP تستخدم الأوامر التالية:
device# capture CAPI interface NET200 match udp any any eq bootpc
device# capture CAPI interface NET200 match udp any any eq bootps
يستمع عميل DHCP على منفذ UDP 68.
يستمع خادم DHCP على منفذ UDP 67.
تصحيح أخطاء DHCP:
device# debug dhcpd event 255
debug dhcpd event enabled at level 255
device# debug dhcpd packet 255
debug dhcpd packet enabled at level 255
ملاحظة: أستخدم تصحيح الأخطاء بحذر!
إخراج تصحيح الأخطاء أثناء تعيين عنوان IP:
DHCPD/RA: Server msg received, fip=ANY, fport=0 on NET200 interface
DHCPD: DHCPDISCOVER received from client 0100.5056.885f.d1 on interface NET200.
DHCPD:IP 248.57.222.26 ARP entry removed from the cache
DHCPD: send ping pkt to 192.0.2.45
DHCPD: ping got no response for ip: 192.0.2.45
DHCPD: MAC 0000.5E00.5301 is reserved for IP 192.0.2.45, allocating it
DHCPD: Add binding 192.0.2.45 to radix tree
DHCPD/RA: Binding successfully added to hash table
dhcpd_create_automatic_binding() adding NP rule for client 192.0.2.45
DHCPD: assigned IP address 192.0.2.45 to client 0100.5056.885f.d1.
DHCPD: Sending DHCPOFFER to client 0100.5056.885f.d1 (192.0.2.45).
DHCPD: Total # of raw options copied to outgoing DHCP message is 0.
DHCPD/RA: creating ARP entry (192.0.2.45, 0000.5E00.5301).
DHCPD: unicasting BOOTREPLY to client 0000.5E00.5301(192.0.2.45).
DHCPD/RA: Server msg received, fip=ANY, fport=0 on NET200 interface
DHCPD: DHCPDISCOVER received from client 0100.5056.885f.d1 on interface NET200.
DHCPD: Sending DHCPOFFER to client 0100.5056.885f.d1 (192.0.2.45).
DHCPD: Total # of raw options copied to outgoing DHCP message is 0.
DHCPD/RA: creating ARP entry (192.0.2.45, 0000.5E00.5301).
DHCPD: unicasting BOOTREPLY to client 0000.5E00.5301(192.0.2.45).
DHCPD/RA: Server msg received, fip=ANY, fport=0 on NET200 interface
DHCPD: DHCPDISCOVER received from client 0100.5056.885f.d1 on interface NET200.
DHCPD: Sending DHCPOFFER to client 0100.5056.885f.d1 (192.0.2.45).
DHCPD: Total # of raw options copied to outgoing DHCP message is 0.
DHCPD/RA: creating ARP entry (192.0.2.45, 0000.5E00.5301).
DHCPD: unicasting BOOTREPLY to client 0000.5E00.5301(192.0.2.45).
DHCPD/RA: Server msg received, fip=ANY, fport=0 on NET200 interface
DHCPD: DHCPREQUEST received from client 0100.5056.885f.d1.
DHCPD: Extracting client address from the message
DHCPD: State = DHCPS_REBOOTING
DHCPD: State = DHCPS_REQUESTING
DHCPD: Client 0100.5056.885f.d1 specified it's address 192.0.2.45
DHCPD: Client is on the correct network
DHCPD: Client accepted our offer
DHCPD: Client and server agree on address 192.0.2.45
DHCPD: Renewing client 0100.5056.885f.d1 lease
DHCPD: Client lease can be renewed
DHCPD: Sending DHCPACK to client 0100.5056.885f.d1 (192.0.2.45).
DHCPD: Including FQDN option name 'DESKTOP-VQ7968K' rcode1=0, rcode2=0 flags=0x0
DHCPD: Total # of raw options copied to outgoing DHCP message is 0.
DHCPD/RA: creating ARP entry (192.0.2.45, 0000.5E00.5301).
DHCPD: unicasting BOOTREPLY to client 0000.5E00.5301(192.0.2.45).
التحقق من ربط DHCP:
device# show dhcpd binding
IP address Client Identifier Lease expiration Type
192.0.2.45 0100.005e.0053.01 3589 seconds Automatic
لا تدعم FMC بشكل طبيعي تكوين حجز عنوان IP لبروتوكول DHCP. لذلك، يجب إستخدام FlexConfig لتكوين حجز عنوان IP.
عيب التعزيز ذو الصلة: معرف تصحيح الأخطاء من Cisco CSCwn24229.
| المراجعة | تاريخ النشر | التعليقات |
|---|---|---|
1.0 |
14-May-2026
|
الإصدار الأولي |