一个关于华为的ADSL拨号配置
这是我研究出来的,感觉速度挺快,希望对学习有帮助[hzezgzb]disp curr
now create configuration...
current configuration
!
version 1.74
local-user hzezgzb service-type ppp password cipher "a-
local-user b service-type administrator password simple b
sysname hzezgzb
dialer-rule 1 ip permit
info-center console
info-center console debugging
firewall enable
aaa-enable
aaa accounting-scheme optional
!
dhcp server ip-pool 1
network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.0.254
dns-list 202.99.192.66 202.99.192.68
domain-name client.com
acl 1 match-order auto
rule normal permit source 192.168.0.0 192.168.0.255
!
acl 101 match-order auto
!
interface aux0
async mode flow
link-protocol ppp
!
interface ethernet0
ip address 192.168.0.254 255.255.255.0
!
interface ethernet1
pppoe-client dial-bundle-number 1
nat outbound 101 interface
!
interface serial0
link-protocol ppp
!
interface serial1
link-protocol ppp
!
interface dialer1
link-protocol ppp
mtu 1450
tcp mss 1024
ppp pap local-user shkj password simple 123456
ip address ppp-negotiate
dialer bundle 1
dialer-group 1
dialer number 7024783
nat outbound 1 interface
!
quit
ospf enable
!
quit
!
quit
ip route-static 0.0.0.0 0.0.0.0 dialer 1 preference 60
!
return
[hzezgzb]