Avatar billede tommy_pedersen Nybegynder
06. marts 2001 - 13:28 Der er 1 kommentar

Opsætning af Cisci 1401

Er der en der har en opsætning til Cisco 1401 som virker mod TDC-ADSL?
Avatar billede kewl Nybegynder
08. maj 2001 - 11:31 #1
This is a configuration of a Cisco 1401 that does PPPoA, it was tested
with Tele Danmark\'s NetExpres service.

This configuration require 12.1T, I used c1400-ny-mz.121-2.T.bin, this
image (IP only) require 4 MB flash and 16 MB ram.

The reason for the requirement for 12.1T is a new feature (PPPoA without
virtual-templates).

The ethernet interface is configured with rfc1918 addresses (192.168.0.0/24),
runs a DHCP server giving leases in the interval 192.168.0.11 to 192.168.0.253,
the addresses 192.168.0.1 to 192.168.0.10 can be used for machines with fixed
ip addresses, the router itself has 192.168.0.254.

It\'s configured to allow telnet from the ethernet segment only.

In the configuration, the places where you need to change the configuration is
marked with <* ... *>

<* enable password *>        = \"superuser\" password
<* ISP username *>            = Your ISP username
<* ISP password *>            = Your ISP password
<* telnet password *>        = telnet password

In the section

vc-class atm NetExpress
  ! <* here you must configure the speed you have purchased, here 128 kbps up and 512 kbps downstream *>
  ubr 128 512


--
Jesper Skriver, CCIE #5456

-----------------------------------------------------------------------------------

version 12.1
no service pad
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service password-encryption
!
hostname adslrouter
!
logging buffered 10000 debugging
no logging console
enable secret <* enable password *>
!
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
ip subnet-zero
no ip domain-lookup
!
ip dhcp excluded-address 192.168.0.0 192.168.0.10
ip dhcp excluded-address 192.168.0.254 192.168.0.254
!
ip dhcp pool default
  network 192.168.0.0 255.255.255.0
  dns-server 193.162.153.164 194.239.134.83 193.162.146.9
  netbios-name-server 0.0.0.0
  default-router 192.168.0.254
!
interface Ethernet0
no shutdown
description local LAN
ip address 192.168.0.254 255.255.255.0
ip nat inside
!
interface ATM0
no shutdown
mtu 1500
no ip address
atm vc-per-vp 4096
no atm ilmi-keepalive
hold-queue 4096 in
hold-queue 4096 out
!
interface ATM0.1 point-to-point
no shutdown
description NetExpress forbindelse
pvc 0/101
  class-vc NetExpress
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
!
!
interface Dialer1
no shutdown
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer max-call 4096
dialer-group 1
no cdp enable
ppp chap refuse
ppp pap sent-username <* ISP username *> password <* ISP password *>
!
ip nat inside source list 100 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
vc-class atm NetExpress
  ! <* here you must configure the speed you have purchased, here 128 kbps up and 512 kbps downstream *>
  ubr 128 512
access-list 10 permit 192.168.0.0 0.0.0.255
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line vty 0 4
password <* telnet password *>
access-class 10 in
login
!
end
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester