مدون بلوجر

تابعنا على الفيسبوك

طريقة برمجة منافد الروتر باحترافية


نبدأ من الموجه مباشرةً
الخطوة الأولى :
§  Router > enable
§  Router # config terminal
§  Router (config) # line  vty  0  5
§  Router (config-line) # password  cisco
§  Router (config-line) # login
§  Router (config-line) # exit
§  Router (config) #
الخطوة الثانية :
§  Router (config) # enable  password   cisco
                 Or   Router (config) # enable  secret   cisco
§  Router (config) # hostname  Aleppo
§  Aleppo (config) #
برمجة أحد منافذ الموجه ( router ) التي
ستصل بين الراوتر و الشبكة :
§  Aleppo (config) # interface  fastethernet   0/0
§  Aleppo (config-if) # ip  address  192.168.1.10    255.255.255.0
§  Aleppo (config-if) #  no shutdown
§  Aleppo (config-if) # exit
برمجة أحد منافذ الموجه ( router ) التي
ستصل بين الراوتر و راوتر آخر :
§  Aleppo (config) # interface  serial  0/0/0
§  Aleppo (config-if) # ip address  192.168.5.10   255.255.255.0
§  Aleppo (config-if) # clock  rate  64000
§  Aleppo (config-if) # no shutdown
§  Aleppo (config-if) # exit
§  Aleppo (config) #exit
§  Aleppo #
الخطوة الأخيرة هي حفظ الإعدادات :
§  Aleppo # copy  running-config  startup-config
§  Aleppo # exit
§  Aleppo >
إذا أردنا استعراض نتيجة العمل نستخدم تعليمة :
§  Aleppo > show  ip  interface  brief
§  Aleppo >
 


طرق توجيه الاتصال في الراوتر
1 التوجيه بالطريقة الستاتيكية :
§  Router(config) # ip route [network id] [subnet mask] [serial (0/0//  ip)]
                                                         172.192.1.0   255.255.0.0    serial 0/0/0 أو serial 192.168.5.10
§  Router(config) # exit
§  Router # show ip route
[NID] عنوان الشبكة التي نريد الاتصال بها "دوماً آخر بايت في العنوان هو [0]
[SUB] القناع الخاص بتلك الشبكة.
[serial] أسم أو عنوان المنفذ الذي برمجناه مسبقاً (في الراوتر نفسه) و نريد من خلاله الاتصال بتلك الشبكة.
2 التوجيه بالطريقة Default (S)الموجهة إلى الـ ISP :
§  Router(config) # ip route  [0.0.0.0] [0.0.0.0]  [serial (0/0//  ip)]
                                                                                            serial 0/0/0 أو serial 192.168.5.10
§  Router(config) # exit
§  Router # show ip route
3 التوجيه بالطريقة RIP (S*) :
§  Router(config) # router  rip
§  Router(config-router) # network[أي شبكة متصلة بالراوتر (منفذ مع مبدلة أو مع كبل سيريال)  ip]
network 192.168.1.10
network 172.192.1.10
§  Router(config-router) # exit
§  Router(config) # exit

§  Router # show ip routeبسم الله الرحمن الرحيم
نبدأ من الموجه مباشرةً
الخطوة الأولى :
§  Router > enable
§  Router # config terminal
§  Router (config) # line  vty  0  5
§  Router (config-line) # password  cisco
§  Router (config-line) # login
§  Router (config-line) # exit
§  Router (config) #
الخطوة الثانية :
§  Router (config) # enable  password   cisco
                 Or   Router (config) # enable  secret   cisco
§  Router (config) # hostname  Aleppo
§  Aleppo (config) #
برمجة أحد منافذ الموجه ( router ) التي
ستصل بين الراوتر و الشبكة :
§  Aleppo (config) # interface  fastethernet   0/0
§  Aleppo (config-if) # ip  address  192.168.1.10    255.255.255.0
§  Aleppo (config-if) #  no shutdown
§  Aleppo (config-if) # exit
برمجة أحد منافذ الموجه ( router ) التي
ستصل بين الراوتر و راوتر آخر :
§  Aleppo (config) # interface  serial  0/0/0
§  Aleppo (config-if) # ip address  192.168.5.10   255.255.255.0
§  Aleppo (config-if) # clock  rate  64000
§  Aleppo (config-if) # no shutdown
§  Aleppo (config-if) # exit
§  Aleppo (config) #exit
§  Aleppo #
الخطوة الأخيرة هي حفظ الإعدادات :
§  Aleppo # copy  running-config  startup-config
§  Aleppo # exit
§  Aleppo >
إذا أردنا استعراض نتيجة العمل نستخدم تعليمة :
§  Aleppo > show  ip  interface  brief
§  Aleppo >
 

طرق توجيه الاتصال في الراوتر
1 التوجيه بالطريقة الستاتيكية :
§  Router(config) # ip route [network id] [subnet mask] [serial (0/0//  ip)]
                                                         172.192.1.0   255.255.0.0    serial 0/0/0 أو serial 192.168.5.10
§  Router(config) # exit
§  Router # show ip route
[NID] عنوان الشبكة التي نريد الاتصال بها "دوماً آخر بايت في العنوان هو [0]
[SUB] القناع الخاص بتلك الشبكة.
[serial] أسم أو عنوان المنفذ الذي برمجناه مسبقاً (في الراوتر نفسه) و نريد من خلاله الاتصال بتلك الشبكة.
2 التوجيه بالطريقة Default (S)الموجهة إلى الـ ISP :
§  Router(config) # ip route  [0.0.0.0] [0.0.0.0]  [serial (0/0//  ip)]
                                                                                            serial 0/0/0 أو serial 192.168.5.10
§  Router(config) # exit
§  Router # show ip route
3 التوجيه بالطريقة RIP (S*) :
§  Router(config) # router  rip
§  Router(config-router) # network[أي شبكة متصلة بالراوتر (منفذ مع مبدلة أو مع كبل سيريال)  ip]
network 192.168.1.10
network 172.192.1.10
§  Router(config-router) # exit
§  Router(config) # exit
§  Router # show ip route