吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 154|回复: 6
收起左侧

[经验求助] 华为AR161W-S路由器配置求助

[复制链接]
wsxxsg 发表于 2026-1-8 11:52
200吾爱币
本人有一台AR161W-S路由器。由于自己是新手小白,不会配置。求助大佬,如果可以远程帮忙最好。

原宽带是从集团迁过来的,192.168.55.1网关,整个公司用的55网段,现在我这边拉了一条电信宽带,光猫地址192.168.1.1,因为原集团55网段的网络比较差,经常断,我想如果在断网的情况下,我直接把集团过来的网线拔了插我的AR161W-S可以直接使用。但是配置不会。有没有大佬可以帮忙的

0/0/0作为管理口,也想在路由器上设192.168.55.1为网关。0到3口划一个vlan 55段的。4口作为光猫的接入口。有大佬可以帮忙的吗,感谢。

最佳答案

查看完整内容

你要做两个网段隔离,55网段走集团网络,1网段走电信宽带,当55网段断了就切到电信,不过AR161W-S不支持自动切换,需要手动拔线,这个要先说清楚 具体配置分几步走,先配置VLAN,创建VLAN 10,把0/0/1到0/0/3口加入这个VLAN,对应你公司内网,0/0/4口单独用,接光猫,0/0/0口留作管理 管理口配置很重要,进系统视图,interface GigabitEthernet0/0/0,ip address 192.168.55.1 255.255.255.0,这样你就能用55网段管理路由器 ...

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

炫迈 发表于 2026-1-8 11:52
你要做两个网段隔离,55网段走集团网络,1网段走电信宽带,当55网段断了就切到电信,不过AR161W-S不支持自动切换,需要手动拔线,这个要先说清楚

具体配置分几步走,先配置VLAN,创建VLAN 10,把0/0/1到0/0/3口加入这个VLAN,对应你公司内网,0/0/4口单独用,接光猫,0/0/0口留作管理

管理口配置很重要,进系统视图,interface GigabitEthernet0/0/0,ip address 192.168.55.1 255.255.255.0,这样你就能用55网段管理路由器了

内网口配置,interface vlanif 10,ip address 192.168.55.2 255.255.255.0,gateway 192.168.55.1,这样下面电脑网关设55.2就能上网

外网口配置,interface GigabitEthernet0/0/4,ip address dhcp-alloc,或者配PPPoE拨号,看你光猫是桥接还是路由模式,电信一般是PPPoE,username和password问电信要

路由表要配两条,ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 preference 60,这是电信线路,ip route-static 0.0.0.0 0.0.0.0 192.168.55.1 preference 100,这是集团线路,数值小的优先,这样平时走集团网络,断了就手动切

配置前先备份,用console线连路由器最稳,别用web界面,容易超时断开
kjhyt 发表于 2026-1-8 14:02
deepseek,给你写,这种问题,不需要在坛子里问。

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
wsxxsg + 1 + 1 谢谢@Thanks!

查看全部评分

hhtianntian 发表于 2026-1-8 14:19
 楼主| wsxxsg 发表于 2026-1-8 15:10
炫迈 发表于 2026-1-8 14:16
你要做两个网段隔离,55网段走集团网络,1网段走电信宽带,当55网段断了就切到电信,不过AR161W-S不支持自 ...

是得,我是打算手动拔线切换。现在路由器配置
 楼主| wsxxsg 发表于 2026-1-8 15:12
炫迈 发表于 2026-1-8 14:16
你要做两个网段隔离,55网段走集团网络,1网段走电信宽带,当55网段断了就切到电信,不过AR161W-S不支持自 ...

[Huawei]display current-configuration
[V200R009C00SPC500]
#
drop illegal-mac alarm
#
clock timezone BJ add 03:42:00
#
vlan batch 55
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name portal_authen_profile
authentication-profile name dot1xmac_authen_profile
authentication-profile name multi_authen_profile
#
dhcp enable
#
radius-server template default
#
pki realm default
#
ssl policy default_policy type server
pki-realm default
version tls1.0 tls1.1
ciphersuite rsa_aes_128_cbc_sha         
#                                         
ike proposal default                     
encryption-algorithm aes-256            
dh group14                              
authentication-algorithm sha2-256        
authentication-method pre-share         
integrity-algorithm hmac-sha2-256        
prf hmac-sha2-256                        
#                                         
free-rule-template name default_free_rule
#                                         
portal-access-profile name portal_access_profile
#                                         
aaa                                       
authentication-scheme default            
authentication-scheme radius            
  authentication-mode radius              
authorization-scheme default            
accounting-scheme default               
domain default                           
  authentication-scheme default           
domain default_admin                     
  authentication-scheme default           
local-user admin password irreversible-cipher %^%#:%/&I&pALY)>6LVvI.OAza/p;xa7wMQ.P8XYFjD0#t4M6h:~NKG.Q1H*d8OB%^%#
local-user admin privilege level 15      
local-user admin service-type terminal http
#                                         
web                                       
user-set Default                        
user-set VIP                             
#                                         
firewall zone Local                       
#                                         
interface Vlanif1                        
ip address 192.168.1.1 255.255.255.0     
dhcp select interface                    
#                                         
interface GigabitEthernet0/0/0            
undo portswitch                          
ip address 192.168.55.1 255.255.255.0   
#                                         
interface GigabitEthernet0/0/1            
#                                         
interface GigabitEthernet0/0/2            
#                                         
interface GigabitEthernet0/0/3            
#                                         
interface GigabitEthernet0/0/4            
#                                         
interface GigabitEthernet0/0/5            
description VirtualPort                  
#                                         
interface Wlan-Bss7                       
port hybrid tagged vlan 1               
#                                         
interface Cellular0/0/0                  
#                                         
interface NULL0                           
#                                         
snmp-agent local-engineid 800007DB03E43EC65FD28C
#                                         
set web login-style simple               
http secure-server ssl-policy default_policy
http server enable                       
http secure-server enable               
http server permit interface Vlanif1     
#                                         
fib regularly-refresh disable            
#                                         
user-interface con 0                     
authentication-mode aaa                  
user-interface vty 0                     
authentication-mode aaa                  
user privilege level 15                  
user-interface vty 1 4                    
#                                         
wlan                                      
wmm-profile name wmmf id 0               
traffic-profile name traf id 0           
security-profile name secf id 0         
radio-profile name radiof id 0           
  wmm-profile id 0                        
#                                         
interface Wlan-Radio0/0/0                 
radio-profile id 0                       
#                                         
dot1x-access-profile name dot1x_access_profile
#                                         
mac-access-profile name mac_access_profile
#                                         
ops                                       
#                                         
autostart                                 
#                                         
secelog                                   
#                                         
return                           
zaz99 发表于 2026-1-8 16:00
炫迈 发表于 2026-1-8 14:16
你要做两个网段隔离,55网段走集团网络,1网段走电信宽带,当55网段断了就切到电信,不过AR161W-S不支持自 ...

这什么ai?一顿瞎输出。
用BFD联动不就能自动切换了。
还有结尾一边说数值小优先,一边又说这样配置平时是走集团的线路,难道60和100谁大谁小ai都分不出吗?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - 52pojie.cn ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2026-1-13 17:05

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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