1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Bài thuyết trình: Kết nối quay số Dial-up docx

73 802 4
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

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

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Kết nối quay số
Trường học Unknown University
Chuyên ngành Networking
Thể loại Bài thuyết trình
Năm xuất bản 2023
Thành phố Hanoi
Định dạng
Số trang 73
Dung lượng 1,56 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Giao thức két néi PPP trong quay $o Thiết bị đầu cuối dùng cho kết ñổi > Analog modem > ISDN modem Công kết nỗi quay số trên thiết bị mạ > Công kết nỗi quay số qua môi trườnổ > Công

Trang 2

Giao thức két néi PPP trong quay $o

Thiết bị đầu cuối dùng cho kết ñổi

> Analog modem

> ISDN modem

Công kết nỗi quay số trên thiết bị mạ

> Công kết nỗi quay số qua môi trườnổ

> Công kết nỗi quay số qua môi trường ISDN

Trang 3

Noi dung

+» Cầu hình quay số qua môi trường PSTN

> Câu hình các tham số chung

> Dialin

> Dial out

>» Dial on Demand (Backup)

> Cau hinh rotary group

» Cấu hình quay số qua môi trường ISDN

> Câu hình các tham số chung

> Dialin

> Dial out

> Cau hinh rotary group

Trang 4

authentication, chat, dialer, )

+» Troubleshooting két néi quay số qua môi

trường ISDN

> Kiém tra cau hinh (show interface, ip route,

dialer)

>» Trobleshooting (debug ppp negotiation, ppp

authentication, chat, dialer, .)

Trang 5

Tổng quan về quay số

Trang 8

Cac thuat ngitdién quan cen=q Nase

Trang 9

Các thuật ngữ liên quan đến quay số

Trang 10

Các thuật ngữ liên quan đến quay số

> Phuong thức kết nối bất đông bộ - Asynchronous

Trang 11

Các thuật ngữ liên quan đến quay số

> Interface

Vv Asynchronous interface

v Group asynchronous interface

(Gom nhiéu Asynchronous interface)

with the asynchronous $ wees :

Asynchronous interface Group Asynchronous interface

Trang 12

Các thuật ngữ liên quan đến quay số

Multiltk ———>> _— virtual sees <—— Protocol

Trang 13

Các thuật ngữ liên quan đến quay số

Console AUX ort ort

v Cond (CTY) — Console port (Primary terminal line )

v AUX -—AUX port (Auxiliary line )

v TTY —Async port (Terminal controller )

v VTY —- Telnet seesion (Virtual terminal )

Trang 14

Các thuật ngữ liên quan đến quay số

> Quan hệ giữa interface và line

⁄ Đối với cisco2500 (Fixed router)

¢ Console port : Con0 (CTYO)

¢ Async port: TTY1— TTYn (n=number of async port) haf

© AUX port: AUX = last_tty +1 (n+1)

° Telnet session: VTY = last_tty +1 (n+2) nạ hes

¢ Console port : Con0 (CTYO)

° Async port: TTY = (32 x slot number) + unit number + 1

© AUX port: AUX = last_tty +1

° Telnet session: VTY = last_tty + 2

Trang 15

Các thuật ngữ liên quan đến quay số

> Rotary group

¥ Tap hop nhiéu interface vat ly

⁄ Phân bố các interface vật lý cho từng kết nồi

⁄ Tận dụng tôi ưu kết nỗi vật lý

Dialer interface Dialer interlace 2

Dialer rotary group 1 Dialer rotary group2 =

Trang 16

Giao thtrc két noizPPP tronqea ay $e

Trang 17

Giao thức kết nói PPP trong quay số

> Chức năng của giao thức PPP

Y Error detection Link setup and control

Trang 18

Giao thức kết nói PPP trong quay số

> 03 Chức năng chính của giao thức PPP

Encapsulation datagrams over serial links

v LCP establishes, configures, authenticates, and tests the data- link connection

Vv NCP establish and configure different network-layer protocols (such as IP, IPX, and AppleTalk) For example, Internet Protocol Control Protocol (IPCP) is the NCP for IP

Trang 19

Giao thức kết nói PPP trong quay số

