
Adesso funziona tutto egregiamente
Moderatore: Federico.Lagni
Codice: Seleziona tutto
Router#sh run
Building configuration...
Current configuration : 2335 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
logging queue-limit 100
!
username Router password 7 005C4357520C52545B
ip subnet-zero
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool CLIENT
import all
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 195.186.1.111
!
!
ip audit notify log
ip audit po max-events 100
no ftp-server write-enable
!
!
!
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
!
interface BRI0
no ip address
shutdown
!
interface ATM0
no ip address
atm vc-per-vp 64
no atm ilmi-keepalive
pvc 8/35
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
!
interface Dialer0
no ip address
!
interface Dialer1
ip address negotiated
ip mtu 1452
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer remote-name redback
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname *@bluewin.ch
ppp chap password 7 065E5F701A19504B51
ppp pap sent-username *@bluewin.ch password 7 035C0B5A5058781E1A
ppp ipcp dns request
ppp ipcp wins request
!
ip nat translation timeout 3600
ip nat translation tcp-timeout 120
ip nat translation udp-timeout 120
ip nat translation finrst-timeout 300
ip nat translation syn-timeout 120
ip nat translation dns-timeout 300
ip nat translation icmp-timeout 120
ip nat translation max-entries 4096
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 10.10.10.3 4662 interface Dialer0 4662
ip nat inside source static udp 10.10.10.3 4662 interface Dialer0 4662
ip nat inside source static tcp 10.10.10.3 4672 interface Dialer0 4672
ip nat inside source static udp 10.10.10.3 4672 interface Dialer0 4672
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 10.10.10.0 0.0.0.255
access-list 102 permit tcp any host 10.10.10.3 eq 4899
access-list 102 permit ip 10.10.10.0 0.0.0.255 any
access-list 102 permit tcp any host 10.10.10.3 eq 4662
access-list 102 permit udp any host 10.10.10.3 eq 4762
!
line con 0
exec-timeout 120 0
login local
length 0
stopbits 1
line vty 0 4
login
!
scheduler max-task-time 5000
!
!
end
unixvsnt ha scritto:per abilitare la password su enable.... devi:
conf t
enable xyzw
wr
oppure
conf t
enable secret xyzw
wr
per quanto riguarda la gestione degli user devi usare:
conf t
aaa new-model
aaa authentication login default local
username admin privilege 15 secret 5 xyzwj
exit
wr
ciao!
Codice: Seleziona tutto
no service dhcp
Codice: Seleziona tutto
login local
Codice: Seleziona tutto
aaa authentication login default local
aaa session-id common
ip subnet-zero
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool CLIENT
import all
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 195.186.1.111