IPv6 static route — egress-interface form
- IPv6
- Intermediate
- 7 min
- 2 steps
- Cisco IOS-style
Two routers on a /64 P2P link. R1 reaches R2's loopback /128 via a static route whose next-hop is the *egress interface*, not an IPv6 address. Mirrors the IPv4 ip route X Y Gi0/0 shape; safe on point-to-point.
Open this lab in your browser →
Free · no install · no account
Scenario
IPv6 static routes accept two next-hop forms, mirroring IPv4: `` ipv6 route 2001:db8:99::1/128 2001:db8:1::2 ← address form ipv6 route 2001:db8:99::1/128 Gi0/0 ← egress-iface form `` The egress-interface form skips the recursive next-hop lookup — the FIB sends the packet straight out the interface and resolves the destination via Neighbor Discovery on the wire. Safe on point-to-point links and tunnels; unsafe on multi-access Ethernets where every destination triggers a separate ND.
Topology
2 × router · Cisco IOS-style
R1— routerR2— router
What you will do
On
R1, installipv6 route 2001:db8:99::1/128 Gi0/0— egress-interface form.From
R1, ping R2's loopback at2001:db8:99::1.
Open this lab in your browser →
More labs on this topic
- IPv6 dual-stack: addresses + a static routeIntermediate · 14 min
- OSPFv3 — IPv6 routing alongside OSPFv2Intermediate · 12 min
This lab in other languages
IPv6 Static-Route — Egress-Interface-FormRuta estática IPv6 — forma con interfaz de salidaRota estática IPv6 — forma com interface de saídaRoute statique IPv6 — forme avec interface de sortieIPv6 static route — egress-interface रूपIPv6 静态路由 —— 出接口形式Route statica IPv6 — forma con interfaccia di uscitaIPv6 スタティックルート — 出力インターフェース形式IPv6 정적 경로 — 송신 인터페이스 형식Статический маршрут IPv6 — форма с выходным интерфейсомIPv6 statik rota — çıkış arayüzü biçimiTuyến tĩnh IPv6 — dạng egress-interface