Cấu hình router router dial up

3 275 0
Cấu hình router router dial up

Đang tải... (xem toàn văn)

Thông tin tài liệu

Cấu hình router-router dial-up Cấu hình router-router dialup Bởi: Phòng GPNX2 Công ty TNHH Dịch vụ Công nghệ Tin học HiPT Xem mô hình sau: Ví dụ kết nối router-to-router Đối với mô hình router-router dial-up router phải đóng vai trò answering router đóng vai trò dialing Để cấu hình router-router dial-up, phải cấu hình cho router answering router dialing router dialing phải cấu hình cho việc quay số bao gồm chatscript, dialer map, ip route… Lệnh ip route dùng để thiết lập static route (đã trình bày phần config leased line): ip route network[mask]{address | interface}[distance][permanent] • Cấu hình answering access server (Snoopy): ! version 12.0 ! hostname Snoopy ! enable password test ! aaa authentication ppp default local ! username Woodstock password kd345096ix09ghu934c=e ! interface Ethernet0 ip address 172.16.10.1 255.255.255.0 ! interface Serial0 no ip address shutdown ! interface Serial1 no ip address shutdown ! interface Async1 ip unnumbered Ethernet0 encapsulation ppp peer default ip address 172.16.20.1 async dynamic routing async mode dedicated dialer idletimeout 300 dialer map ip 172.16.20.1 name Woodstock broadcast ppp authentication chap dialer-group ! router rip network 172.16.0.0 ! access-list 100 deny ip 0.0.0.0 1/3 Cấu hình router-router dial-up 255.255.255.255 255.255.255.255 0.0.0.0 access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 ! dialer-list list 100 ! ip route 0.0.0.0 0.0.0.0 172.16.20.1 ip route 172.16.20.1 255.255.255.255 async1 ! line line aux modem dialin speed 115200 flowcontrol hardware line vty password cisco ! end • Cấu hình cho dialing access server (Woodstock): ! version 12.0 ! hostname Woodstock ! enable password test ! username Snoopy password peanuts chat-script dialnum "" "atdt\T" TIMEOUT 60 CONNECT \c chat-script rstusr "" "at&fs0=1e0&r2&d2&c1&b1&h1&m0&k0" "OK" ! interface Ethernet0 ip address 172.16.20.1 255.255.255.0 ! interface Serial0 no ip address ! interface Serial1 no ip address ! interface Async1 ip unnumbered Ethernet0 encapsulation ppp async default ip address 172.16.10.1 async dynamic routing async mode dedicated dialer in-band dialer idle-timeout 300 dialer map ip 172.16.10.1 name Snoopy modem-script dialnum broadcast 14085554321 dialer-group ppp authentication chap pulse-time ! router rip network 172.16.0.0 ! ip route 0.0.0.0 0.0.0.0 172.16.10.1 ip route 172.16.10.1 255.255.255.255 async ! access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.0 accesslist 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 ! dialer-list list 100 ! line line aux modem InOut speed 115200 script reset rstusr flowcontrol hardware ! line vty password test login ! end Ta không sử dụng lệnh ip unnumbered mà gán địa trực tiếp cho cổng async sau: • Cấu hình answering access server (Snoopy): interface Async1 ip address 172.16.30.1 255.255.255.0 encapsulation ppp peer default ip address 172.16.30.2 ( hay async dynamic address được) async dynamic routing async mode dedicated dialer idle-timeout 300 dialer map ip 172.16.30.2 name Woodstock broadcast ppp authentication chap dialer-group • Cấu hình cho dialing access server (Woodstock): interface Async1 ip address 172.16.30.2 255.255.255.0 encapsulation ppp async default ip address 172.16.30.1 ( 2/3 Cấu hình router-router dial-up hay async dynamic address được) async dynamic routing async mode dedicated dialer in-band dialer idle-timeout 300 dialer map ip 172.16.30.1 name Snoopy modem-script dialnum broadcast 14085554321 dialer-group ppp authentication chap pulse-time ! router rip network 172.16.0.0 ! ip route 0.0.0.0 0.0.0.0 172.16.30.1 ip route 172.16.30.1 255.255.255.255 async ! 3/3 ... address 172.16.30.1 ( 2/3 Cấu hình router- router dial- up hay async dynamic address được) async dynamic routing async mode dedicated dialer in-band dialer idle-timeout 300 dialer map ip 172.16.30.1... dedicated dialer in-band dialer idle-timeout 300 dialer map ip 172.16.10.1 name Snoopy modem-script dialnum broadcast 14085554321 dialer-group ppp authentication chap pulse-time ! router rip... dynamic routing async mode dedicated dialer idle-timeout 300 dialer map ip 172.16.30.2 name Woodstock broadcast ppp authentication chap dialer-group • Cấu hình cho dialing access server (Woodstock):

Ngày đăng: 15/01/2016, 08:11

Từ khóa liên quan

Mục lục

  • Cấu hình router-router dial-up

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan