Cloud Native应用交付

  • 首页
  • 关于本站
  • 个人介绍
  • Downloads
  • Repo
    • Github
    • Container
  • F5
    • F5 Python SDK
    • F5-container
    • F5-LBaaS
  • 社交
    • 联系我
    • 微信/微博
    • 公众号
    • 打赏赞助
行至水穷处 坐看云起时
Cloud Native Application Services: cnadn.net
  1. 首页
  2. 路由器技术
  3. 正文

[原创总结]STUB、绝对STUB、NSSA、绝对NSSA对待默认路由及3类汇总的异同

2006年10月30日 8029点热度 0人点赞 0条评论

STUB区域:
自动多产生一条0.0.0.0 0.0.0.0的默认路由,原来的的区域间3类LSA还在.
r3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 20.0.0.2 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/129] via 20.0.0.2, 00:01:34, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
     10.0.0.0/24 is subnetted, 1 subnets
O IA    10.0.0.0 [110/128] via 20.0.0.2, 00:01:34, Serial1/0
C    192.168.0.0/24 is directly connected, Ethernet0/0
O*IA 0.0.0.0/0 [110/65] via 20.0.0.2, 00:01:34, Serial1/0
r3#sh ip ospf data
r3#sh ip ospf database

            OSPF Router with ID (20.0.0.3) (Process ID 1)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
20.0.0.2        20.0.0.2        227         0x80000004 0x00A88C 2
20.0.0.3        20.0.0.3        227         0x80000004 0x00999A 2

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         20.0.0.2        236         0x80000001 0x00F037
1.1.1.1         20.0.0.2        236         0x80000002 0x00439F
10.0.0.0        20.0.0.2        236         0x80000002 0x00E4F8

=========================
绝对STUB区域,只有0.0.0.0 0.0.0.0 的默认路由

r3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 20.0.0.2 to network 0.0.0.0

     20.0.0.0/24 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
C    192.168.0.0/24 is directly connected, Ethernet0/0
O*IA 0.0.0.0/0 [110/65] via 20.0.0.2, 00:00:23, Serial1/0

r3#sh ip ospf database

            OSPF Router with ID (20.0.0.3) (Process ID 1)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
20.0.0.2        20.0.0.2        46          0x80000008 0x00A090 2
20.0.0.3        20.0.0.3        46          0x80000008 0x00919E 2

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         20.0.0.2        57          0x80000001 0x00F037

总结:不管是STUB还是绝对STUB,ABR都会自动产生一条0.0.0.0的默认路由,STUB区域的LSA3还存在,绝对STUB区域没有了其他区域的LSA3,只有自动产生的默认路由的3类LSA.

===========================

NSSA区域,默认不会产生默认路由(使用default-information-originate可以产生一个7类的0.0.0.0的默认路由),3类的LSA还存在.
r3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 20.0.0.2 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/129] via 20.0.0.2, 00:01:45, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
C     &nb

sp; 20.0.0.0 is directly c
onnected, Serial1/0
     10.0.0.0/24 is subnetted, 1 subnets
O IA    10.0.0.0 [110/128] via 20.0.0.2, 00:01:45, Serial1/0
C    192.168.0.0/24 is directly connected, Ethernet0/0
O*N2 0.0.0.0/0 [110/1] via 20.0.0.2, 00:01:45, Serial1/0

From:http://www.mycisco.cn

r3#sh ip ospf database

            OSPF Router with ID (20.0.0.3) (Process ID 1)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
20.0.0.2        20.0.0.2        381         0x8000000F 0x0020FF 2
20.0.0.3        20.0.0.3        381         0x8000000F 0x00110E 2

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
1.1.1.1         20.0.0.2        388         0x80000005 0x00C413
10.0.0.0        20.0.0.2        388         0x80000005 0x00666C

                Type-7 AS External Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Tag
0.0.0.0         20.0.0.2        388         0x80000001 0x004540 0
192.168.0.0     20.0.0.3        888         0x80000001 0x00E11D 0

====================================

绝对NSSA区域,其他区域的3类LSA不再被传播进来,自动产生一条0.0.0.0的默认路由(3类LSA)
r3#sh ip ospf database

            OSPF Router with ID (20.0.0.3) (Process ID 1)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
