无线路由模式——Ad-hoc、Infrastructure、AP、Station

Ad-hoc和Infrastructure模式

无线网络有两种建网模式,Ad-hoc和Infrastructure模式:

Infrastructure--无线网与有线网通过一接入点来进行通讯。

Ad-hoc模式--带有无线设备的计算机之间直接进行通讯(类似有线网络的双机互联)。

如果无线网络中的计算机需要使用有线网络中的资源,则需要设置无线网络为Infrastructure模式(Infrastructure模式的核心设备为无线接入点,一般为无线路由器,路由器将数据传送到配备有无线网卡的电脑上,这些装有无线适配器且以与路由器联通的电脑可在路由器工作半径内漫游,您可以安装多个这样的无线路由器来扩大漫游的范围)。若只需要与无线网络中其它的电脑共享资源,则可以用Ad-hoc(点对点)模式。(Ad-hoc模式使配有无线网卡的数据发送的电脑与数据接收的电脑直接进行通讯,而无需使用无线路由器或接入点设备)。

http://www.51testing.com/html/89/16789-196934.html


AP是无线发射端,STATION是接收端,两种模式组建成一个无线局域网。

AP模式: Access Point,提供无线接入服务,允许其它无线设备接入,提供数据访问,一般的无线路由/网桥工作在该模式下。AP和AP之间允许相互连接。

Sta模式: Station, 类似于无线终端,sta本身并不接受无线的接入,它可以连接到AP,一般无线网卡即工作在该模式。

http://blog.163.com/sunshine_linting/blog/static/44893323201401344528868/


WNIC always operates in one of the following operating modes. The mode sets the main functionality of the wireless link. It is possible to run in two modes at the same time.

Station (STA) infrastructure mode

任何的无线驱动都有这个功能. 因此也作为默认模式. 两个无线网卡都用STA模式,不能互联. 他们需要再用个无线网卡做AP模式。一个STA模式,连接一个AP模式的无线网卡,通过发送确定的管理帧. 这个过程称为认证和关联.在AP发送成功关联的返回值时,STA网卡就已经连入无线网络.

这个模式在iwconfig工具中称为managed

AccessPoint (AP) infrastructure mode

在一个托管的无线网络,Access Point扮演着一个主设备.它通过托管和维护关联的STA列表保留了网络连接状态.也负责安全策略.MAC地址之后的AP网络(BSSID).人们通过SSID查看网络,也可以通过AP设置.

/!\ To use AP mode in Linux you need to use hostapd, at least a current 0.6 release, preferably from git. /!\ Cf.http://wireless.erley.org

Monitor (MON) mode

Monitor模式只是一个被动模式,没有帧被主动传输.所有进来的包都未被过滤的转发给电脑.这个模式在观察网络状态很有用.

With mac80211, it is possible to have a network device in monitor mode in addition to a regular device, this is useful to observe the network whilst using it. However, not all hardware fully supports this as not all hardware can be configured to show all packets while in one of the other operating modes. Monitor mode interfaces always work on a "best effort" basis.

With mac80211, it's also possible to transmit packets in monitor mode, which is known as packet injection. This is useful for applications that wish to implement MLME work in userspace, for example to support nonstandard MAC extensions of IEEE 802.11.

  • See also: radiotap.

  • Ad-Hoc (IBSS) mode

Ad-Hoc模式又叫做IBBS (独立基础服务集Independent Basic Service Set)模式,用于创建一个没有AP的无线网络.所有在IBSS范围内的工作站都自己管理网络. Ad-Hoc在两个或更多电脑之间连接没有AP设备的环境.

Wireless Distribution System (WDS) mode

分布系统通过有线连接AP,无线分布系统无线等同有线.无线分布系统充当一个无线通信路径在不同的AP之间(通常一个ESS),可以用来取代布线.请阅读iw WDS文档如何使用它,但也可以使用4-address模式.

Mesh

Mesh接口用来允许多个设备互联通过建立智能的路由动态获取。

Please see Wikipedia's entry on 802.11s. and Wireless mesh network(WMN).

In order to achieve mesh  portal  functionality, you can bridge a mesh interface with a regular Ethernet interface.

http://blog.csdn.net/lqrensn/article/details/8154562


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值