Cisco 1721 HDSL Telecom IP Privato oltre che pubblico

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

Moderatore: Federico.Lagni

Rispondi
numerounosrl
n00b
Messaggi: 1
Iscritto il: lun 28 ago , 2017 8:51 pm

Buonasera a tutti, ho un collegamento funzionante con questa configurazione:

Building configuration...

Current configuration : 976 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$yW7I$1nIiPPIO9oQ/jNewcgIvp0
!
no aaa new-model
clock timezone MET 1
clock summer-time MEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
ip cef
!
!
!
!
ip name-server 208.67.220.220
!
!
!
username cisco password 0 cisco
!
!
!
!
interface FastEthernet0
ip address 5.98.xxx.xxx 255.255.255.252
speed auto
hold-queue 100 out
!
interface Serial0
bandwidth 2048
no ip address
no ip proxy-arp
encapsulation frame-relay IETF
no fair-queue
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
bandwidth 2048
ip address 37.205.xxx.xxx 255.255.255.254
frame-relay interface-dlci 767 IETF
!
no ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Serial0.1
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

vorrei oltre all'ip pubblico nell'interfaccia lan avere un ip privato 192.168.5.10 con nat attivo, come dovrebbe essere la configurazione?

attualmente ho un firewall dietro al router, ma vorrei connettere la lan direttamente al router senza il firewall, quindi con ip privato, come dovrei configurarlo?

Grazie.
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao.
Aggiungi un secondo ip su FastEthernet0 (ip address 192.168.5.10 255.255.255.0 secondary), crei un ACL che interfecca tutta la rete privata (access-list 1 permit 192.168.5.0 0.0.0.255), poi crei il nat per quella ACL (ip nat inside source list 1 interface Serial0.1 overload).

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
Rispondi