NAT 827-4v

Configurazioni per connettività ADSL, ISDN e switch per privati e piccole network

Moderatore: Federico.Lagni

Rispondi
thorpe
Cisco fan
Messaggi: 72
Iscritto il: mer 03 mar , 2010 5:39 pm

Salve a tutti, qual è la configurazione più rapida per nattare tutto il traffico che parte e arriva da un cisco 827-4v verso un altro router/firewall?
Buon lavoro a tutti
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

prova con
ip nat inside source static IP_FIREWALL interface Dialer0
thorpe
Cisco fan
Messaggi: 72
Iscritto il: mer 03 mar , 2010 5:39 pm

Questa è la conf aggiornata. E' corretta?



version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 827-4v
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip name-server 151.99.125.1
ip name-server 8.8.8.8
ip dhcp excluded-address 192.168.2.253
!
ip dhcp pool LOCAL
network 192.168.2.0 255.255.255.0
default-router 192.168.2.253
dns-server 151.99.125.1 8.8.8.8
!
!
interface Ethernet0
ip address 192.168.2.253 255.255.255.0
ip nat inside
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
encapsulation aal5snap
protocol ppp dialer
dialer pool-member 1
!
!
interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username alice password 0 alice
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
ip nat inside source static 192.168.2.254 interface Dialer0
!
!
control-plane
!
!
voice-port 1
!
voice-port 2
!
voice-port 3
!
voice-port 4
!
!
line con 0
transport preferred all
transport output all
line vty 0 4
login
transport preferred all
transport input all
transport output all
!
scheduler max-task-time 5000
!
end
Rispondi