当前位置:网站首页>Design, configuration and points for attention of network arbitrary source multicast (ASM) simulation using OPNET
Design, configuration and points for attention of network arbitrary source multicast (ASM) simulation using OPNET
2022-07-07 05:26:00 【Fish moon and a half】
utilize opnet Conduct network multicast (ASM) Design of simulation 、 Configuration and precautions
About opnet The use of is no longer specified , In the last article 《 utilize OPNET Network unicast ( One server with multiple clients ) Design of simulation 、 Configuration and precautions 》 It has been explained in detail in , Here we mainly introduce the business configuration of the application layer and the related configuration of the network layer . Be careful , Not specifically stated in this case , The default configuration is generally adopted .
One 、 Configuration purpose and requirements
Multicast enables the server to send at one place , Multiple clients receive .
Two 、 The basic idea of multicast configuration
The realization of multicast mainly relies on two protocols ,PIM The protocol and IGMP agreement , among IGMP The agreement is divided into v1,v2,v3, Three versions ,v1 We can ignore ,v2 Version is for non specified source multicast ,v3 Version for specified source multicast . In this case , choose IGMPv2.PIM The protocol is oriented to the configuration between routers , Used to exchange multicast routing tables ,IGMP It is the configuration between the router and the devices inside the LAN , It is used to organize the joining and exiting of multicast members . In a complete multicast network , Each router along the way needs to support multicast routing protocol , The terminal device is required to support joining and exiting the multicast group .
therefore , stay opnet The basic idea of configuring multicast in , It's the same .
- Configure the terminal device to support multicast protocol , In order to join and exit the multicast group .
- Configure routers along the way to support multicast protocols ,PIM and IGMP agreement , Realize the joining and exiting of multicast members , And the forwarding of multicast data .
- Specify on a router RP, You can specify automatic or static RP. dynamic RP Need to start the RP The campaign mechanism .
- Configure the data sender , The destination of data transmission is the specified multicast address .
- Configure the data receiving end , Receive data from the specified multicast group .
3、 ... and 、 Similarities and differences between multicast and unicast configurations
( One ) The same thing
- The topology is the same .
- The basic network configuration remains unchanged , such as IP Configuration etc. , The premise of multicast is that the network is unblocked .
( Two ) Difference
1、 Apply business configurator
a) Multiple services need to be configured in unicast , In multicast, only one service flow needs to be configured .
2、 Policy Configurator
a) A business flow of a business , Therefore, only one policy needs to be configured .
3、 Server side configuration
a) You need to configure and enable multicast .IP->IP Host Parameters->Multicast Mode, Modify value Enabled.
b) Modify the destination address to the specified multicast address , Such as 224.0.6.1.Applicaitions->Application:Destination Preferences->Actual Name->Name, It is amended as follows 224.0.6.1.
c) Configuration business is not detailed , Consistent with unicast .
4、 Client configuration
a) You need to configure and enable multicast .IP->IP Host Parameters->Multicast Mode, Modify value Enabled.
b) Configure the multicast address for receiving data .Applicaitions->Application:Multicasting Specification, To configure Application Name by video( According to your own needs ), To configure Membership Addresses For multicast address , namely 224.0.6.1.
c) Supported businesses , Consistent with unicast .
5、 Router configuration
a) Enable Multicast Protocol .IP Multicasting->IP Multicast Parameters->Multicast Routing, Not modified Enabled.
b) Specify the port using multicast protocol .IP Multicasting->IP Multicast Parameters->Interface Information, It is recommended to add all UP Connected port ,Status by enable,Routing Protocol(s) by PIM-SM.
c) Enable PIM agreement .IP Multicasting->PIM Parameters->Status, It is amended as follows Enabled.
d) Specify the use of PIM Protocol port .IP Multicasting->PIM Parameters->Interface Information. It is recommended to add all UP Connected port ,Version by 2.
d) Specify the use of IGMP Protocol port .IP Multicasting->IGMP Parameters->Interface Information. It is recommended to add all UP Connected port ,Status by Enabled, Version by 2.
e) Configuration dynamics RP.IP Multicasting->PIM Parameters->Auto-RP Configuration Several modifications are made below , Enable dynamic RP, modify Discover by Enabled, Enable mapping ,Map Configuration->Status by Enabled,Candidate RP Configuration Next add a line , To configure Status by Enabled,Address/Interface Value , You need to specify a port to connect here , It can be the name of this port , It can also be port IP,Candidate RP Configuration->Group Filter Configuration->Groups Add the address of multicast group under , For example, fill in 224.0.6.1/32, Be careful , Mask .
Four 、 Be careful
- The multicast addresses sent and received must be consistent .
- Check more IGMP and PIM Whether the configuration port information of is correct . namely IP Multicast Parameters,PIM Parameters,IGMP Parameters Under the Interface Information, Be sure to check more , If the configuration is wrong , It won't work . The suggestion is to put all UP All ports are configured .
- The above configuration is only applicable to ASM, That is, unspecified source multicast .
边栏推荐
猜你喜欢
随机推荐
2039: [蓝桥杯2022初赛] 李白打酒加强版 (动态规划)
做自媒体视频剪辑,专业的人会怎么寻找背景音乐素材?
Phenomenon analysis when Autowired annotation is used for list
PMP证书有没有必要续期?
利用OPNET进行网络任意源组播(ASM)仿真的设计、配置及注意点
As we media, what websites are there to download video clips for free?
U++4 interface learning notes
DBSync新增对MongoDB、ES的支持
Leetcode (417) -- Pacific Atlantic current problem
Tencent cloud database public cloud market ranks top 2!
说一说MVCC多版本并发控制器?
最长公共子序列(LCS)(动态规划,递归)
Timer创建定时器
1.AVL树:左右旋-bite
项目经理如何凭借NPDP证书逆袭?看这里
Is the human body sensor easy to use? How to use it? Which do you buy between aqara green rice and Xiaomi
Redis如何实现多可用区?
app clear data源码追踪
[opencv] image morphological operation opencv marks the positions of different connected domains
Intelligent annotation scheme of entity recognition based on hugging Face Pre training model: generate doccano request JSON format