ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 12344|回复: 8

[交流] 奇怪,我买了一部RB751U-2HnD,怎么配置都死活上不了网!

[复制链接]
发表于 2010-5-6 05:10:02 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

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

x
最近刚买了一部RB751U-2HnD ,以前用的是2.97 及 3.30

现在按照之前那样配置,死活上不了网,AD可以看到已经拔号成功。net也做了。
谁能帮我看看,下面是导出的配置:





# jan/02/1970 03:25:58 by RouteROS软路由 5.12
/interface bridge
add admin-mac=00:0C:42:E4:FEF ageing-time=5m arp=enabled auto-mac=no
disabled=no forward-delay=15s l2mtu=1598 max-message-age=20s mtu=1500
name=bridge-local priority=0x8000 protocol-mode=rstp transmit-hold-count=
6
/interface ethernet
set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1600
mac-address=00:0C:42:E4:FEE mtu=1500 name=ether1-gateway speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited
disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:E4:FEF
master-port=none mtu=1500 name=ether2-master-local speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited
disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:E4:FE:E0
master-port=ether2-master-local mtu=1500 name=ether3-slave-local speed=
100Mbps
set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited
disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:E4:FE:E1
master-port=ether2-master-local mtu=1500 name=ether4-slave-local speed=
100Mbps
set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited
disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:E4:FE:E2
master-port=ether2-master-local mtu=1500 name=ether5-slave-local speed=
100Mbps
/interface ethernet switch
set 0 mirror-source=none mirror-target=none name=switch1
/interface wireless security-profiles
set [ find default=yes ] authentication-types="" eap-methods=passthrough
group-ciphers=aes-ccm group-key-update=5m interim-update=0s
management-protection=disabled management-protection-key="" mode=none
name=default radius-eap-accounting=no radius-mac-accounting=no
radius-mac-authentication=no radius-mac-caching=disabled
radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username
static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=
none static-key-0=""static-key-1=""static-key-2=""static-key-3=""
static-sta-private-algo=none static-sta-private-key=""
static-transmit-key=key-0 supplicant-identity=MikroTik tls-certificate=
none tls-mode=no-certificates unicast-ciphers=aes-ccm wpa-pre-shared-key=
"" wpa2-pre-shared-key=""
add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=tkip
group-key-update=5m interim-update=0s management-protection=allowed
management-protection-key="" mode=dynamic-keys name=profile1
radius-eap-accounting=no radius-mac-accounting=no
radius-mac-authentication=no radius-mac-caching=disabled
radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username
static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=
none static-key-0=""static-key-1=""static-key-2=""static-key-3=""
static-sta-private-algo=none static-sta-private-key=""
static-transmit-key=key-0 supplicant-identity="" tls-certificate=none
tls-mode=no-certificates unicast-ciphers=tkip wpa-pre-shared-key=
inseat0000 wpa2-pre-shared-key=inseat0000
/interface wireless
set 0 adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0
antenna-mode=ant-a area="" arp=enabled band=2ghz-b/g/n basic-rates-a/g=
6Mbps basic-rates-b=1Mbps bridge-mode=enabled channel-width=
20/40mhz-ht-above compression=no country=no_country_set
default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=
0 default-forwarding=yes dfs-mode=none disable-running-check=no disabled=
no disconnect-timeout=3s distance=dynamic frame-lifetime=0 frequency=2412
frequency-mode=manual-txpower frequency-offset=0 hide-ssid=no
ht-ampdu-priorities=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192
ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7
ht-guard-interval=any ht-rxchains=0,1 ht-supported-mcs="mcs-0,mcs-1,mcs-2,
mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-
14,mcs-15,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23"
ht-txchains=0,1 hw-fragmentation-threshold=disabled hw-protection-mode=
none hw-protection-threshold=0 hw-retries=7 l2mtu=2290 mac-address=
00:0C:42:E4:FE:E3 max-station-count=2007 mode=station mtu=1500 name=wlan1
noise-floor-threshold=default nv2-cell-radius=30 nv2-noise-floor-offset=
default nv2-preshared-key="" nv2-qos=default nv2-queue-count=2
nv2-security=disabled on-fail-retry-time=100ms periodic-calibration=
default periodic-calibration-interval=60 preamble-mode=both
proprietary-extensions=post-2.9.25 radio-name=000C42E4FEE3
rate-selection=advanced rate-set=default scan-list=default
security-profile=profile1 ssid=410 station-bridge-clone-mac=
00:00:00:00:00:00 supported-rates-a/g=
6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=
1Mbps,2Mbps,5.5Mbps,11Mbps tdma-period-size=2 tx-power-mode=default
update-stats-interval=disabled wds-cost-range=50-150 wds-default-bridge=
none wds-default-cost=100 wds-ignore-ssid=no wds-mode=disabled
wireless-protocol=any wmm-support=disabled
add area="" arp=enabled bridge-mode=enabled default-ap-tx-limit=0
default-authentication=yes default-client-tx-limit=0 default-forwarding=
yes disable-running-check=no disabled=yes hide-ssid=yes mac-address=
02:0C:42:E4:FE:E3 master-interface=wlan1 max-station-count=2007 mtu=1500
name=wlan2 proprietary-extensions=post-2.9.25 security-profile=profile1
ssid=kevin update-stats-interval=disabled wds-cost-range=0
wds-default-bridge=none wds-default-cost=0 wds-ignore-ssid=yes wds-mode=
disabled wmm-support=disabled
/interface wireless manual-tx-power-table
set wlan1 manual-tx-powers="1Mbps:17,2Mbps:17,5.5Mbps:17,11Mbps:17,6Mbps:17,9M
bps:17,12Mbps:17,18Mbps:17,24Mbps:17,36Mbps:17,48Mbps:17,54Mbps:17,HT20-0:
17,HT20-1:17,HT20-2:17,HT20-3:17,HT20-4:17,HT20-5:17,HT20-6:17,HT20-7:17,H
T40-0:17,HT40-1:17,HT40-2:17,HT40-3:17,HT40-4:17,HT40-5:17,HT40-6:17,HT40-
7:17"
/interface wireless nstreme
set wlan1 disable-csma=no enable-nstreme=no enable-polling=yes framer-limit=
3200 framer-policy=none
/ip dhcp-server
add address-pool=static-only authoritative=after-2sec-delay bootp-support=
static disabled=yes interface=bridge-local lease-time=3d name=default

