06-05-2020 04:19 AM
Bonjour,
j’essaye de configurer un vpn sur router 2811 mais il ne fonctionne pas, je constate qu’il n’y a pas de trafic . j’ai besoin d’aides pour identifier les problèmes et les résoudre.
Merci d’avance
06-05-2020 05:17 AM
Hello @zen2020 ,
try to add a static route for remote LAN
ip route 192.168.20.0 255.255.255.0 fas0/1
because the counters for packets encrypted and decrypted are 0.
unless you have a RIP routing domain I don't see how each router can know that traffic for remote LAN IP subnet has to go out the interface with the crypto map configured.
Hope to help
Giuseppe
06-08-2020 01:58 PM
En faite, j'utilise un domaine de routage RIP Version 2.
Dois je changer ce domaine de routage ?
06-05-2020 05:19 AM
Bonjour,
joindrez la configuration des deux routeurs, ou mieux encore, le fichier de projet (.pkt) zippé...
06-08-2020 02:01 PM
Bonjour,
J'ai essayer de joindre la configuration des 2 routeurs mais je n'ai pas pu le faire.
S'il vous plait pouvez m'expliquer comment le faire.
Merci
06-08-2020 02:11 PM
Je ne comprends pas...
--> J'ai essayer de joindre la configuration des 2 routeurs mais je n'ai pas pu le faire.
?
06-08-2020 02:26 PM
Router 1
hostname R1
!
ip cef
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
!
crypto isakmp key VPN.AL-zene#20@ address 10.1.1.2
!
crypto ipsec transform-set vpn-set esp-3des esp-md5-hmac
!
crypto map vpn-map 10 ipsec-isakmp
set peer 10.1.1.2
set transform-set vpn-set
match address vpn-traffic
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.1 255.0.0.0
ip nat outside
duplex auto
speed auto
crypto map vpn-map
!
router rip
version 2
network 10.0.0.0
network 192.168.1.0
no auto-summary
!
ip nat inside source list 100 interface FastEthernet0/1 overload
ip access-list extended vpn-traffic
permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 100 deny ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
Router 3
hostname R3
!
ip cef
!
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
!
crypto isakmp key VPN.AL-zene#20@ address 10.1.1.1
!
crypto ipsec transform-set vpn-set esp-3des esp-md5-hmac
!
crypto map vpn-map 10 ipsec-isakmp
set peer 10.1.1.1
set transform-set vpn-set
match address vpn-traffic
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.2 255.0.0.0
ip nat outside
duplex auto
speed auto
crypto map vpn-map
!
router rip
version 2
network 10.0.0.0
network 192.168.2.0
no auto-summary
!
ip nat inside source list 100 interface FastEthernet0/1 overload
!
ip access-list extended vpn-traffic
permit ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 100 permit ip 192.168.2.0 0.0.0.255 any
06-08-2020 03:53 PM
Bonjour,
Apres que j'ai effectué ma configuration pour le VPN, je constate qu'il n'y a pas de trafics.
voila ce que j'obtiens comme résultat.
interface: FastEthernet0/1
Crypto map tag: vpn-map, local addr 10.1.1.1
protected vrf: (none)
local ident (addr/mask/prot/port): (192.168.1.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (192.168.20.0/255.255.255.0/0/0)
current_peer 172.16.1.1 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0
#pkts decaps: 0, #pkts decrypt: 0, #pkts verify: 0
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0
local crypto endpt.: 10.1.1.1, remote crypto endpt.:172.16.1.1
path mtu 1500, ip mtu 1500, ip mtu idb FastEthernet0/1
current outbound spi: 0x0(0)
inbound esp sas:
Cordialement.
06-08-2020 11:40 PM
Bonjour,
il faut joindre les configurations des routeurs...(sh run)...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide