当前位置:网站首页>Unicast, multicast and broadcast of IP network communication
Unicast, multicast and broadcast of IP network communication
2022-06-27 05:28:00 【Barren insulator】
One 、 Judge whether the two devices are in the same LAN
View the... Of two devices ip4 Address and Subnet mask MASK.
- if MASK Dissimilarity , Is not in the same LAN .
- if MASK equally , Separate calculation IP&MASK. If they are the same , On the same LAN , Otherwise, they are not on the same LAN .
Two 、 unicast 、 The difference between multicast and broadcast
unicast : In the same LAN , Point to point communication between two devices is unicast communication . stay ifconfig To configure vlan when , Target of end-to-end equipment IP The address must be the same as that configured for the local device IP The address is consistent , And opposite end IP With the local IP In the same LAN .
Multicast : Within the reach of the same network , A network device communicates with some devices concerned with its data . stay ifconfig To configure vlan when , Target of end-to-end equipment IP Is the specified multicast address (224.0.0.0~239.255.255.255), And local IP And the opposite end IP In the same LAN . When the local device obtains data, it needs to filter the multicast address separately .
radio broadcast : Within the reach of the same network , A network device communicates with all devices in the network . stay ifconfig To configure vlan when , Target of end-to-end equipment IP by 255.255.255.255 Or can be associated with MASK Just right 255.255.255.255 Directional broadcast address of , And local IP And the opposite end IP In the same LAN .
reference
【1】 How to judge whether two devices are in the same LAN _guojunxiu The blog of
【3】 Multicast address classification _Mr. Sun_ The blog of -CSDN Blog _ Multicast address classification
边栏推荐
- Opencv implements object tracking
- 019 basics of C language: C preprocessing
- 020 basics of C language: C language forced type conversion and error handling
- Edge在IE模式下加载网页 - Edge设置IE兼容性
- 关于元器件封装的一些文章和一下我的体会
- Deep dive kotlin synergy (XV): Test kotlin synergy
- Microservice system design -- Distributed timing service design
- Microservice system design -- microservice monitoring and system resource monitoring design
- 【FPGA】基于bt1120时序设计实现棋盘格横纵向灰阶图数据输出
- Microservice system design -- unified authentication service design
猜你喜欢

Edge loads web pages in IE mode - edge sets ie compatibility

leetcode-20. Valid parentheses -js version

Two position relay hjws-9440

【FPGA】基于bt1120时序设计实现棋盘格横纵向灰阶图数据输出

Cognition - how to fill in 2022 college entrance examination volunteers

leetcode299周赛记录

Pycharm 中 Terminal 无法进入 venv 环境的问题

Dual position relay dls-34a dc0.5a 220VDC

Double position relay rxmd2-1mrk001984 dc220v

双位置继电器DLS-34A DC0.5A 220VDC
随机推荐
014 C language foundation: C string
[station B up dr_can learning notes] Kalman filter 3
[station B up dr_can learning notes] Kalman filter 1
Microservice system design -- Distributed timing service design
流媒体协议初探(MPEG2-TS、RTSP、RTP、RTCP、SDP、RTMP、HLS、HDS、HSS、MPEG-DASH)
009 basics of C language: C loop
齐纳二极管 稳压二极管 SOD123封装 正负区分
网易云音乐params和encSecKey参数生成代码
Codeforces Round #802 (Div. 2)
Codeforces Round #802 (Div. 2)
Web3 has not been implemented yet, web5 suddenly appears!
Penetration test - file upload / download / include
How JQ gets the ID name of an element
Leetcode298 weekly race record
leetcode299周赛记录
Web3还没实现,Web5乍然惊现!
论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》
双位置继电器RXMVB2 R251 204 110DC
认知篇----2022高考志愿该如何填报
Vue学习笔记(五)Vue2页面跳转问题 | vue-router路由概念、分类与使用 | 编程式路由导航 | 路由组件的缓存 | 5种路由导航守卫 | 嵌套路由 | Vue2项目的打包与部署