当前位置: 首页 > news >正文

IP unnumbered interface,某个接口不编号,某个接口不分配IP地址

OSPFv2中,提到点到点链路可以是unnumbered,不编号,不分配IP地址

12.4.1.1.  Describing point-to-point interfaces
                For point-to-point interfaces, one or more link
                descriptions are added to the router-LSA as follows:
                o   If the neighboring router is fully adjacent, add a
                    Type 1 link (point-to-point). The Link ID should be
                    set to the Router ID of the neighboring router. For
                    numbered point-to-point networks, the Link Data
                    should specify the IP interface address. For
                    unnumbered point-to-point networks, the Link Data
                    field should specify the interface's MIB-II [Ref8]
                    ifIndex value. The cost should be set to the output
                    cost of the point-to-point interface.
                o   In addition, as long as the state of the interface
                    is "Point-to-Point" (and regardless of the
                    neighboring router state), a Type 3 link (stub
                    network) should be added. There are two forms that
                    this stub link can take:

 某博文中写道,连接相邻交换机的两个接口的链路可以不分配IP子网,也就是连接两个路由器的两个接口也可以不分配IP地址。

 Can we get around the requirement of configuring IPv4 subnets on links that connect two routed interfaces on adjacent switches? Of course – we’ve been using unnumbered interfaces on point-to-point links for ages. It’s just that the routing protocol programmers haven’t realized the days of thick coax cable are gone; in this century most people use Ethernet on point-to-point links. There’s even a 6-year-old informational RFC describing this idea .

 该博文还写道,在OSPFv2中,将两个路由器之间的链路配置成不编号接口可以使其变为纯粹的拓扑元素,从而简化网络配置,路由信息库近包括真实网络,存储空间和SPF也可以更快。此外,这样还可以节省IP地址。

And now for the claims

The Cumulus documentation claims:

In OSPFv2, configuring unnumbered interfaces reduces the links between routers into pure topological elements, and thus dramatically simplifies network configuration and reconfiguration. In addition, routing database contains only the real networks, hence memory footprint is reduced and SPF is faster.

Let’s walk through all of these claims:

Configuring unnumbered interfaces reduces the links between routers into pure topological elements

Translated into engineering terms: the Type-1 (router) LSA no longer contains the stub networks for inter-router subnets. You can do something similar on Cisco IOS with OSPF prefix suppression .

… and thus dramatically simplifies network configuration and reconfiguration.

Marketese for “ we don’t check IP subnets in OSPF hello packets ”.

In addition, routing database contains only the real networks,

I don’t know what they call the routing database . OSPF database contains exactly the same number of LSAs, the routing table does contain smaller number of routes (but see also prefix suppression).

… hence memory footprint is reduced and SPF is faster.

Memory footprint is reduced. SPF speedup is probably measured in per mils – after all, the router considers the stub networks attached to Type-1 router LSAs only in the second (distance vector) part of the SPF algorithm, which has linear complexity.

 OSPFv2中提到,可能一个路由器的所有点到点接口都是未编号的点到点链路,在这种情况下,路由器应该被分配一个IP地址,这个地址应该在router-LSA中通告。

    [2]It is possible for all of a router's interfaces to be unnumbered
    point-to-point links.  In this case, an IP address must be assigned
    to the router.  This address will then be advertised in the router's
    router-LSA as a host route.

对于卫星网络:

如果卫星的所有点到点链路(星间链路就是点到点链路)都不用分配IP地址的话,只需要为每个路由器(卫星)分配一个IP地址即可。

不知道这样会带来什么问题?高层卫星和低层卫星之间星间链路切换时会有什么问题?

转载于:https://www.cnblogs.com/yanhc/p/7257717.html

相关文章:

  • struts2中怎样处理404?
  • 一张图让你学会LVM
  • WiFi替代者LiFi首次实测结果出炉:1Gbps
  • 解读:四点让云计算引发全球变革
  • 数据蒋堂 | 开放的计算能力为数据库瘦身
  • 数据分析流程这么长,产品经理如何一人搞定?
  • 马斯克的OpenAI,究竟是如何在dota2中击败顶级人类选手的?
  • 《程序员度量:改善软件团队的分析学》一连接活动与目标
  • 解密:智能美妆和动效自拍背后的技术
  • Linux I2C(一)之常用的几种实例化(i2c_client ) 【转】
  • 全是数据的物联网怎么把黑客挡在门外?
  • 无线充电两大标准合并 但你还得头疼选哪家
  • 乂学教育朋友印象创始人栗浩洋:AI教育,为学习效率带来10倍提升 | CCF-GAIR 2017...
  • 企业级闪存存储市场——抑或是供应商的墓地?
  • Attention-over-Attention Neural Networks for RC
  • [数据结构]链表的实现在PHP中
  • 【391天】每日项目总结系列128(2018.03.03)
  • Docker 笔记(1):介绍、镜像、容器及其基本操作
  • ES6 ...操作符
  • Flex布局到底解决了什么问题
  • java8-模拟hadoop
  • JavaScript 基础知识 - 入门篇(一)
  • java第三方包学习之lombok
  • Java精华积累:初学者都应该搞懂的问题
  • leetcode388. Longest Absolute File Path
  • leetcode讲解--894. All Possible Full Binary Trees
  • mysql 5.6 原生Online DDL解析
  • NLPIR语义挖掘平台推动行业大数据应用服务
  • React Transition Group -- Transition 组件
  • Vue小说阅读器(仿追书神器)
  • 阿里云爬虫风险管理产品商业化,为云端流量保驾护航
  • 从0到1:PostCSS 插件开发最佳实践
  • 从tcpdump抓包看TCP/IP协议
  • 搭建gitbook 和 访问权限认证
  • 分享一份非常强势的Android面试题
  • 浮现式设计
  • 回顾2016
  • 微信开源mars源码分析1—上层samples分析
  • 消息队列系列二(IOT中消息队列的应用)
  • 树莓派用上kodexplorer也能玩成私有网盘
  • (C语言)fread与fwrite详解
  • (react踩过的坑)Antd Select(设置了labelInValue)在FormItem中initialValue的问题
  • (动手学习深度学习)第13章 计算机视觉---图像增广与微调
  • (附源码)node.js知识分享网站 毕业设计 202038
  • (十三)Java springcloud B2B2C o2o多用户商城 springcloud架构 - SSO单点登录之OAuth2.0 根据token获取用户信息(4)...
  • * 论文笔记 【Wide Deep Learning for Recommender Systems】
  • ./configure,make,make install的作用(转)
  • .NET “底层”异步编程模式——异步编程模型(Asynchronous Programming Model,APM)...
  • .Net Attribute详解(上)-Attribute本质以及一个简单示例
  • .NET CORE 3.1 集成JWT鉴权和授权2
  • .NET I/O 学习笔记:对文件和目录进行解压缩操作
  • .NET 表达式计算:Expression Evaluator
  • .net6Api后台+uniapp导出Excel
  • .Net语言中的StringBuilder:入门到精通
  • .php结尾的域名,【php】php正则截取url中域名后的内容