20.0.0.2        20.0.0.2        1156        0x8000000F 0x0020FF 2
20.0.0.3        20.0.0.3        1156        0x8000000F 0x00110E 2

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         20.0.0.2        205         0x80000001 0x0078A7

                Type-7 AS External Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Tag
192.168.0.0     20.0.0.3        1663        0x80000001 0x00E11D 0
r3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 20.0.0.2 to network 0.0.0.0

     20.0.0.0/24 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
C    192.168.0.0/24 is directly connected, Ethernet0/0
O*IA 0.0.0.0/0 [110/65] via 20.0.0.2, 00:03:14, Serial1/0

总结:

STUB,NSSA都还存在其他区域的3类LSA。

绝对STUB,绝对NSSA都不再存在有其他区域的3类LSA。

STUB,绝对STUB,绝对NSSA 都会自动产生一条3类的0。0。0。0的默认路由

NSSA区域如果要有默认路由,需要在ABR上配置area X nssa  default-information-originate,且产生的是7类的0。0。0。0默认路由。

相关文章

  • 以前单位同事一次DHCP snooping排错经历
  • http://www.cisco.com/warp/public/707/gre_ipsec_ospf.html
  • IPSEC VPN上跑组播
  • NAT-WITH ACL OR ROUTE-MAP
  • ICMP TYPE CODE 对应表
本作品采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可
标签: OSPF LSA 末节路由 绝对末节路由
最后更新:2006年10月30日

纳米

linjing.io

打赏 点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

页面AI聊天助手

纳米

linjing.io

☁️迈向Cloud Native ADC ☁️

认证获得:
TOGAF: ID 152743
Kubernetes: CKA #664
Microsoft: MCSE MCDBA
Cisco: CCNP
Juniper: JNCIS
F5:
F5 Certified Solution Expert, Security
F5 Certified Technology Specialist, LTM/GTM/APM/ASM
F5 Certified BIG-IP Administrator
  • 点击查看本博技术要素列表
  • 归档
    分类
    • AI
    • Automation
    • Avi Networks
    • Cisco ACI
    • CISCO资源
    • F5 with ELK
    • F5-Tech tips
    • F5技术
    • Juniper
    • Linux
    • NGINX
    • SDN
    • ServiceMesh
    • WEB编程
    • WINDOWS相关
    • 业界文章
    • 交换机技术
    • 化云为雨/Openstack
    • 协议原理
    • 容器/k8s
    • 我的工作
    • 我的生活
    • 网站技术
    • 路由器技术
    • 项目案例
    标签聚合
    api gtm envoy DNS bigip network nginx neutron docker openstack k8s flannel istio F5 irule
    最近评论
    汤姆 发布于 8 个月前(09月10日) 嗨,楼主,里面的json怎么下载啊,怎么收费啊?
    汤姆 发布于 8 个月前(09月09日) 大佬,kib的页面可以分享下吗?谢谢
    zhangsha 发布于 1 年前(05月12日) 资料发给我下,谢谢纳米同志!!!!lyx895@qq.com
    李成才 发布于 1 年前(01月02日) 麻烦了,谢谢大佬
    纳米 发布于 1 年前(01月02日) 你好。是的,因为以前下载系统插件在一次升级后将所有的下载生成信息全弄丢了。所以不少文件无法下载。DN...
    浏览次数
    • Downloads - 183,779 views
    • 联系我 - 118,966 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 116,521 views
    • Github - 103,669 views
    • F5常见log日志解释 - 79,775 views
    • 从传统ADC迈向CLOUD NATIVE ADC - 下载 - 74,629 views
    • Sniffer Pro 4 70 530抓包软件 中文版+视频教程 - 74,320 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 67,770 views
    • 关于本站 - 60,919 views
    • 这篇文档您是否感兴趣 - 55,498 views
    链接表
    • F5SE创新
    • Jimmy Song‘s Blog
    • SDNlab
    • Service Mesh社区
    • 三斗室
    • 个人profile
    • 云原生社区

    COPYRIGHT © 2023 Cloud Native 应用交付. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang

    京ICP备14048088号-1

    京公网安备 11010502041506号