Static routes — egress-interface रूप (point-to-point)
- Routing
- शुरुआती
- 8 मिनट
- 2 चरण
- Cisco IOS-style
static-routes-basic जैसी hub-and-spoke topology, पर static route का अलग आकार: IP next-hop के बजाय egress interface का नाम दें। Point-to-point links पर मान्य; FIB packet को सीधे interface से बाहर भेजती है और wire पर destination के लिए ARP करती है।
मुफ़्त · बिना इंस्टॉल · बिना अकाउंट
परिदृश्य
ip route दो next-hop forms accept करता है: | Form | Example | कब इस्तेमाल करें | | --- | --- | --- | | IP next-hop | ip route 10.0.2.0 255.255.255.252 10.0.1.1 | Multi-access links, recursive lookups | | Egress interface | ip route 10.0.2.0 255.255.255.252 Gi0/0 | Point-to-point links और tunnels | Egress-interface form छोटा है और recursive FIB lookup से बचाता है — router तुरंत जानता है कि packet किस interface से भेजना है, और उसी interface पर *destination* IP के लिए ARP करता है। /30 P2P link पर यह safe है क्योंकि वहाँ exactly एक peer होता है। Multi-access link पर (कई hosts वाला /24 Ethernet) यह *unsafe* है — router हर destination के लिए proxy-ARP करेगा और प्रत्येक remote host के लिए एक CAM-table entry बनाएगा। इस lab में S1, Gi0/0 के ज़रिए /30 link पर H (hub) से जुड़ा है। आप egress-interface form से S2 के subnet पर एक static route कॉन्फ़िगर करेंगे।
टोपोलॉजी
4 × router · Cisco IOS-style
Hub— routerSpoke1— routerSpoke2— routerSpoke3— router
आप क्या करेंगे
S1पर,10.0.2.0/30(S2 का subnet) के लिए static route कॉन्फ़िगर करें, egress interface के रूप मेंGi0/0का उपयोग करें।S1परshow ip routeसे verify करें। नई entryS(static) source के तहत दिखनी चाहिए।
इस विषय पर और लैब
- Syntax delta — static route (Extreme EXOS)शुरुआती · 4 मिनट
- Syntax delta — static route (Cisco IOS)शुरुआती · 4 मिनट
- Syntax delta — static route (Juniper Junos)शुरुआती · 5 मिनट
- Syntax delta — static route (VyOS)शुरुआती · 5 मिनट
- Static routes — hub-and-spoke ठीक करेंशुरुआती · 12 मिनट
- EIGRP: तीन-router chain में AS 100मध्यम · 14 मिनट
यह लैब अन्य भाषाओं में
Static routes — egress-interface form (point-to-point)Statische Routen — Egress-Interface-Form (Point-to-Point)Rutas estáticas — forma de interfaz de salida (point-to-point)Rotas estáticas — forma de interface de saída (point-to-point)Routes statiques — forme d'interface de sortie (point-to-point)静态路由 — egress-interface 形式(point-to-point)Rotte statiche — forma di interfaccia di uscita (point-to-point)静的ルート — 出力インターフェイス形式(point-to-point)정적 경로 — egress-interface 형태 (point-to-point)Статические маршруты — форма с выходным интерфейсом (point-to-point)Statik rotalar — çıkış arayüzü biçimi (point-to-point)Tuyến tĩnh — dạng interface đi ra (point-to-point)