How to advertise some interface network into OSPF without been associated with any OSPF area ?

假設我們想要將特定介面(非所有介面)注入OSPF路由中,但是不讓它跟任何一個Area相關,唯一的方式只能使用External Route(redistribute)來達成,比較tricky的是要如何選定特定的interface,請參考:

interface loopback 0
ip address 10.1.1.1 255.255.255.255
!
route-map INT permit 10
match interface Loopback0
!
router ospf 1
redistribute connected subnets route-map INT

Comments

Popular posts from this blog

L2TPv3 Enables Layer 2 Services for IP Networks

TCP/IP 明確擁塞通知 (ECN)

Q-in-Q(Dot1Q Tunnel) Sample Configuration