नेटवर्क लैब Docs सिम्युलेटर खोलें →

Static routes — egress-interface रूप (point-to-point)

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

आप क्या करेंगे

  1. S1 पर, 10.0.2.0/30 (S2 का subnet) के लिए static route कॉन्फ़िगर करें, egress interface के रूप में Gi0/0 का उपयोग करें।

  2. S1 पर show ip route से verify करें। नई entry S (static) source के तहत दिखनी चाहिए।

यह लैब ब्राउज़र में खोलें →

इस विषय पर और लैब

यह लैब अन्य भाषाओं में

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)