Tunnel Ip Statico To Ip Dinamico

Virtual private networks e affini

Moderatore: Federico.Lagni

Rispondi
bonovox38
n00b
Messaggi: 14
Iscritto il: sab 16 mag , 2009 1:18 pm

Salve, questa configurazione lavorava con ip statici.
Ora al centro ho ancora ip statico ma in periferia ip dinamico.
Premesso che su internet ora navigo, come imposto i tunnel per poterli far funzionare fra periferia dinamica e sede centrale con ip statico?
:oops:

Codice: Seleziona tutto

Current configuration : 2427 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname SEDE_16
!
boot-start-marker
boot-end-marker
!
enable password 7 ...
!
no aaa new-model
!
!
dot11 syslog
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.26.1 192.168.26.244
ip dhcp excluded-address 192.168.26.251 192.168.26.254
!
ip dhcp pool progresso
   network 192.168.26.0 255.255.255.0
   default-router 192.168.26.254 
   dns-server 192.168.0.254 
   option 42 ip 192.168.0.254 
   option 252 ascii "http://proxy.miaazienda.biz/wpad.dat"
   lease 2
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
! 
!
archive
 log config
  hidekeys
!
!
!
!
!
interface Tunnel26
 description TUNNEL VERSO  DATI
 ip address 10.0.26.2 255.255.255.252
 tunnel source xx.xx.201.57
 tunnel destination xx.xx.251.27
 tunnel mode ipip
!         
interface Tunnel126
 description TUNNEL VERSO  VOIP
 ip address 10.0.126.2 255.255.255.252
 tunnel source xx.xx.201.57
 tunnel destination xx.xx.188.1
 tunnel mode ipip
!         
interface ATM0
 no ip address
 no atm ilmi-keepalive
 pvc 8/35 
  encapsulation aal5snap
  protocol ppp dialer
  dialer pool-member 1
 !        
 dsl operating-mode auto 
!         
interface FastEthernet0
!         
interface FastEthernet1
!         
interface FastEthernet2
!         
interface FastEthernet3
!         
interface Vlan1
 ip address 192.168.26.254 255.255.255.0 secondary
 ip address 192.168.26.252 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat inside
 ip virtual-reassembly
 hold-queue 100 out
!         
interface Dialer0
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 dialer pool 1
 dialer-group 1
 ppp pap sent-username ... password 7 ...
!         
no ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!         
!         
no ip http server
no ip http secure-server
ip nat translation timeout 300
ip nat translation tcp-timeout 180
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source static tcp 192.168.26.1 5900 interface Dialer0 5900
!         
access-list 101 permit ip 192.168.26.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!         
!         
!         
!         
control-plane
!         
!         
line con 0
 password 7 ...
 login    
 no modem enable
line aux 0
line vty 0 4
 password 7 ...
 login    
!         
scheduler max-task-time 5000
end
Rispondi