Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh:docs:guide-user:network:wifi:dumbap [2021/07/01 08:06] – [无线接入点 / 哑接入点 / 哑AP] biaji | zh:docs:guide-user:network:wifi:dumbap [2022/04/12 01:57] – keep up to the last version biaji | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | ====== 无线接入点 / 哑接入点 | + | ====== 无线接入点 / 哑接入点 ====== |
| + | |||
| + | {{section> | ||
| <WRAP box> | <WRAP box> | ||
| <color # | <color # | ||
| - | **摘要:** 本文记录了如何为一个已有“主路由”的网络创建扩展哑接入点(哑AP) 。之所以称它为“哑接入点”,是因为它既不提供路由,也不提供DHCP功能。以下即为将一个路由(不仅指OpenWrt)设置为哑AP的流程: | + | **摘要:** 本文记录了如何为一个已有“主路由”的网络创建扩展哑接入点(哑AP) 。之所以称它为“哑接入点”,是因为它既不提供路由,也不提供DHCP或DNS服务,这些功能是由其接入的主路由提供。 |
| - | * 用网线将哑AP的**LAN**端口连接至主路由的**LAN**端口。(对 - **LAN-到-LAN** - 用不到哑AP的WAN端口。) | + | 一般情况下,这样做是为已有网络扩展无线覆盖范围:覆盖另一个楼层或消除无线死点。也可以用无线AP达成同样的目的。您可以把这种拓扑结构想成“菊花链”的实现。 |
| - | * 为哑AP的**LAN**端口配置一个在主路由LAN地址范围内的静态地址。比如:如果主路由的LAN是192.168.1.1,则将哑AP的LAN端口设置为192.168.1.2 | + | |
| - | * 将DNS服务器和网关地址设置为主路由的地址(本例中为192.168.1.1) | + | |
| - | * 关闭哑AP中的防火墙和DHCP& | + | |
| - | * 在哑AP上设置SSID、密码等 | + | |
| - | * 重启哑AP | + | |
| - | 由此创建一个桥接LAN(无内部子网),它将在家庭或小网络的环境中工作的很好。 | + | 这种部署的结果是成为一个无内部子网的桥接LAN。接入任一路由的设备之间都是互相可见的,并经由主路由接入因特网。这种设置在小型办公场所或家庭网络中可以很好的工作。但大一点的网络中,最好使用更加细致的部署方式。 |
| - | 用户可以用网线或Wi-Fi(用设置的SSID/ | + | |
| </ | </ | ||
| - | ===== Configuration via OpenWrt Web Interface | + | ===== 使用OpenWrt的Web界面LUCI进行配置 |
| - | Of course you can achieve this with using the web interface:\\ | + | 您当然可以用web界面来达成目的:\\ |
| - | Once you have configured your wireless network with LUCI you can start configuring your dumb AP.\\ | + | 只要您可以用LUCI来配置无线网络,您就可以配置您的哑AP了。\\ |
| - | - Disconnect the (soon-to-be) Dumb AP from your network, and connect your computer to it with an Ethernet cable. | + | - 从网络中断开您的哑AP(即将成为),用网线把您的电脑连上。\\ |
| - | - Use the web interface to go to Network | + | - 打开web界面,至网络->接口,并选择LAN接口。\\ |
| - | - Enter an IP address "next to" your main router on the field "IPv4 address" | + | - 在“IPv4地址”输入框中输入一个您的主路由IP的下一个IP。(如果您的主路由IP是192.168.1.1,输入192.168.1.2)。将DNS和网关指向您的主路由以为哑AP自己开启因特网访问。\\ |
| - | - Then switch to "DHCP Server" | + | - 然后切换至“DHCP服务器”标签页(如果使用的是18.06或更老的Luci版本,则要下滚页面),钩上"忽略接口:在此接口禁用DHCP"的检查框\\ |
| - | - Click "IPv6 Settings" | + | - 点击“IPv6设置”标签页并禁用所有项目。\\ |
| - | - Under " | + | - 在“物理设置”标签页,确保钩上了“桥接接口”,并确保两个接口(eth0, wlan0)都是选中状态,以允许无线到有线连接的数据传输。\\ |
| - | - In the top menu go to System | + | - 在顶菜单上导航至系统-> 启动,在启动脚本中禁用防火墙、dnsmasq和odhcpd。\\ |
| - | - Click the Save and Apply button. Hard-Restart your router if you're not able to connect anymore.\\ | + | - 点击保存并应用按钮。如果连接断了,则需要硬重启您的路由。\\ |
| - | - Go to http:// | + | - 访问http:// |
| - | - Use an Ethernet to connect one of the LAN ports on your main router to one of the LAN/switch ports of your " | + | - 用网线连您主路由的LAN端口和您“新”哑AP的LAN/交换机端口。(毋需连接哑AP的WAN端口) |
| - | - You are done.\\ | + | - 大功告成\\ |
| Line 170: | Line 166: | ||
| </ | </ | ||
| - | ===== Multicast Forwarding | + | ===== 组播转发 |
| DLNA and UPnP clients and printer or SMB discovery protocols on LANs tend to work by using multicast packets. For example PS3, xbox, TVs and stereos use DLNA to detect, communicate with and stream audio/video over the network. By default on bridged interfaces on OpenWrt (at least tested in 18.x series) multicast snooping is turned off. This means all network interfaces connected to a bridge (such as a WiFi SSID and ethernet VLAN) will receive multicast packets as if they were broadcast packets. | DLNA and UPnP clients and printer or SMB discovery protocols on LANs tend to work by using multicast packets. For example PS3, xbox, TVs and stereos use DLNA to detect, communicate with and stream audio/video over the network. By default on bridged interfaces on OpenWrt (at least tested in 18.x series) multicast snooping is turned off. This means all network interfaces connected to a bridge (such as a WiFi SSID and ethernet VLAN) will receive multicast packets as if they were broadcast packets. | ||