高人指教 PPOE+无线上网问题!
本帖最后由 netonet 于 2009-11-24 01:02 编辑问题描述:
客户端可以Ping通LAN网关192.168.0.1
客户端无法Ping通Dns,网页无法打开!
客户端无法Ping通10.14.80.1,网页无法打开!
>>>>>>>>>>>>>>>>>>>>>>>>>>>
DHCP客户端:
实际地址: 00-0E-8E-0D-0F-AC
IP 地址: 192.168.0.254
子网掩码: 255.255.255.0
默认网关: 192.168.0.1
DHCP 服务器: 192.168.0.1
获得了租约: 2009-12-25 0:42:09
租约过期: 2009-12-28 0:42:09
DNS 服务器: 10.1.3.120, 219.150.32.132
WINS 服务器:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ros 3.22配置如下:
接口 ether1(8139)
wlan1(5414a)
>>>>>>>>>>>>>>>>>>>>>>>>>>
/interface> pr
# NAME TYPE MTU
0Rether1 ether 1500
1 wlan1 wlan 1500
2 pppoe-out1 pppoe-out
>>>>>>>>>>>>>>>>>>>>>>>>>>
/interface pppoe-client> pr
Flags: X - disabled, R - running
0 name="pppoe-out1" max-mtu=1480 max-mru=1480 mrru=disabled interface=ether1 user="7818641" password="123123"
profile=default service-name="TM-ADSL" ac-name="" add-default-route=no dial-on-demand=no use-peer-dns=yes
allow=pap,chap,mschap1,mschap2
>>>>>>>>>>>>>>>>>>>>>>>>>>
/interface wireless> pr
Flags: X - disabled, R - running
0 name="wlan1" mtu=1500 mac-address=00:16:E3:99:7A:0C arp=enabled interface-type=Atheros AR5413 mode=ap-bridge
ssid="MikroTik" frequency=2412 band=2.4ghz-b/g scan-list=default antenna-mode=ant-a wds-mode=disabled
wds-default-bridge=none wds-ignore-ssid=no default-authentication=yes default-forwarding=yes
default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
>>>>>>>>>>>>>>>>>>>>>>>>>>
Select interface to run DHCP server on
dhcp server interface: wlan1
Select network for DHCP addresses
dhcp address space: 192.168.0.0/24
Select gateway for given network
gateway for dhcp network: 192.168.0.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 192.168.0.2-192.168.0.254
Select DNS serve
dns servers: 10.1.3.120,219.150.32.132
Select lease time
lease time: 3d
>>>>>>>>>>>>>>>>>>>>>>>>>>
/ip address> pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 D 10.14.80.137/32 10.14.80.1 0.0.0.0 pppoe-out1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 wlan1
>>>>>>>>>>>>>>>>>>>>>>>>>>
/ip route> pr
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE IN..
0 A S0.0.0.0/0 r 10.14.80.1 1 pp..
1 ADC10.14.80.1/32 10.14.80.137 0 pp..
2 ADC192.168.0.0/24 192.168.0.1 0 wl..
>>>>>>>>>>>>>>>>>>>>>>>>>>
/ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=ether1
>>>>>>>>>>>>>>>>>>>>>>>>>>
> ping baidu.com
61.135.163.75 64 byte ping: ttl=53 time=17 ms
61.135.163.75 64 byte ping: ttl=53 time=19 ms
61.135.163.75 64 byte ping: ttl=53 time=18 ms
61.135.163.75 64 byte ping: ttl=53 time=18 ms
61.135.163.75 64 byte ping: ttl=53 time=18 ms
61.135.163.75 64 byte ping: ttl=53 time=19 ms
61.135.163.75 64 byte ping: ttl=53 time=19 ms
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 17/18.2/19 ms
>>>>>>>>>>>>>>>>>>>>>>>>>>
> ping 192.168.0.254
192.168.0.254 64 byte ping: ttl=128 time=19 ms
192.168.0.254 64 byte ping: ttl=128 time=1 ms
192.168.0.254 64 byte ping: ttl=128 time=2 ms
192.168.0.254 64 byte ping: ttl=128 time=11 ms
192.168.0.254 64 byte ping: ttl=128 time=3 ms
4 packets transmitted, 5 packets received, 25% packet gain
round-trip min/avg/max = 1/7.2/19 ms
>>>>>>>>>>>>>>>>>>>>>>>>>>
> ping 10.14.80.1
10.14.80.1 64 byte ping: ttl=255 time=1 ms
10.14.80.1 64 byte ping: ttl=255 time=1 ms
10.14.80.1 64 byte ping: ttl=255 time=2 ms
10.14.80.1 64 byte ping: ttl=255 time=1 ms
10.14.80.1 64 byte ping: ttl=255 time=1 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1/1.2/2 ms
>>>>>>>>>>>>>>>>>>>>>>>>>>
/ip dns> pr
primary-dns: 10.1.3.120
secondary-dns: 219.150.32.132
allow-remote-requests: no
max-udp-packet-size: 512
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 5KiB
>>>>>>>>>>>>>>>>>>>>>>>>>>
> ping 10.1.3.120
10.1.3.120 64 byte ping: ttl=126 time=2 ms
10.1.3.120 64 byte ping: ttl=126 time=2 ms
10.1.3.120 64 byte ping: ttl=126 time=1 ms
10.1.3.120 64 byte ping: ttl=126 time=2 ms
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1/1.7/2 ms
>>>>>>>>>>>>>>>>>>>>>>>>>>
> ping 219.150.32.132
219.150.32.132 64 byte ping: ttl=243 time=29 ms
219.150.32.132 64 byte ping: ttl=243 time=30 ms
219.150.32.132 64 byte ping: ttl=243 time=29 ms
219.150.32.132 64 byte ping: ttl=243 time=30 ms
219.150.32.132 64 byte ping: ttl=243 time=29 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 29/29.4/30 ms 本帖最后由 小狼 于 2009-11-25 00:12 编辑
/ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=ether1这里不对。
应该是out-interface=pppoe-out1
或直接把out-interface 去掉。
因为是要NAT成pppoe-out1的地址,而不是ether1的。 ok!问题解决!谢谢大哥!
页:
[1]