找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 9202|回复: 16

[Hotspot] ros hotspot IP地址池要跟lan一样?

  [复制链接]
发表于 2013-3-12 16:08:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
ros hotspot IP地址池要跟lan一样?不然不能认证,不知道啥原因?
routeros
发表于 2013-3-12 16:46:27 | 显示全部楼层
这是lan 的掩码问题.
routeros
回复

使用道具 举报

发表于 2013-3-12 18:42:08 | 显示全部楼层
本帖最后由 rosabc 于 2013-3-12 18:43 编辑

要把使用的地址池转换出去,看我的。

hotspot hosts.JPG

                               
登录/注册后可看大图




address列是LAN段dhcp分配出去的,to-address是hotspot分配的。
如非特别需要,请使用同网段,不要学我。

routeros
回复

使用道具 举报

发表于 2013-3-12 18:56:28 | 显示全部楼层
这图片怎跟某人的那么熟悉........

点评

要不要我发更多的图给你看,别人一发图,你就说是你的。  发表于 2013-3-12 18:59
routeros
回复

使用道具 举报

发表于 2013-3-12 19:12:13 | 显示全部楼层
20130312190917.jpg
routeros
回复

使用道具 举报

发表于 2013-3-12 19:16:33 | 显示全部楼层
就说嘛!!是某人的呗!!

点评

你要是在南京耍嘴皮子,早就扇你了。  发表于 2013-3-12 19:24
哥,你的头像好美。  发表于 2013-3-12 19:22
routeros
回复

使用道具 举报

发表于 2013-3-12 19:21:21 | 显示全部楼层
学某人搞个自己的头像
routeros
回复

使用道具 举报

发表于 2013-3-12 23:54:26 | 显示全部楼层
可以的。同一样物理网卡可以设置多个网段。比如在LAN内网用192.168.1.1、24 HOTSPOT用10.10.10.1、24都可以认证的。
routeros
回复

使用道具 举报

发表于 2013-3-13 00:21:16 | 显示全部楼层
本帖最后由 47771885 于 2013-3-13 00:39 编辑

这个帖子要回。。。竟然有人对YAWPYNG 兄不敬真是 。。
关于 LAN 客户端任意IP (即插即用)认证需求 环境
(客户端 设置 完整的IP 体系 IP 掩码 网关 DNS)
ROS 热点开启 即插即用常规 设置
address-pool 设置成 相对应的接口 DHCP 分配的 ip pool (网段?)
(实验证明 开启 即插即用后 ROS 会响应他接受到的所有 arp 请求 并积极响应 比如
客户端 手动设置 IP 192.168.11.11 网关 192.168.11.1
客户端询问 192.168.11.1 ros 会告诉电脑他就是 192.168.11.1 电脑接受到
就开始 和ROS 下一步通讯。ROS 建立对应的IP NAT 关系。。从而达到即插即用。。。
这样 内网通讯 大多数 均会收到 热点服务器的 干扰。。除非他很忙的时候
热点1.jpg
这样就算是开启了 即插即用
如果是 使用外部 radius
这样基本就可以了 (省略 radius 对接部分设置)
如果使用内部账号
注意下图中的  address-pool  就不用选了
热点2.jpg

说到这里。。。好像不太对楼主的问题。。。
楼主的答案 应该是 是要一样的 如YAWPYNG  兄回复一样

(回帖定期清理)
routeros
回复

使用道具 举报

发表于 2013-3-13 11:42:08 | 显示全部楼层
顶起来让更多的人学习一下

routeros
回复

使用道具 举报

 楼主| 发表于 2013-3-13 11:48:35 | 显示全部楼层
rosabc 发表于 2013-3-12 18:42
要把使用的地址池转换出去,看我的。

怎么转换?详细点看看!
routeros
回复

使用道具 举报

发表于 2013-3-13 12:02:09 | 显示全部楼层
zm215107133 发表于 2013-3-13 11:48
怎么转换?详细点看看!

我说的"转换"说的太笼统了,实际是把hotspot分配的地址池也要"伪装"出去。
routeros
回复

使用道具 举报

发表于 2013-3-13 13:03:45 | 显示全部楼层
3楼的怎么设置的呢?DHCP必须要跟LAN口的一致吧
routeros
回复

使用道具 举报

发表于 2013-3-13 13:18:04 | 显示全部楼层
295415910 发表于 2013-3-13 13:03
3楼的怎么设置的呢?DHCP必须要跟LAN口的一致吧

不必一致,但推荐一致。

Getting an Address

First of all, a client have to get an IP address. It may be set on the client statically, or leased from a DHCP server. The DHCP server may provide ways of binding lent IP addresses to clients MAC addresses, if required. The HotSpot system does not care how client get an address before he/she gets to the HotSpot login page.

Moreover, HotSpot server may automatically and transparently change any IP address (yes, meaning really any IP address) of a client to a valid unused address from the selected IP pool. If a user is able to get his/her Internet connection working at their place, he/she will be able to get his/her connection working in the HotSpot network. This feature gives a possibility to provide a network access (for example, Internet access) to mobile clients that are not willing (or are disallowed, not qualified enough or otherwise unable) to change their networking settings. The users will not notice the translation (i.e., there will not be any changes in the users' config), but the router itself will see completely different (from what is actually set on each client) source IP addresses on packets sent from the clients (even the firewall mangle table will 'see' the translated addresses). This technique is called one-to-one NAT, but is also known as "Universal Client" as that is how it was called in the RouterOS version 2.8.

One-to-one NAT accepts any incoming address from a connected network interface and performs a network address translation so that data may be routed through standard IP networks. Clients may use any preconfigured addresses. If the one-to-one NAT feature is set to translate a client's address to a public IP address, then the client may even run a server or any other service that requires a public IP address. This NAT is changing source address of each packet just after it is received by the router (it is like source NAT that is performed early in the packet path, so that even firewall mangle table, which normally 'sees' received packets unaltered, can only 'see' the translated address).
routeros
回复

使用道具 举报

发表于 2013-3-14 00:09:19 | 显示全部楼层

说下教程吧,找这个已经好多天了。快一个月了!
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-11 17:47 , Processed in 0.116393 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表