收拾东西翻出一台MSR 30-11路由,本人小白,联通的网络,现在用的TPLink的家用路由拨号上网, 想用这台MSR 30-11路由器上网,该如何配置,登陆了路由器的web页面一通瞎弄,结果上不去,该怎么配置,求教了
太专业的不会描述,就想把联通宽带账号密码填上后能让路由器拨号,供内网用户上网,现在的配置如下
#
version 5.20, Release 1809P01
#
sysname Unicom 3 PPPoE
#
domain default enable system
#
dns server 202.96.69.38
dns server 202.96.64.68
#
dar p2p signature-file flash:/p2p_default.mtd
#
port-security enable
#
vlan 1
#
radius scheme system
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool vlan1 extended
network mask 255.255.255.0
#
user-group system
#
local-user admin
password cipher Q[*LJPYL@U$=-9'AH2@6!A!!
authorization-attribute level 3
service-type telnet
#
controller E1 3/0
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Dialer10
nat outbound
link-protocol ppp
ppp chap user jzrm@163
ppp chap password cipher OUM!K%F<+$[Q=^Q`MAF4<1!!
ppp pap local-user jzrm@163 password cipher OUM!K%F<+$[Q=^Q`MAF4<1!!
ppp ipcp dns admit-any
ppp ipcp dns request
mtu 1492
ip address ppp-negotiate
tcp mss 1440
dialer user username
dialer-group 10
dialer bundle 10
#
interface Ethernet0/0
port link-mode route
nat outbound
ip address 192.168.3.1 255.255.255.0
#
interface Ethernet0/1
port link-mode route
nat outbound
pppoe-client dial-bundle-number 10
#
interface Serial0/0
link-protocol ppp
#
interface Serial1/0
link-protocol ppp
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.4.1 255.255.255.0
dhcp server apply ip-pool vlan1
dhcp select relay
nat outbound
#
ip route-static 0.0.0.0 0.0.0.0 Dialer10
#
dialer-rule 10 ip permit
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
user-interface vty 0 4
#
return
(0)
最佳答案
WEB界面的话点击快速配置,输入相应的用户名和密码就可以了。
命令行配置如下:
#配置拨号接口,账号为abc,密码为123456
[H3C] dialer-rule 1 ip permit
[H3C] interface dialer 1
[H3C-Dialer1] dialer user username
[H3C-Dialer1] dialer-group 1
[H3C-Dialer1] dialer bundle 1
[H3C-Dialer1] ip address ppp-negotiate
[H3C-Dialer1] ppp chap user abc
[H3C-Dialer1] ppp chap password simple 123456
[H3C-Dialer1] ppp pap local-user abc password simple 123456 。
[H3C-Dialer1] ppp ipcp dns admit-any
[H3C-Dialer1] ppp ipcp dns request
[H3C-Dialer1]quit
#将拨号口绑定实际的物理接口
[H3C]interface GigabitEthernet 0/0
[H3C-GigabitEthernet0/0] pppoe-client dial-bundle-number 1
#一般情况下,路由器默认已经配置内网网关VLAN1地址为192.168.1.1/24,如果内网是192.168.1.1/24网段,则无需配置这一步
<H3C>interface Vlan-interface1
[H3C-Vlan-interface1]ip address 192.168.1.1 255.255.255.0
[H3C-Vlan-interface1]quit
#缺省情况下,路由器DHCP服务器已经默认开启(分配的地址范围为192.168.1.2-192.168.1.254,下发的网关和DNS地址均为192.168.1.1),如果局域网电脑需要自动获取IP地址和DNS地址上网,那就需要根据实际情况设置对应DHCP地址池的参数
<H3C>system-view
#进入系统缺省VLAN1的DHCP地址池,
[H3C]dhcp server ip-pool vlan1 extended
#配置要分配的地址范围,掩码以及网关
[H3C-dhcp-pool-vlan1]network ip range 192.168.1.2 192.168.1.254
[H3C-dhcp-pool-vlan1]network mask 255.255.255.0
[H3C-dhcp-pool-vlan1]gateway-list 192.168.1.1
#配置要分配的DNS地址,此处填写上层网络实际提供的DNS地址,可以设置一个,也可以设置多个
[H3C-dhcp-pool-vlan1]dns-list 5.5.5.5 6.6.6.6
[H3C-dhcp-pool-vlan1]quit
#在VLAN 1接口视图下应用地址池(缺省情况下,Vlan-interface1接口下已应用了这个地址池)
[H3C]interface Vlan-interface1
[H3C-Vlan-interface1]dhcp server apply ip-pool vlan1
[H3C]interface Dialer 1
[H3C-Dialer1]nat outbound
[H3C]quit
[H3C]ip route-static 0.0.0.0 0 Dialer 1
[H3C]save force
(0)
内网不能用DHCP,必须得是静态地址,这个要怎么弄啊
不配置DHCP就行了,全部都手动给终端配置地址
明早儿就试一下,先谢过了
已解决,非常感谢
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
已解决,非常感谢