السلام عليكم
بعد البحث في الأنترنيت وجدت في Blindhog.net طريقة كيفية عمل Wan or Internet Virtual Cloud with Dynamips

بعد أن أعددت صورة الاب الذي أنا بصدد أن أقوم ب إعداده



صورة الاب https://img514.imageshack.us/img514/3301/problemqg5.jpg



و بعدها جاءت مرحلة إعداد dot net file of Dynamips

رابط ملف أعدادات الديناميبس
https://www.4shared.com/file/5486379...ified=d651b386

حتى الأن كله تمام

شغلت الراوترين Router 1 and Router 2



configuration of Router 1

!
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
!
enable secret 5 $1$Ihvg$JsptnFkGzSf30z07qhRp71
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 192.168.200.254 255.255.255.0
full-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Serial1/0
ip address 192.168.100.1 255.255.255.252
serial restart-delay 0
clock rate 2016000
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.100.2
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec s show ip int brief
!
!
line con 0
exec-timeout 0 0
password ccna
logging synchronous
login
line aux 0
line vty 0 4
exec-timeout 0 0
password ccna
logging synchronous
login
line vty 5 871
exec-timeout 0 0
password ccna
logging synchronous
login
!
!
end


then the configuration of Router 2


!
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$Ihvg$JsptnFkGzSf30z07qhRp71
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
ip name-server 4.2.2.2
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 192.168.1.250 255.255.255.0
ip virtual-reassembly
full-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Serial1/0
ip address 192.168.100.2 255.255.255.252
ip virtual-reassembly
serial restart-delay 0
clock rate 2016000
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 192.168.200.0 255.255.255.0 192.168.100.1
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec s show ip int brief
!
line con 0
exec-timeout 0 0
password ccna
logging synchronous
login
line aux 0
line vty 0 4
exec-timeout 0 0
password ccna
logging synchronous
login
line vty 5 871
exec-timeout 0 0
password ccna
logging synchronous
login
!
!
end


و بعد ذلك

قمت بأضافة static Route in DSL ZTE Modem to reach the both of 192.168.200.0 and 192.168.100.0 addresses for i can ping the modem from the router 1 and the loopback 1 interface

الصورة التالية توضح ذلك



و هذه صورة ل Static Routing table for DSL modem



و لكي أوضح لكم الصورة بالنسبة للراوتيج في الراوتران

ها هي sh ip route output of R1 and R2



R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.100.2 to network 0.0.0.0

C 192.168.200.0/24 is directly connected, Ethernet0/0
192.168.100.0/30 is subnetted, 1 subnets
C 192.168.100.0 is directly connected, Serial1/0
S* 0.0.0.0/0 [1/0] via 192.168.100.2

---------------------------------------------------------------------------------------

R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

S 192.168.200.0/24 [1/0] via 192.168.100.1
C 192.168.1.0/24 is directly connected, Ethernet0/0
192.168.100.0/30 is subnetted, 1 subnets
C 192.168.100.0 is directly connected, Serial1/0
S* 0.0.0.0/0 [1/0] via 192.168.1.1




بعد الذي عملت في configuration أستطيع

i can From loopback 1 ping Router 1 , router 2 and DSL modem
i can from Router 1 ping loopback 1 , Router 2 and DSL modem
i can from Router 2 ping loopback 1 , Router 1 and DSL modem

نأتي الأن الى المشكل العويص

بعد الذي أنا قمت بأعداده

Router 2 هو الذي بأستطاعته أن يتصل بالأنترنيت فقط
و كل من PC from loopback interface and the Router 1 have not access to the Internet

Whyyyyyy ???? i dont know

ملاحظة ... قمت بتفعيل NAT في DSL Modem و هذا ما يبرر أن Router 2 الذي يحتوي على Private IP بأستطاعته الأتصال بالأنترنيت.(when i remove NAT from DSL Router 2 also hasn't access to internet )

سوف أظيف بعض المعلومات ربما تساعدكم ر تحليل المشكل و هي Traceroute of Router 1 Router 2 and PC
هنا نلاحظ ان المشكل يكمن في DSL modem with ip address 192.168.1.1

Traceroute 4.2.2.2 of Router 2 who has access to internet
لاحظ الصورة



traceroute 4.2.2.2 from Router 1
لاحظ الصورة



Tracert 4.2.2.2 from the PC
لاحظ الصورة




و الله أنى محتار أين هو الخطا و الله اعلم

أرجو من الأخوة أن يعطونا حل للمشكلة و جزاكم الله خيرا

انا هنا لأفادتكم ببعض النقاط الغامضة في الاب
أتمنى اني وفقت في ألحاق المشكلة
شكرا و السلام عليكم