/ip pool
add name=pool1 ranges=192.168.0.99-192.168.0.200
add name=pool2 ranges=192.168.0.201-192.168.0.210
/ppp profile
set 0 change-tcp-mss=yes name=default only-one=default use-compression=
default use-encryption=default use-mpls=default use-vj-compression=
default
add change-tcp-mss=default dns-server=202.96.128.86 local-address=3.3.3.3
name=profile1 only-one=yes remote-address=pool1 session-timeout=0s
use-compression=default use-encryption=yes use-mpls=yes
use-vj-compression=default wins-server=202.96.128.166
set 2 change-tcp-mss=yes name=default-encryption only-one=default
use-compression=default use-encryption=yes use-mpls=default
use-vj-compression=default
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2
dial-on-demand=no disabled=no interface=ether1-gateway max-mru=1480
max-mtu=1480 mrru=disabled name=pppoe-out1 password=JMKKRRBU profile=
profile1 service-name=home use-peer-dns=no user=076905684780@163.gd
/interface bridge port
add bridge=bridge-local disabled=no edge=auto external-fdb=auto horizon=none
interface=ether2-master-local path-cost=10 point-to-point=auto priority=
0x80
add bridge=bridge-local disabled=no edge=auto external-fdb=auto horizon=none
interface=wlan1 path-cost=10 point-to-point=auto priority=0x80
/interface bridge settings
set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=
no
/interface pppoe-server server
add authentication=mschap1,mschap2 default-profile=profile1 disabled=no
interface=bridge-local keepalive-timeout=10 max-mru=1480 max-mtu=1480
max-sessions=0 mrru=disabled one-session-per-host=no service-name=
service1
/interface pptp-server server
set authentication=pap,chap,mschap1,mschap2 default-profile=profile1 enabled=
yes keepalive-timeout=30 max-mru=1460 max-mtu=1460 mrru=disabled
/interface sstp-server server
set authentication=pap,chap,mschap1,mschap2 certificate=none default-profile=
default enabled=no keepalive-timeout=60 max-mru=1500 max-mtu=1500 mrru=
disabled port=443 verify-client-certificate=no
/interface wireless align
set active-mode=yes audio-max=-20 audio-min=-100 audio-monitor=
00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 frame-size=300
frames-per-second=25 receive-all=no ssid-all=no
/interface wireless sniffer
set channel-time=200ms file-limit=10 file-name="" memory-limit=10
multiple-channels=no only-headers=no receive-errors=no streaming-enabled=
no streaming-max-rate=0 streaming-server=0.0.0.0
/ip address
add address=192.168.0.235/24 comment="default configuration" disabled=no
interface=ether1-gateway network=192.168.0.0
/ip dhcp-client
add comment="default configuration" default-route-distance=1 disabled=no
interface=wlan1
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=0.0.0.0/0 dhcp-option="" dns-server="" gateway="" ntp-server=""
wins-server=""
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB
max-udp-packet-size=4096 servers=202.96.128.86
/ip firewall mangle
add action=change-mss chain=forward disabled=no new-mss=1400 passthrough=yes
protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat disabled=yes out-interface=pppoe-out1
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=yes ports=69
set irc disabled=no ports=6667
set h323 disabled=yes
set sip disabled=no ports=5060,5061 sip-direct-media=yes
set pptp disabled=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip neighbor discovery
set ether1-gateway disabled=no
set ether2-master-local disabled=no
set ether3-slave-local disabled=no
set ether4-slave-local disabled=no
set ether5-slave-local disabled=no
set wlan1 disabled=yes
set bridge-local disabled=no
set pppoe-out1 disabled=yes
set wlan2 disabled=yes
/ip proxy
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4
cache-on-disk=no enabled=no max-cache-size=none max-client-connections=
600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0
parent-proxy-port=0 port=8080 serialize-connections=no src-address=
0.0.0.0
/port firmware
set directory=firmware
/ppp aaa
set accounting=yes interim-update=0s use-radius=no
/ppp secret
add caller-id="" disabled=no limit-bytes-in=0 limit-bytes-out=0 name=test
password=test profile=profile1 routes=""service=pppoe
set 0 cpu=auto
set 1 cpu=auto
set 2 cpu=auto
set 3 cpu=auto
发表于 2010-5-6 20:50:42 | 显示全部楼层
本帖最后由 liuxi001 于 2012-6-3 23:06 编辑

