由器设置成交换机的方法一
公司网络,不需要拨号上网,要搭建无线网络有两种连接方式:
方法一:进线连接到WLAN口,出线连接到LAN口(连接电脑或者其他路由器)
方法二:只用LAN口,进线和出现都连接到LAN也可以实现无线网络,此时也可以当做交换机!


家庭宽带网络:家庭宽带网络需要拨号上网,进线(internet)只能连接到WLAN口上,出现只能连接到LAN口上

路由器当做交换机用连接图

路由器当交换机用设置方法二
登录路由器管理界面在浏览器中输入默认路由器登录地址即可,一般默认是192.168.1.1,如果不是请大家查看路由器外壳中的铭牌。关闭DHCP服务器
登录路由器管理界面之后,选择左侧菜单栏【DHCP服务器】→【DHCP服务】,选择【不启用】“DHCP服务器”,之后保存,如下图:

设置LAN IP
在左侧菜单栏中选择【网络参数】→ 【LAN口设置】,将LAN口的IP地址改为:192.168.1.254 或者其它IP地址只要不与别的电脑本地IP地址冲突即可,如下图所示:

路由器设置成交换机的方法
直接将入户的网线接在路由器的1/2/3/4任意接口,再找一根短网线,一头接电脑,一头接路由器1/2/3/4剩余任意接口,接线方式如下图:

登陆路由器管理界面
在浏览器中输入:192.168.0.1 按回车键,在跳转的页面中输入密码 admin 点击“确定”

点击“高级设置”

修改路由器登陆IP地址
点击“高级设置”—“LAN口设置”,LAN口地址默认为192.168.0.1,更改为其他地址((改为其他同网段地址或不同网段地址),,避免和网内设备冲突。如下图所示:

关闭DHCP服务器
登陆路由器后点击“高级设置”—“DHCP服务器”,将“启用”前的勾去掉即可关闭DHCP服务器。