Trang 20

Giao thức kết nói PPP trong quay số

> Connection mode

v Interactive mode: a line can be used to make any type of

connection, depending on the EXEC command entered by the user

v Dedicated mode: interface is automatically configured for PPP connections

cae

Trang 21

Giao thức kết nói PPP trong quay số

> PPP Authentication (Three ways)

VY No Authentication

Vv Authentication from local database

v Authentication from central security server (TACACS or RADIUS)

Trang 22

Giao thức kết nói PPP trong quay số

> PPP PAP Authentication (two methods)

Vv One way: between host and router

Vv Two way: between router and router

Remote user

John

Run PPP Use PAP john, urbiz

ppp authentication PAP

ip add 10.0.0.1 255.255.255.0 dialerc-map ip 10.0.0,2

name right 555-2345 PPP pap sent-username left

passwore leftl

hostname right

int async 0 encapsulation ppp

Ppp 4uthentication PAP

ip add 10.0.90.2 255.255.255.909 daaler-map ip 10.9.9.1

name left 555-4321

Ppp pap sent-username right password rightl

Trang 23

Giao thức kết nói PPP trong quay số

> PPP CHAP Authentication

Y Placing the Call

v Sending a Challenge

Vv Processing the Challenge

Vv Answering the Challenge

hostname left username right password sameone

int async 0 encapsulation ppp Ppp authentication CHAP

hostname right username left password sameone

int async 0 encapsulation ppp Ppp authentication CHAP

Trang 24

Thiết bị đầu cuối dùn&eho Két fiØNwáy só

Trang 25

Thiét bj dau cudi dung cho kết nồi

Digital | Analog | Digital | Analog | Digital \ * W =

|*-PCM-encoded analog data =>| Serial Cable External

Phone Line Modem

Trang 26

Thiét bi dau cudi dung cho két noi

> Analog modem

quay so

¥ Cac chuan analog modem

4:1 Gompression

"

Trang 27

Thiét bj dau cudi dung cho kết nồi

Modem

control

Trang 28

Thiết bị đầu cuối dùng cho kết nồi

quay so

> Analog modem

Vv Hoat dong cua analog modem

Data transfer

TXD DTE Transmits data to the DCE

RXD DTE receives data from the DCE

Flow Control Group

RTS DTE has buffers available to receive from the DCE CTS DCE has buffers available to take data from the DTE

Modem Control

DTR Equipment (PC or Router) is connected & available to

receive data

CD Established & Acceptable carrier signal

DSR DCE is ready for use (modem turned on)

Trang 29

ung cho két noi

(DTE)

Asynchronous port Modem

Trang 30

Thiét bj dau cudi dung cho kết nồi

quay so

¬

=

reser Se) a]

Trang 31

Thiết bị đầu cuối dùng cho kết nồi

S

> Analog modem

¥ Cau hinh analog modem (Manual)

standard commands

AT&F Load the factory default settings

ATSO = 1 sets the modem to automatically answer all

incomming calls on the first ring AT&C1&D3 Sets up modem control (CD and DTR)

ATDT <phone number> Dial

Trang 32

Thiết bi đâu cuỗi

> Analog modem

¥ Cau hinh analog modem (Manual)

NonStandard commands

Hardware flow control AT\Q3 AT&K3 AT&H1&H2

saving the configuration AT&W AT&W AT&W

Trang 33

Thiết bi đâu cuỗi

> Analog modem

Vv Reverse telnet (Manual configuration)

Router # Telnet <ip address> <Telnet protocol + line number>

IP address: IP cua router

Telnet protocol (TCP port )for individual lines : 2000

Telnet protocol (TCP port )for rotary group: 3000

Line number: line gan modem can cau hinh

Vi du:

Router# Telnet 192.168.100.1 2001

Trang 34

Thiết bi đâu cuỗi

> Analog modem

¥ Cau hinh analog modem (Automatic configuration)

Modem capability database

Router# Show modemcap

default

codex_ 3260

usr_courier usr_sportster

Trang 35

Thiét bi dau cudi dung cho két ndi quay so

Line 1, Location: "", Type:

Length: 24 lines, Width: 80 columns

