1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ
£¨2£©ÎªÊ²Ã´ÒªÅäÖÃʱÖÓƵÂÊ£¿
(3) ÔÚijЩÇé¿öÏ£¬ÀýÈçÉÏÊöÍØÆËͼ£¬ÔÚд¾²Ì¬Â·ÓÉʱºò¿ÉÒÔд³ÉĬÈÏ·ÓÉÐÎʽ£¬ÄÇôĬÈÏ·ÓɸÄÈçºÎдÄØ£¿
»ªÎªÉ豸ÅäÖÃÃüÁ ¡¾ÊµÑµ²½Öè¡¿
(1)ÅäÖÃÖ÷»úIpµØÖ·¡¢Ä¬ÈÏÍø¹Ø¡£ PC1£º 172.16.1.2/24 172.16.1.1 PC2£º 172.16.3.2/24 172.16.3.1
(2)µÇ½·ÓÉÆ÷R1¡¢R2ÉÏÅäÖÃÒÔÌ«¿ÚµÄIPµØÖ· R1µÄÅäÖãº
[Router]interface ethernet 0/0
[Router-Ethernet0/0]ip address 172.16.1.1 255.255.255.0 [Router-Ethernet0/0]quit ·ÓÉÆ÷R2ÅäÖãº
[Router]interface ethernet 0/0
[Router-Ethernet0/0]ip address 172.16.3.1 255.255.255.0 [Router-Ethernet0/0]
£¨3£© µÇ¼·ÓÉÆ÷R1¡¢R2ÉÏÅäÖô®¿ÚµÄIPµØÖ· R1µÄÅäÖãº
[Router-Ethernet0/0]interface serial 1/0
[Router-Serial1/0]ip address 172.16.2.1 255.255.255.0
[Router-Serial1/0]undo shutdown R2µÄÅäÖãº
[Router-Ethernet0/0]interface serial 1/0
[Router-Serial1/0]ip address 172.16.2.2 255.255.255.0 [Router-Serial1/0]undo shutdown
£¨×÷´ËʵÑ飬v35Ïß²»Çø·ÖDCEºÍDTE¶Ë£¬¸÷λͬѧ¿ÉÒÔÏÈÁ˽âÒ»ÏÂDCEºÍDTE¶Ë·Ö±ðָʲô£¿ÓÐʲôÓã¿£© £¨4£©ÔÚ·ÓÉÆ÷R1¡¢R2ÉÏÅäÖþ²Ì¬Â·ÓÉ R1ÅäÖÃ:
[Router]ip route-static 172.16.3.0 255.255.255.0 172.16.2.2£¨ÏÂÒ»Ìø·ÓÉÆ÷½Ó¿ÚIPµØÖ·£©»òserial 1/0£¨±¾Â·ÓÉÆ÷ÏÂÒ»Ìø½Ó¿Ú£© R2ÅäÖÃ:
[Router]ip route-static 172.16.1.0 255.255.255.0 172.16.2.1£¨ÏÂÒ»Ìø·ÓÉÆ÷½Ó¿ÚIPµØÖ·£©»òserial 1/0£¨±¾Â·ÓÉÆ÷ÏÂÒ»Ìø½Ó¿Ú£©
¡¾ÊµÑµ²âÊÔ¡¿
£¨1£©ÓÃÍøÏß½«¼ÆËã»úºÍ·ÓÉÆ÷µÄÒÔÌ«¿ÚÏàÁ¬£¬¼ÆËã»úµÄĬÈÏÍø¹Ø·Ö±ðÉèΪ ·ÓÉÆ÷½Ó¿ÚF1/0 IPµØÖ· £¨2£©ÔÚ¼ÆËã»úÉÏping ĬÈÏÍø¹ØµØÖ·
(3) pingͨºó£¬ping ¶Ô·½Â·ÓÉÆ÷¼°Ö÷»úµØÖ·£»
£¨4£©·Ö±ðÔÚR1ºÍR2ϵͳÊÓͼÏÂÖ´ÐÐdis ip routing-table ²é¿´Â·ÓÉ±í£¬×¢Òâ¹Û²ì¾²Ì¬Â·ÓÉÄÚÈÝ¡£
- 21 -
1.5±¶£»Ê×ÐÐËõ½ø£º2×Ö·û£»ÌâÄ¿×ÖÌ壺3ºÅºÚÌ壬µ¥±¶ÐоࣻÕ½Ú×ÖÌ壺4ºÅºÚÌ壬µ¥±¶Ðоࡣ
¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª
packet tracer ʵÑéÎļþÏÂÔØ
´ËÎļþΪpacket tracer 5.2ÊÔÑéÎļþ£¬5.0Ôò´ò²»¿ª¡£
- 22 -