اس سبق کے بعد آپ DHCP pools/options/relay، NTP authentication، اور HSRP/VRRP/GLBP failover configure کر سکیں گے۔
Is lesson ke baad aap DHCP pools/options/relay, NTP authentication, aur HSRP/VRRP/GLBP failover configure kar sakenge.
After this lesson you will be able to configure DHCP pools/options/relay, NTP authentication, and HSRP/VRRP/GLBP failover.
Network services ایسی ہیں جیسے عمارت کی بنیادی سہولتیں — DHCP استقبالیہ ہے جو دفاتر الاٹ کرتا ہے، NTP عمارت کی گھڑی، FHRP backup دروازہ۔ کوئی خاص چیز نہیں، لیکن ان کے بغیر عمارت بند ہو جاتی ہے۔
Network services aisi hain jaise building ki bunyadi saholaten — DHCP reception hai jo offices allot karta hai, NTP building ki ghari, FHRP backup darwaza. Koi khaas cheez nahi, lekin in ke baghair building band ho jati hai.
Network services are like building utilities — DHCP is the reception desk assigning offices, NTP is the building clock, FHRP is the backup entrance. Nothing fancy, but without them the building stops working.

دو روٹرز (R1، R2) لیں جو gateway + DHCP/NTP سرور ہوں، ایک client روٹر۔ درمیان میں ایک switch۔ اگر PC image ہو تو استعمال کریں۔
Do routers (R1, R2) lein jo gateway + DHCP/NTP server hon, ek client router. Darmiyan mein ek switch. Agar PC image ho to use karein.
Use two routers (R1, R2) acting as gateway + DHCP/NTP servers, one client router. One switch between them. Test with a PC image if available.
DHCP pool بنائیں۔ Option 66 TFTP سرور کی طرف اشارہ کرتا ہے (VoIP phones کے لیے مفید)؛ lease مدت طے کرتی ہے۔
DHCP pool banayein. Option 66 TFTP server ki taraf ishara karta hai (VoIP phones ke liye mufeed); lease muddat tay karti hai.
Create the DHCP pool. Option 66 points to a TFTP server (useful for VoIP phones); lease defines the holding time.
ip dhcp pool CLIENTSnetwork 192.168.10.0 255.255.255.0default-router 192.168.10.1dns-server 8.8.8.8option 66 ascii 10.1.1.1lease 0 8Static IPs (gateway، servers) کو ہمیشہ pool سے exclude کریں۔ Bindings اور statistics verify کریں۔
Static IPs (gateway, servers) ko hamesha pool se exclude karein. Bindings aur statistics verify karein.
Always exclude static IPs (gateway, servers) from the pool. Verify bindings and statistics.
ip dhcp excluded-address 192.168.10.1 192.168.10.10show ip dhcp bindingshow ip dhcp server statisticsDHCP relay: اگر سرور دوسرے subnet میں ہو تو client VLAN interface پر helper-address لگائیں تاکہ broadcast آگے پہنچے۔
DHCP relay: agar server doosre subnet mein ho to client VLAN interface par helper-address lagayein taake broadcast aage pohonche.
DHCP relay: if the server lives in another subnet, use helper-address on the client VLAN interface to forward broadcasts.
interface FastEthernet0/0ip helper-address 10.1.1.100NTP کو MD5 authentication سے محفوظ کریں — logs، certificates اور troubleshooting سب درست وقت پر منحصر ہیں۔
NTP ko MD5 authentication se mehfooz karein — logs, certificates aur troubleshooting sab durust waqt par munhasir hain.
Secure NTP with MD5 authentication — logs, certificates and troubleshooting all depend on accurate time.
ntp authenticatentp authentication-key 1 md5 Cisco123ntp trusted-key 1ntp server 10.1.1.10 key 1show ntp statusHSRP configure کریں۔ زیادہ priority والا روٹر active بنتا ہے؛ preempt recovery کے بعد role واپس دلاتا ہے۔ Tracking uplink fail ہونے پر priority کم کرتی ہے۔
HSRP configure karein. Zyada priority wala router active banta hai; preempt recovery ke baad role wapas dilata hai. Tracking uplink fail hone par priority kam karti hai.
Configure HSRP. The higher priority router becomes active; preempt lets it reclaim the role after recovery. Tracking drops priority when the uplink fails.
interface FastEthernet0/0standby 10 ip 192.168.10.1standby 10 priority 110standby 10 preemptstandby 10 track 1 decrement 20VRRP open-standard مقابل ہے؛ GLBP دونوں gateways پر load balance کرتا ہے (active-active)۔ Active روٹر کا لنک بند کر کے failover ٹیسٹ کریں۔
VRRP open-standard muqabil hai; GLBP dono gateways par load balance karta hai (active-active). Active router ka link band kar ke failover test karein.
VRRP is the open-standard equivalent; GLBP load-balances across both gateways (active-active). Test by shutting the active router's link.
interface FastEthernet0/0vrrp 10 ip 192.168.10.1vrrp 10 priority 110vrrp 10 preemptglbp 10 ip 192.168.10.1glbp 10 priority 110glbp 10 preemptglbp 10 load-balancing round-robinیقین کریں کہ DHCP bindings موجود ہیں، client کو options مل رہے ہیں، NTP synchronized (authenticated) ہے، HSRP active/standby حالت میں ہے، اور active روٹر کا uplink بند کرنے پر failover کامیاب ہوتا ہے۔
Yaqeen karein ke DHCP bindings maujood hain, client ko options mil rahe hain, NTP synchronized (authenticated) hai, HSRP active/standby state mein hai, aur active router ka uplink band karne par failover kamyab hota hai.
Confirm DHCP bindings exist, the client gets options, NTP is synchronized (authenticated), HSRP state is active/standby, and failover works when the active router's uplink is shut.
show ip dhcp bindingshow ntp statusshow standby briefshow vrrp briefshow glbp brief