المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ما الخطا فى الاعدادات



زلزال الشرقيه
09-11-2011, 19:21
السلام عليكم ورحمه الله وبركاته
انا بعمل لاب vpn site to site على gns3
ولم يتم عمل البنح
ساضغ الاعدادات هنا
R2#show run
R2#show running-config
Building configuration...
Current configuration : 1178 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$5N6G$8N4yb8I3UJHJZ.vPSChoX0
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
crypto isakmp policy 1
encr aes
authentication pre-share
group 2
crypto isakmp key cisco address 10.10.10.2
!
!crypto ipsec transform-set myset esp-aes esp-sha-hmac
!
crypto map najranto_nadi 1 ipsec-isakmp
set peer 10.10.10.2
set transform-set myset
match address 101
!
interface Ethernet0/0
ip address 10.10.10.1 255.0.0.0
half-duplex
crypto map najranto_nadi
!
interface Ethernet0/1
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
no ip http server
no ip http secure-server
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password cisco
login
!
!
end
هذا الروتر الاول
اعدادات الروتر الثانى

R1#show running-config
Building configuration...
Current configuration : 1107 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!

crypto isakmp policy 1
encr aes
authentication pre-share
group 2
crypto isakmp key cisco address 10.10.10.1
!
!crypto ipsec transform-set myset esp-aes esp-sha-hmac
!
crypto map naditonajran 1 ipsec-isakmp
set peer 10.10.10.1
set transform-set myset
match address 101
!!
!interface Ethernet0/0
ip address 10.10.10.2 255.0.0.0
half-duplex
crypto map naditonajran
!
interface Ethernet0/1
ip address 192.168.2.1 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
no ip http server
no ip http secure-server
!
access-list 101 permit ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255
!
!
control-plane
!!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end

عند تنفيذ امر بنج لا يرد
ping 192.168.1.1
او ping 192.168.2.1
وعندما اضع امر show crypto isakmp sa
show crypto isakmp peet
لا ارى نتيجه
ما الخطأ فى الاعدادات
11872

r4s
09-11-2011, 19:42
لا أري خطا في الكونفجراشن ...ولكن ربما تحتاج ان يكون 2 interfaces توصيل full duplex



!interface Ethernet0/0
ip address 10.10.10.2 255.0.0.0
half-duplex
crypto map naditonajran

زلزال الشرقيه
09-11-2011, 20:02
هل هذا هو السبب فى عدم الاتصال
؟؟؟؟؟؟؟ظ

زلزال الشرقيه
09-11-2011, 20:07
غيرت الى full deplux ونفس النتيجه

tareq-tami
10-11-2011, 00:03
تابع الفديو وركز على الشرح بتفهم كيف تعمل vpn وكيف تكتشف الأخطاء :)

اتمنالك التوفيق والنجاح

https://gns3vault.com/Tunneling-GRE/site-to-site-ipsec-vpn.html

زلزال الشرقيه
10-11-2011, 08:52
شاكر لك اخى الكريم ولكنى اريد ان اعرف ما الخطأ ف هذه الاعدادت حيث لم يتم الاتصال بين الروترين هل التوبولجى خطأ فى اللاب ام فى الاعداد

فى الاعداد الموجود فى اللاب معه ospf
ولا اريد ان افعل روتنج بروتوكول مع الفى بى ان
فقط vpn site to site between 2 routers

fastory
13-11-2011, 13:24
أتوقع أنه لكي يعمل ال vpn يجب ان لا يكون الراوترين متصلين بشكل مباشر (Directly connected)، أنا بتذكر قبل اكثر من سنة عملت نفس اللاب اللي عملته وما اشتغل إلا لما وصلت الراوترين بطريقة غير مباشرة وذلك باستخدام layer3 switch يفصل بين الراوترين وعليه two SVI