顶2楼,应该是IP ROUTERS没有配置吧
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2
dial-on-demand=no disabled=no interface=ether1-gateway max-mru=1480
max-mtu=1480 mrru=disabled name=pppoe-out1 password=JMKKRRBU profile=
profile1 service-name=home use-peer-dns=no
/ip firewall mangle
add action=change-mss chain=forward disabled=no new-mss=1400 passthrough=yes
protocol=tcp


要么add-default-route=yes  use-peer-dns=yes
new-mss=1440
发表于 2010-5-8 03:38:25 | 显示全部楼层
hehe~NONO,你估计是在原有配置上改的。全部清空,不要删除,重新设置就会ok~我的是这样,不知道你的如何。
发表于 2010-5-9 06:12:15 | 显示全部楼层
我最近也入手了,感觉这东西难难的,配置花了我一个多小时才搞的上网!现在那脱机下载找文档也找不到
发表于 2010-5-12 01:12:28 | 显示全部楼层
iamdmj 发表于 2012-8-20 15:29

                               
登录/注册后可看大图

hehe~NONO,你估计是在原有配置上改的。全部清空,不要删除,重新设置就会ok~我的是这样,不知道你的如何。


怎么清空配置?
发表于 2010-5-13 21:13:28 | 显示全部楼层
试试在"IP-Routes-Rules"里面添加一条。
src.Address:0.0.0.0/0
interface:pppoe-client

PS:我也是RB751U-2HnD,好少有人用这个。支持哥们一下。
发表于 2010-5-14 14:20:43 | 显示全部楼层
/ip address
add address=192.168.0.235/24 comment="default configuration" disabled=no
    inte**ce=ether1-gateway network=192.168.0.0
/ip dhcp-client
add comment="default configuration" default-route-distance=1 disabled=no
    inte**ce=wlan1
第一个inte**ce=bridge-local, pppoe上网的,把第2项设置禁用。
DHCP 服务接口也是bridge-local!而且你的DHCP没有配置好。
参考4楼
要么add-default-route=yes  use-peer-dns=yes
new-mss=1440
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-4-26 00:42 , Processed in 0.106459 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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