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

مشاهدة النسخة كاملة : سؤال فى static Routing بالصورة !



the_way2allah
12-02-2009, 00:07
السلام عليكم
ازيكم يا اخوة

عندى سؤال فى static route

بالنسبة لهذه الصورة ما هى الأوامر الخاصة ب static route لكل راوتر ، فمثلا بالنسبة لــــ R1 هل ستكون كل الشبكات عن طريق ال next hop اللى هوا هنا 10.0.0.2 يعنى كالتالى وأنا على R1 أكتب الأوامر التالية :-

ip route 11.0.0.0 255.0.0.0 10.0.0.2

ip route 14.0.0.0 255.0.0.0 10.0.0.2
ip route 16.0.0.0 255.0.0.0 10.0.0.2
ip route 13.0.0.0 255.0.0.0 10.0.0.2
https://www3.0zz0.com/2009/02/11/21/734111873.jpg

takiadeen
12-02-2009, 01:31
نعم هكذا يتم عمل الـstatic route ولكن كل الـtraffic سيعبر عن طريق R2.

one-zero
12-02-2009, 02:07
تمام و يمكنك كتابة المسار الثاني عبر R4 و التعامل معه كبديل وقت الحاجة و لكن بعد تغيير ال Administrative Distance الي 2 بدل من 1

Router(config)#ip route 11.0.0.0 255.0.0.0 12.0.0.2 ?
<1-255> Distance metric for this route


ip route 11.0.0.0 255.0.0.0 12.0.0.2 2

ip route 14.0.0.0 255.0.0.0 12.0.0.2 2
ip route 16.0.0.0 255.0.0.0 12.0.0.2 2
ip route 13.0.0.0 255.0.0.0 12.0.0.2 2

kimoz2002
12-02-2009, 02:17
if you tybe this configration the cabel between r1 & r4 are wrong (malosh lazma) ...and cable between r2 & r5 (malosh lazmaa bardo)...............it will make loop
if you want to make static route and use this cable you have to configre r2 and r1 sptial confiration to direct route and take care from loop

one-zero
12-02-2009, 07:21
You are right for no need to connect to r4 but
no loop will happened because we set AD to 2

the_way2allah
13-02-2009, 00:03
شكرا جدا يا أخوة
وشكر خاص بالشمهندس ياسر
جزاكم الله خيرا

warior10
13-02-2009, 01:07
مثال جميل وشرح اجمل
شكرا للاخوة المهندسين