思科路由器怎麼設置撥號上網,如何用代碼實現的,我們一起看看吧
思科1841路由器寬帶撥號設置命令: vpdn enable no vpdn logging
!
! interface Ethernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside no ip mroute-cache
!
!
!
!
interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip nat outside
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap
ppp pap sent-username 電信的帳號 password 密碼
!
ip classless
no ip http server
!
dialer-list 1 protocol ip permit
ip nat inside source list 1 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 dialer1
access-list 1 permit 192.168.0.0 0.0.0.255
!
line con
0 exec-timeout 0 0
transport input none
line vty 0 4
login
!
end