اس لیب میں آپ eBGP کی بنیاد سیکھیں گے — دو الگ autonomous systems کے درمیان روٹنگ۔
Is lab mein aap eBGP ki bunyaad seekhenge — do alag autonomous systems ke darmiyan routing.
In this lab you will learn the basics of eBGP — routing between two different autonomous systems.
OSPF آپ کے شہر کے اندر کی گلیاں ہے۔ BGP دو ملکوں کے درمیان کا ہائی وے ہے — انٹرنیٹ اسی پر چلتا ہے۔ eBGP کا مطلب دو الگ کمپنیوں (AS numbers) کے درمیان روٹنگ۔ ہر کمپنی کا اپنا AS نمبر ہوتا ہے، جیسے ہر ملک کا اپنا کوڈ۔ iBGP ایک ہی کمپنی کے اندر ہوتا ہے (اس لیب میں نہیں)۔
OSPF aapke sheher ke andar ki galiyan hai. BGP do mulkon ke darmiyan ka highway hai — internet isi par chalta hai. eBGP ka matlab do alag companies (AS numbers) ke darmiyan routing. Har company ka apna AS number hota hai, jaise har mulk ka apna code. iBGP same company ke andar hota hai (is lab mein nahi).
OSPF is the streets inside your city. BGP is the highway between two countries — the internet runs on it. eBGP means routing between two different companies (AS numbers). Each company has its own AS number, like each country has its own code. iBGP is inside the same company (not in this lab).

R1 (AS 65001) اور R2 (AS 65002) 203.0.113.0/24 سے connected ہیں۔ ڈیوائسز: 2x روٹر 2911 (R1, R2)، 2x پی سی۔ PC1: 192.168.10.10/24 (R1 کے پیچھے)۔ PC2: 192.168.30.10/24 (R2 کے پیچھے)۔
R1 (AS 65001) aur R2 (AS 65002) 203.0.113.0/24 se connected. Devices: 2x Router 2911 (R1, R2), 2x PC PC1: 192.168.10.10/24 (R1 ke peeche). PC2: 192.168.30.10/24 (R2 ke peeche).
R1 (AS 65001) and R2 (AS 65002) are connected via 203.0.113.0/24. Devices: 2x Router 2911 (R1, R2), 2x PC. PC1: 192.168.10.10/24 (behind R1). PC2: 192.168.30.10/24 (behind R2).
R1 (AS 65001) پر eBGP۔ BGP پروسیس اپنے AS نمبر سے شروع ہوتا ہے۔ پھر neighbor بتائیں: اس کا IP اور اس کا AS نمبر۔
R1 (AS 65001) par eBGP. BGP process apne AS number se start hota hai. Phir neighbor batao: uska IP aur uska AS number.
eBGP on R1 (AS 65001). The BGP process starts with your own AS number. Then define the neighbor: its IP and its AS number.
enableconfigure terminalrouter bgp 65001neighbor 203.0.113.2 remote-as 65002network کمانڈ سے اپنی نیٹ ورک advertise کریں۔
network command se apni network advertise karo
Advertise your network with the network command.
network 192.168.10.0 mask 255.255.255.0exitR2 (AS 65002) پر eBGP۔ R2 کا اپنا AS (65002)۔ Neighbor R1 ہے (AS 65001)۔
R2 (AS 65002) par eBGP. R2 ka apna AS (65002). Neighbor R1 hai (AS 65001).
eBGP on R2 (AS 65002). R2's own AS is 65002. The neighbor is R1 (AS 65001).
enableconfigure terminalrouter bgp 65002neighbor 203.0.113.1 remote-as 65001دونوں طرف کانفگ match کرے تو BGP session Established ہوگی۔
Dono taraf config match kare to BGP session Established hogi
If the config matches on both sides, the BGP session will become Established.
network 192.168.30.0 mask 255.255.255.0exitٹیسٹنگ: show ip bgp summary — State/PfxRcd میں نمبر آنا چاہیے (Established)۔
Testing: show ip bgp summary — State/PfxRcd mein number aana chahiye (Established).
Testing: show ip bgp summary — there should be a number under State/PfxRcd (Established).
پھر PC1 سے PC2 پنگ کریں۔
Phir PC1 se PC2 ping karo.
Then ping PC2 from PC1.
show ip bgp summary سے session state دیکھیں۔ show ip bgp سے BGP ٹیبل دیکھیں۔
show ip bgp summary se session state dekho. show ip bgp se BGP table dekho.
Check the session state with show ip bgp summary. View the BGP table with show ip bgp.
show ip bgp summaryshow ip bgp