Baud rate (TX/RX) is 115200/115200, no parity, 1 stopbits, 8 databits

Status: No Exit Banner, Modem Detected

Modem type is usr_sportster (hoac la default)

2509# debug confmodem

TTY1: detection speed (115200) response - OK -

TTY1: Modem command AT&F&C1&D2&H1&R28&B1S0=1H0

TTY1: Modem configuration succeeded

TTY1: detection speed (115200) response - OK -

TTY1: Done with modem confuguration

Trang 36

Thiét bj dau cudi dung cho kết nồi

quay so

> ISDN modem

ISDN card inside PC Networt‹

Trang 37

Céng kéet-ndi quay so tren thict.brmang cisco

Trang 38

Công Kết nỗi quay số trên thiết bị

Trang 39

Công Kết nồi quay số trên thiết bị

q

ISON BRILEDs

Trang 40

Cauchinh quay sO gua moetruomg PSTN

Trang 41

Câu hình quay số qua môi trường PSTN

Modem AAA server

poof ce [et

a

> Rotary Telecommuter site " service

I

Branch office

Trang 42

Câu hình quay số qua môi trường PSTN

> Cấu hình các tham số chung cơ bản

Đặt tên, password và tạo user kết nồi

Router(config) # Hostname <name>

Router(config) # Enable secret <password>

Router(config) # Username <usel> password <passwora>

Khai bao domain va dia chi DNS server (néu co)

Router(config) # IP domain-name <domain com>

Router(config) # IP name-server </p address>

Dat IP cho interface (Ethernet, FastEthernet, loopback)

Router(config-if) # IP address </p address> <Subnetmask>

Cau hinh telnet (quan tri)

Router(config) # Line vty 0 4

Router(config -line) # Password <password>

Router(config -line) # Login

Trang 43

Câu hình quay số qua môi trường PSTN

Trang 44

Câu hình quay số qua môi trường PSTN

>» Dial in (Access to router via AUX port) — Remote configure

Or

Router(config) # Line aux 0

Khai bao modem

Router(config-line) # modem dialin

Router(config-line) # modem autoconfigure type </modem ftype> Router(config-line) # modem autoconfigure discorvery

Chọn giao thức kết nối

Router(config-line) # transport input all

Câu hình flow control, stopbit va speed cho céng AUX

Router(config-line) # flowcontrol hardware

Router(config-line) # Stopbits 1

Router(config-line) # Speed 115200 / 38400 / 19200

Dat password cho line AUX

Router(config-line) # password <password>

Trang 45

Câu hình quay số qua môi trường PSTN

Enter details for the phone number that you want to dial: s2 8331336 County/tecion: ‘Viet Nam (94) Sportster Yoice 33.6 PnP

Status Area code:

Dialing

Phone number: 8331336 |

Connect using: | Sportster Voice 33.6 PnP xv ; :

Trang 46

Câu hình quay số qua môi trường PSTN

> Dial in (Async)

Kết nỗi vào router từ máy trạm ở xa (remote access)

10.115.0.110/24

Serial 3/0

ntral A Windows 95 Modem Central site

Small office

⁄ Câu hình các tham số logic trên Async interface

⁄ Câu hình các tham số vật lý trên TTY line

⁄ Đặt pool địa chỉ cấp cho máy trạm quay vào

Trang 47

Câu hình quay số qua môi trường PSTN

> Dial in (Async)

Đặt pool địa chỉ cấp cho máy trạm

Router(config) # IP local pool <poo!name> <The first !P The last !P>

Cau hinh cac tham s6 logic trén interface async / group async

Router(config) # Interface Async x / GroupAsync x

Router(config-if) # group range </ine range> (d6i voi Interface GroupAsync) Router(config-if) # physical Async (d6i véi interface A/S)

Router(config-if) # ip address unnumbered </nferface>

Router(config-if) # encapsulation ppp

Router(config-if) # async default routing

Router(config-if) # async mode dedicated

Router(config-if) # IP tcp header-compression passive

Router(config-if) # peer default ip address pool <poo/name>

Trang 48

Câu hình quay số qua môi trường PSTN

> Dial in (Async)

Cấu hình các tham số vật lý trên line TTY (tương ứng với interface Async)

Or

Router(config) # Line <iine range>

Khai báo modem

Router(config-line) # modem dialin Router(config-line) # modem autoconfigure type <™modem fype>

Router(config-line) # modem autoconfigure discorvery

Chọn giao thức kết nối

Router(config-line) # transport input all

Cau hinh flow control, stopbit va speed cho line TTY

Router(config-line) # flowcontrol hardware Router(config-line) # Stopbits 1

Router(config-line) # Speed 115200 / 38400 / 19200

Trang 49

Câu hình quay số qua môi trường PSTN

Phone number

8331991 | | Altemates | lEzeizz “user |

[_] Use dialing rules Dialing Rules Save this user name and password for the following users:

Show icon in notification area when connected

[ OK ]Í ray ] (pia) [ Cancel | I Properties || Help |

Trang 50

Câu hình quay số qua môi trường PSTN

> Dial out (Dial on Demand)

(Két néi router — router hoac router — access server)

⁄ Câu hình các tham số logic trên Async interface

⁄ Câu hình các tham số vật lý trên TTY line

⁄ Cầu hình chat-script

⁄ Câu hình dialer-list

⁄ Câu hình bảng routing — routing table

Trang 51

Câu hình quay số qua môi trường PSTN

> Dial out (Dial on Demand)

Cau hinh chat-script dé quay s6 va reset modem

Router(config) # chat-script <scripi-name> <expect-string> <send-string>

Vi du:

Router(config) # chat-script dial ABORT ERROR ABORT BUSY “” “ATDT

\T” TIMEOUT 30 CONNECT \c Router(config) # chat-script reset “” “ATZ” OK “at&f&s0=1”

Ghi chu:

ABORT ERROR / ABORT BUSY : stop chat-sript néu có lỗi hoặc line ban

ATDT \T : quay số ĐT được khai báo bằng lénh dialer string

TIMEOUT 30: cho 30 giay truwoc khi connect

\c : kết thuc chat-script

ATZ: reset modem

Trang 52

Câu hình quay số qua môi trường PSTN

> Dial out (Dial on Demand)

Cấu hình dialer-list để tự động kích hoạt quay ra

Router(config) # Dialer-list <dia/er-number> protocol ip permit

Hoac

Router(config) # Access-list <ac/-number> deny ip any host 255.255.255.255 Router(config) # Access-list <ac/-numbel> permit ip any any

Router(config) # Dialer-list <dia/er-number> protocol ip list <ac/-number>

Cau hinh bang routing table

Router(config) # IP route <nefwork> <subnel> <galeway>

Vi du cau hinh routing (Dialer string <phone number>):

Router(config) # IP route 172.16.10.0 255.255.255.0 < /nierface Async >

Cau hinh pool dia chi cap cho cac may tram quay vao (Dial in only)

Router(config) # IP local pool <pool-name> <The first !P The last !P>

Trang 53

Câu hình quay số qua mỗi trường PSTN

> Dial out (Dial on Demand)

Cấu hình các tham số logic trên interface Async

Router(config) # Interface Async x

Router(config-if) # (câu hình các tham sô tương tự như Dial in)

Bat ché d6 DDR

Router(config-if) # dialer in-band

Thời gian chờ trước khi ngắt kết nồi

Router(config-if) # dialer idle-timeout <secona>

Gan dialer-list vao interface đề tự động kích hoạt quay số

Router(config-if) # dialer-group <dia/er-number>

Khai báo số điện thoại đề quay số đến

Router(config-if) # Dialer-string <phone number>

Khai báo phương thức xác thực PPP trên kết nỗi (ví dụ: PAP)

PPP authentication PAP

PPP PAP sent-username <Use/> password <passwora>

Ngày đăng: 10/12/2013, 00:15

HÌNH ẢNH LIÊN QUAN

Bảng định tuyến, kết nối - Tài liệu Bài thuyết trình: Kết nối quay số Dial-up docx
ng định tuyến, kết nối (Trang 64)

TỪ KHÓA LIÊN QUAN

TRÍCH ĐOẠN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w