当前位置:网站首页>Brief introduction: basic principle of srv6
Brief introduction: basic principle of srv6
2022-07-28 18:26:00 【InfoQ】
1、SRv6 Segment
- LocatorThe function of is to route the message to the network device that executes the instruction , Realize the addressability of network instructions .Locator The location information of an identifier has two important properties : Routable and aggregatable .Locator The corresponding route will be passed by the node IGP Publish to the web , It is used to help other devices forward messages to the release Locator The node of . Besides ,Locator The corresponding route is also aggregatable .Locator The length of is variable , It is used to adapt to networks of different sizes .
- FunctionUsed to express the forwarding action to be executed by the instruction , Equivalent to a computer instruction Opcode. stay SRv6 Network programming , Different forwarding behaviors have different Function To express . Similar to computer instructions , According to different functions Function Defined as different types SID, Express the corresponding forwarding behavior , Such as forwarding the message to the designated link , Or look up and forward in the specified table .
- Arguments(Args) Field is an optional field . It is the parameter corresponding to the instruction when it is executed , These parameters may contain a stream 、 Services or any other relevant information .
2、SRv6 node
- SRv6 Source node: Generate SRv6 The source node of the message , The source node directs the packet to SRv6 Segment List in , If SRv6Segment List Only a single SID, And there is no need to SRv6 Add information or TLV, be SRv6 The destination address field of the message is set to this SID, Can not be encapsulated SRH. The source node can be generated IPv6 Message and support SRv6 The host , It can also be SRv6 Edge device of domain .
- Transit nodes: stay SRv6 Do not participate in the message forwarding path SRv6 To deal with the IPv6 node , That is, the transit node only performs ordinary IPv6 Message forwarding . When the node receives SRv6 After the message , Will parse the message IPv6 DA(Destination Address, Destination address ) Field . If IPv6 The destination address is neither locally configured SRv6SID, Nor is it the local interface address , Then the node will SRv6 Messages are treated as ordinary IPv6 message , Find... According to the longest matching principle IPv6 Routing table , Process and forward , Don't deal with SRH, At this time, this node is the transit node . The transit node can be ordinary IPv6 node , It can also support SRv6 The node of .
- SRv6 Segment endpoint node: stay SRv6 In the process of message forwarding , Of messages received by the node IPv6 The destination address is locally configured SID, Then this node is called the endpoint node . This node needs to handle SRv6 SID and SRH.
3、SRv6 Extended message header


- End:End Is the most basic Segment Endpoint Execution instruction , Indicates the termination of the current instruction , Start executing the next instruction . The corresponding forwarding action is to forward SL The value of the reduction 1, And will SL Point to the SID Copied to the IPv6 Destination address field of message header .
- X: Specify one or a group of layer 3 interfaces to forward messages . The corresponding forwarding behavior is to forward the message according to the specified interface .
- T: Query the routing forwarding table and forward the message .
- D: decapsulation . remove IPv6 Message header and its associated extended message header .
- V: according to VLAN(Virtual Local Area Network, Virtual LAN ) Table lookup forwarding .
- U: According to unicast MAC Table lookup forwarding .
- M: Query the layer 2 forwarding table , Multicast forwarding .
- B6: Apply the specified SRv6 Policy.
- BM: Apply the specified SR-MPLS Policy.
4、SRv6 Message forwarding
- Store locally generated SID, for example End.X SID.
- Specify binding to these SID Instructions .
- Store forwarding information related to these instructions , for example VPN example 、 Outgoing interface and next hop, etc .

边栏推荐
- Detailed explanation of oscilloscope parameters
- .net swagger
- 业绩增长强劲!闻泰科技上半年净利17亿元,同比暴增767.19%!
- vmware虚拟机联网设置(win10自带虚拟机安装win7)
- 网络RJ45接口详解
- Functions brought by the binding of official account and video Number
- DC-DC switching power supply
- Go's walk library reports an error
- How to sharpen a knife simply by yourself
- Syntax error: non declaration statement outside function bodygo and syntax error: unexpected {, expect
猜你喜欢

Power adapter global definition

WordPress prompt error in establishing database connection

Principle, classification and requirements of antenna

Digital filter (VI) -- design FIR filter

GIS数据漫谈(六)— 投影坐标系统

#夏日挑战赛#【FFH】JS自定义组件:DIY一个随点随用的键盘!(一)

DC-DC开关电源

欧美六国最快5日达 菜鸟推出快线产品 优化“端到端”履约服务

云容器与云原生

Personal production: ad library, component library, packaging library and 3D model, free of charge
随机推荐
Compilation principle learning notes 3 (top-down syntax analysis)
Introduction to oscilloscope
iptables 配置
Functions brought by the binding of official account and video Number
Msg.value of solidity
频谱仪原理简介一
MongoDB创建索引
华为中兴在英国败诉,不交专利授权费将被禁售!
USB Type-C 详解
高温天气户外活动有讲究!市民盛夏健身安全指引来了
[dry goods] how to establish a close relationship between support and products?
Fluent: exception handling
Outdoor activities in hot weather are exquisite! Here comes the safety guide for citizens' fitness in midsummer
食品安全 | 面包含盐量也会超标?几招教你正确吃面包!
Go's sleep
任正非最新发声:美国政治家希望华为死,求生欲使华为振奋起来
Brief introduction to the principle of spectrometer II
LeetCode79题 方法一:深度搜索
Categories with good sales volume on the video Number
This tool is enough for video number operation