wa4320-acn-si 通过PPPOE拨号可正常获取公网IP,但不能上网。配置NAT后不能获取私有IP,不配置NAT可以获取私有IP,但上不了网。是不是NAT配置不正确?该怎么配置NAT?
version 5.20, Release 1508P02
#
sysname WA4320-ACN-SI
#
domain default enable system
#
telnet server enable
#
port-security enable
#
password-recovery enable
#
undo attack-defense tcp fragment enable
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool home
network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.0.50
dns-list 192.168.0.50
expired unlimited
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$ZPkXAKlLT/yDQBhir74nJWu+2SppvODB/GcwXpo=
authorization-attribute level 3
service-type telnet
service-type web
#
wlan rrm
dot11a mandatory-rate 6 12 24
dot11a supported-rate 9 18 36 48 54
dot11b mandatory-rate 1 2
dot11b supported-rate 5.5 11
dot11g mandatory-rate 1 2 5.5 11
dot11g supported-rate 6 9 12 18 24 36 48 54
#
wlan service-template 1 clear
ssid H3C
service-template enable
#
wlan service-template 2 crypto
ssid H3C-home
cipher-suite wep40
wep default-key 1 wep40 raw-key cipher $c$3$/B0bJwZ5Twz7fT+GEiD+4/qFMgapE4n0D1NfMtk=
service-template enable
#
cwmp
undo cwmp enable
#
interface Dialer1
link-protocol ppp
ppp chap user 13970983332
ppp chap password cipher $c$3$nLq49flF2v6bFq/IxMeCjI+f80b2dq7DyA==
ppp pap local-user 13970983332 password cipher $c$3$59LD+m77EtsHZUJHCDrlCcwBMsSJre+rTw==
ppp ipcp dns request
ip address ppp-negotiate
dialer user pppoeclient
dialer-group 1
dialer bundle 1
#
interface NULL0
#
interface Vlan-interface1
pppoe-client dial-bundle-number 1
ip address 192.168.0.50 255.255.255.0
#
interface GigabitEthernet1/0/1
#
interface WLAN-BSS32
port link-type hybrid
port hybrid vlan 1 untagged
#
interface WLAN-BSS33
port link-type hybrid
port hybrid vlan 1 untagged
#
interface WLAN-BSS34
port link-type hybrid
port hybrid vlan 1 untagged
#
interface WLAN-BSS35
port link-type hybrid
port hybrid vlan 1 untagged
#
interface WLAN-Radio1/0/1
service-template 2 interface wlan-bss 34
#
interface WLAN-Radio1/0/2
service-template 1 interface wlan-bss 33
service-template 2 interface wlan-bss 35
#
dhcp enable
#
dialer-rule 1 ip permit
#
arp-snooping enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
#
return
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论