Konfigurace Cisco Routeru
Ladislav Šolc
solc na apexcomp.cz
Pondělí Červen 21 14:51:24 CEST 1999
Dobry den,
asi je to trochu OffTopic, ale kdyz uz mam moznost oslovovat tuhle studnu
informaci, tak to vyuzivam :)
Jiz nejakou dobu se peru s konfiguraci routeru Cisco 2509. POtrebuji ho
nastavit jako dial-in server.
Ostatni funkce jsou OK, ale pri vzdalenem pristupu ze stanice s Win98 se
sice spojim, zobrazi se okno
terminalu, kde zadam jmeno a heslo, nebo nic kdyz pouzivam no login.
Dostanu se do promptu cisca a napisu ppp default. Asi po 5ti vterinach
router zavesi.
Konfigurace: Cisco 2509 - 8x Modem U.S.Robotics V.Everthing 56k -
nastaven na autoansver
Stanice: Windows 98 - Modem U.S.Robotics V.Everthing 56k +
tel. připojení sítě
Takhle vypada konfig routeru:
!
version 11.0
service linenumber
service udp-small-servers
service tcp-small-servers
!
hostname Cisco2500
!
enable secret 5 $1$Nmkl$2eXZ4zQAHywLgOz6E2hQk0
enable password heslo
!
username ladas password 7 heslo
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT \T" TIMEOUT 30 \c
CONNE
CT \c
!
interface Ethernet0
description Router MB
ip address 192.168.12.1 255.255.255.0
no ip mroute-cache
!
interface Serial0
no ip address
no ip mroute-cache
encapsulation ppp
shutdown
no fair-queue
!
interface Serial1
no ip address
no ip mroute-cache
shutdown
!
interface Group-Async1
ip address 192.168.15.2 255.255.255.0
no ip mroute-cache
encapsulation ppp
keepalive 50
async default routing
async dynamic address
async mode interactive
peer default ip address pool local-pool
dialer in-band
dialer idle-timeout 15
ppp authentication pap callin
group-range 1 8
!
interface Dialer1
no ip address
no ip mroute-cache
!
router rip
passive-interface Ethernet0
network 192.168.15.0
distribute-list 1 out
!
router igrp 110
redistribute rip
passive-interface Async1
network 192.168.15.0
!
ip default-gateway 192.168.12.19
ip host modem1 2001 192.168.15.1
ip default-network 192.168.12.0
!
line con 0
line 1 8
no activation-character
autobaud
autoselect arap
autoselect ppp
private
script dialer cisco-default
modem answer-timeout 10
modem InOut
transport input all
autohangup
flowcontrol hardware
line aux 0
transport input all
line vty 0 4
password heslo
login
!
end
Diky
Hezky den, preje
---------------------------------------------------------------------
Ladislav Solc, MCP
APEX Computer s.r.o.
e-mail: solc na apexcomp.cz
http://www.apexcomp.cz
---------------------------------------------------------------------
Hezky den, preje
---------------------------------------------------------------------
Ladislav Solc, MCP
APEX Computer s.r.o.
e-mail: solc na apexcomp.cz
http://www.apexcomp.cz
---------------------------------------------------------------------
Další informace o konferenci Linux