当前位置:网站首页>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 .

边栏推荐
- Seven steps, in-depth interpretation of data meaning
- What is the future prospect of video Number e-commerce?
- Outdoor activities in hot weather are exquisite! Here comes the safety guide for citizens' fitness in midsummer
- Details of iptables firewall
- MediaTek has submitted an application to the US side, striving to supply goods to China after September 15
- Association between enterprise wechat and video Number
- 长江存储推出自有存储品牌“致钛”,首款SSD产品曝光
- Implementation of solid transfer function (based on transfer)
- Video Number Xiaobai starting operation guide
- 2023年网络安全预算规划的五个关键考虑因素
猜你喜欢

示波器参数详解

7-8 romantic profile (25 points) achievements + new problem solving ideas

2023年网络安全预算规划的五个关键考虑因素

Fluent: exception handling

Digital filter (V) -- design IIR filter

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

【译】创意编码之噪音

食品安全 | 面包含盐量也会超标?几招教你正确吃面包!
![[dry goods] how to establish a close relationship between support and products?](/img/ec/bc36beb0935968fec3791910e2cb0a.png)
[dry goods] how to establish a close relationship between support and products?

频谱仪原理简介一
随机推荐
Strong performance growth! Wentai technology's net profit in the first half of the year was 1.7 billion yuan, a sharp increase of 767.19% year-on-year!
TCP/IP详细图解
Msg.value of solidity
“云战略”将成为企业数字化转型的重要支柱
MongoDB创建索引
Introduction to oscilloscope
Answer questions about the pixel, resolution and size of the picture, as well as the display size of the monitor.
联发科已向美方提交申请,力求9月15日后仍可向华为供货
Iptables configuration
Tcp/ip detailed diagram
Busybox latest version (busybox APK)
Digital filter (V) -- design IIR filter
Video number one video broadcast 260million
低码在数字化转型中扮演什么角色?
直播|StarRocks 技术内幕 :低基数全局字典优化
Mongodb initialization operation
Centos8 uses docker to install WordPress in wordpress+mysql configuration file_ DB_ Understanding of host
The best implementation of horizontal listview -- recycleview
.net swagger
[reading notes] - 2 learn machine learning classification through naive Bayesian model