[CISCO] Beispielkonfig für PPPoE-Einwahl

Am Beispiel eines Cisco 1841 mit DSL-Modem am Port Fa0/0. Building configuration... Current configuration : 1552 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! enable secret 5 xxx ! aaa new-model ! ! ! aaa session-id common ! resource policy ! mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 ip subnet-zero ip cef ! ! ! ! no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! username admin password xxx ! ! ! ! ! ! interface Loopback0 ip address 192.168.209.17 255.255.255.248 ! interface FastEthernet0/0 no ip address duplex auto speed auto pppoe enable pppoe-client dial-pool-number 1 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface FastEthernet0/0/0 ! interface FastEthernet0/0/1 ! interface FastEthernet0/0/2 ! interface FastEthernet0/0/3 ! interface Vlan1 no ip address ! interface Dialer1 description PPPoE-Einwahl ip address negotiated ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication pap chap callin ppp chap hostname user@provider.tld ppp chap password 7 xxx ppp pap sent-username user@provider.tld password 7 xxx ! ip classless ip route 0.0.0.0 0.0.0.0 Dialer1 ! ! no ip http server no ip http secure-server ! access-list 1 permit <NMS-IPs> dialer-list 1 protocol ip permit ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 access-class 1 in exec-timeout 60 0 transport input telnet ! end

21. Juni 2013 · 2 Minuten · 256 Wörter

Anacron-Hinweise

Mögiche Fehlerquellen, wenn Anacron-Skripte nicht ausgeführt werden: Sollten die abgelegten Skripte unter /etc/cron.daily, /etc/cron.hourly usw. nicht ausgeführt werden, liegt es u.U. am fehlenden Shebang (#!/bin/sh) am Anfang des Skripts. Zweite Fehlerquelle: Anacron findet die Pfade zu Programmen nicht. Es arbeitet nicht mit der Shell des Users, sondern mit einer eigenen. Abhilfe: $PATH-Variable anpassen, oder absolute Pfade verwenden. Dritte Fehlerquelle: Es sind nicht erlaubte Zeichen im Dateinamen des betroffenen Skripts benutzt worden. Erlaubt sind a-z A-Z 0-9 _

24. Mai 2013 · 1 Minute · 77 Wörter

Ping mit DF-Bit

Um das “don’t fragment”-Bit beim Ping unter Linux zu setzen und damit eine Fragmentierung der Pakete zu verhindern, muss folgender Parameter mit angegeben werden: -M do Beispiel: ping www.google.de -s 1500 -M do Es sind root Rechte erforderlich.

18. Mai 2013 · 1 Minute · 38 Wörter

Cisco - verbleibender MAC-Speicherplatz

Verbleibende Anzahl an speicherbaren MAC-Adressen anzeigen: show mac-address-table count

18. Mai 2013 · 1 Minute · 9 Wörter