Database error: Invalid SQL: update db_news_con set cl=cl+1 where id='941'
MySQL Error: 1142 (UPDATE command denied to user 'xtdiannaoweixiu'@'127.0.0.1' for table 'db_news_con')
#0 dbbase_sql->halt(Invalid SQL: update db_news_con set cl=cl+1 where id='941') called at [D:\wwwroot\xtdiannaoweixiu\wwwroot\includes\db.inc.php:73] #1 dbbase_sql->query(update {P}_news_con set cl=cl+1 where id='941') called at [D:\wwwroot\xtdiannaoweixiu\wwwroot\news\module\NewsContent.php:82] #2 NewsContent() called at [D:\wwwroot\xtdiannaoweixiu\wwwroot\includes\common.inc.php:518] #3 printpage() called at [D:\wwwroot\xtdiannaoweixiu\wwwroot\news\html\index.php:15] 联系我们-如何把路由器当交换机使用
 
如何把路由器当交换机使用
作者:系统管理员    发布于:2022-08-01 16:05:33    文字:【】【】【

其实普通的家用路由器实际上就是一个路由和交换机二合一的一体机,其中WAN扣就是路由器用来连接不同网段的网络,而剩下的LAN口就是一个交换机,用来连接家庭中的终端比如说电脑。


通常情况下,交换机下连接的所有终端都属于同一个局域网,可以实现文件共享这样的功能,也就是说连接在LAN接口下的所有的设备都在同一网段。有时候我们需要使用家用的路由器充当交换机,大部分应用于上一级是路由器,而下一级需要所有设备都在同一网段的情况。


Dhcp是一种动态的分配IP地址的协议,如果不关闭dhcp,可能会和上一级路由器分配的IP冲突。所以路由器更换为交换机设置也比较简单。邢台监控安装只需要关闭dhcp服务器就可以了。连接时使用网线连接器的LAN扣,WAN口空置不用。

至于LAN接口的IP是否要更改则完全取决于需求。如果你并不需要管理该已经变为交换机的路由器则不需要更改,如果你还需要管理交换机,则需要更改为同网段IP。


当前位置
 

Warning: fopen(./941.html) [function.fopen]: failed to open stream: Permission denied in D:\wwwroot\xtdiannaoweixiu\wwwroot\includes\common.inc.php on line 973

Warning: fwrite(): supplied argument is not a valid stream resource in D:\wwwroot\xtdiannaoweixiu\wwwroot\includes\common.inc.php on line 974

Warning: fclose(): supplied argument is not a valid stream resource in D:\wwwroot\xtdiannaoweixiu\wwwroot\includes\common.inc.php on line 975