Sale

วันอาทิตย์ที่ 16 มกราคม พ.ศ. 2554

การ config router modem Cisco 800-877

ตัวอย่างการ config router Cisco 800 สำหรับผู้ที่สนใจใช้ Cisco 800 / 877 เป็น Router ADSL ครับ
Ex Cisco 800 / 877 with ADSL






hostname XXX
!
boot-start-marker
boot-end-marker
!
enable secret 5 XXXXXX
!
no aaa new-model
!
ip cef
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
ip name-server 202.69.137.138 <-- DNS from ISP
ip name-server 202.69.137.137 <-- DNS from ISP
!
!
!
archive
log config
hidekeys
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 0/33
encapsulation aal5snap
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
switchport mode trunk
speed 100
no routing dynamic
!
interface FastEthernet1
speed 100
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address XX.XX.XX.XX 255.255.255.0
ip access-group 101 in
ip access-group 101 out
ip nat inside
no ip virtual-reassembly
!
interface Dialer1
description Test VPN
mtu 1492
bandwidth 20480
ip address negotiated
ip access-group 101 in
ip access-group 101 out
ip mtu 1460
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1436
load-interval 30
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username XXX password XXX <-- user pass ที่ได้จาก ISP
!
no ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit any
access-list 101 permit ip any any
!
line con 0
logging synchronous
no modem enable
line aux 0
line vty 0 4
password XXX
logging synchronous
login
!
end

ไม่มีความคิดเห็น:

แสดงความคิดเห็น