当前位置:网站首页>RENIX_ IPv6 automatic configuration -- practical operation of network tester
RENIX_ IPv6 automatic configuration -- practical operation of network tester
2022-07-21 08:08:00 【51CTO】
One 、IPv6 Introduction to automatic configuration
1. function
(1) By some mechanism , Get the prefix information of the network when actively sending routing requests or passively accepting routing announcements , Then the host generates the interface of the address itself ID part
(2)RFC 4862 IPv6 Stateless Address Autoconfiguration
(3)RENIX Only send as Route Solicitation Message
2. Protocol Brief
Address request process
(1) The host will become link local Address
(2)( Optional ) To configure DAD( Duplicate address detection ), When no duplicate address is detected , send out RS message
(3) Received from the router RA Reply message , Combine with your own interface ID RA The routing prefix in the message generates the global unicast address
(4) Proceed again DAD testing , The real global address is when there is no duplicate address
3. Duplicate address detection
(1) Duplicate address detection (DAD): Use in the interface IPv6 Before unicast address , Detect whether other nodes use this address
Before duplicate address detection ,IPv6 Unicast address is “ temporary ” state (Tentative Address);
It's done DAD After testing , Will enter “ The preferred ” state (Prefere Address);
If duplicate addresses are found , Then the address becomes “ abandoned ” state (Duplicated Address).
(2) Repeat the address detection process
Host to Solicited-Node The multicast group sends a message with the target address as the request address NS message ;
If there is no duplicate address , Will not receive the corresponding NA Reply message , The destination address is from “ temporary ” The state becomes “ The preferred ” state ;
If there is a duplicate address , Will receive the corresponding NA Reply message , The destination address is from “ temporary ” The state becomes “ abandoned ” state .
4. Interface identifier
Interface identifier generation
Manual configuration ;
The system is automatically generated by software ;
Use IEEE-EUI-64 Specification generation .
Two 、 Test instructions
1.IPv6 Automatically configure topology
(1) Test purpose
verification DUT IPv6 SAA Basic function .
(2) testing procedure
Connect the topology according to the graph ;
Port1 Docking switches G1 mouth , For acquisition IPv6 Address ;
Port2 Docking switches G2 mouth , Used to send verification traffic .
(3) Expected results
Tester Port1 The port can be obtained successfully IPv6 Address ;
Port1 The port can receive data from Port2 Verified traffic of .
2. preparation : Add frame
(1) Open software
(2) Booking port
(3) Input IP Address
3. preparation : Booking port
Test on the selected port , One port is enough
3、 ... and 、 Test configuration
1. Select Wizard
choice IPv6 Auto configuration wizard
2. Select port
Select the port to participate in the test
3. Choose encapsulation 、 Configure interface 、 Configure the link layer
4. Configure the network layer 、 To configure IPv6 Automatic configuration
Be careful : Can make EUI-64 and Enable address duplicate detection (DAD)
5. preview
Click... After the preview is OK “ complete ”
6. Configuration complete
7.DUT To configure
Take Huawei switches as an example :
#
IPv6
#
Interface GigabitRthernet0/0/1
Undo portswish
Ipv6 enable
Ip address 2020::2 64
Undo ipv6 nd ra halt
#
Four 、 Test startup
1. Call up relevant statistics
2. Open the protocol capture
3. start-up IPv6 Automatic configuration test
4. Test success
Session state by Idle Turn into Bound, Automatic configuration test succeeded
5. View message
NS The message is an address duplication check message ,RS The message is the request message sent by the tester ,RA The message is the route announcement replied by the switch , Contains information such as network prefix
6. Check the test results
At this time, the interface of the tester IPv6 The address has changed to an automatically configured address
7. Stream validation
Tester P2 Port establishment is sent to P1 Acquired IPv6 Address traffic ,P1 The port can receive this traffic
边栏推荐
- You might as well give more guidance to "cloud interview"
- thinkphp 实现 MongoDB CURD
- fc能一直运行后台脚本程序吗?例如不停的去数据库拿数据处理写到另一个数据库
- MSYQL multiple or, and,
- Nextcloud personal cloud storage is an excellent choice: one click automatic installation method and cloud disk use experience
- Logic of automatic reasoning 05 -- predicate calculus
- 数据治理笔记
- Chapter 1 Introduction to creating rest services
- 动态库和静态库(.so/dll,.a/lib)
- [redis] summary of common knowledge points
猜你喜欢
随机推荐
MSYQL multiple or, and,
uva1450
Redis学习笔记(1)——B站动力节点
面試真題2
模块学习(三)——激光测距模块(TOF10120)
redis实现周边景点由近到远排序
The error between facial reconstruction and facial posture estimation is only 10 degrees
2022/7/17
【Golang】go 解析xmind
Ultra light fast generic face detector 1MB custom dataset training | multi classification modification Guide (1)
FC can the background script be run all the time? For example, keep going to the database to get data processing and write it to another database
Get to know MySQL for the first time
数据治理笔记
Nextcloud personal cloud storage is an excellent choice: one click automatic installation method and cloud disk use experience
sql 命令insert into 的作业没办法通过savepoint启动么?或是我集群关闭重启的时
PX4模块设计之十:PX4启动过程
Redis realizes the ranking of surrounding scenic spots from near to far
Which one is the most suitable for your business, VPS, dos and ECS?
没错,又是一位月薪过万的测试小伙伴!
R language Kolmogorov Smirnov test compares whether the two samples come from the same distribution: ks The test function performs Kolmogorov Smirnov test to compare whether the two samples are from t