°Ô½Ã¹° 12°Ç
 
[³×Æ®¿öÅ©] CISCO ±âÃÊ - Static Routing ¼³Á¤ ¹æ¹ý
±Û¾´ÀÌ : ÃÖÀå¼· ³¯Â¥ : 2014-09-29 (¿ù) 14:38 Á¶È¸ : 5101

• R0 °ú R1 ±âº»ÀûÀÎ ¿¬°á Å×½ºÆ®
  
   [Router0]
   S0/0 - 10.10.10.1
   Fa2/0 - 192.168.10.1

• Fa2/0 °ú S0/0ÀÇ IPÀÇ ¼³Á¤À» ÁöÁ¤ÇÑ´Ù.
   Router>enable // À¯Àú ¸ðµå·Î ÁøÀÔ
   Router#
   Router#configure terminal  // °ü¸®ÀÚ ¸ðµå·Î ÁøÀÔ
 Enter configuration commands, one per line.  End with CNTL/Z.
   Router(config)#interface s0/0 // Serial 0/0 Interface ÁøÀÔ
   Router(config-if)#ip address 10.10.10.1 255.255.255.0 // IP ¿Í Netmask ÁöÁ¤
   Router(config-if)#exit
   Router(config)#
   Router(config)#interface FastEthernet 2/0 // FastEthernet 2/0 Interface ÁøÀÔ
   Router(config-if)#ip address 192.168.10.1 255.255.255.0 // IP ¿Í Netmask ÁöÁ¤

• R1 µµ °°Àº ¹æ¹ýÀ¸·Î IP ÇÒ´çÀ» ÇØÁØ´Ù.
   S0/0 - 10.20.10.1
   Fa2/0 - 192.168.20.1

• R0 ¿¡¼­ R1ÀÇ ´ë¿ªÀ¸·Î °¡±â À§ÇØ Static Routing ¸¦ ÇØÁØ´Ù.
   ¡Ø Static Routing ¼³Á¤ ¹æ¹ý
   #ip route [destination] [netmask] [nexthop]

   [Router0]
   Router>enable // À¯Àú¸ðµå ÁøÀÔ
   Router#
   Router#configure terminal  // °ü¸®ÀÚ ¸ðµå·Î ÁøÀÔ
   Router(config)#ip route 192.168.20.0 255.255.255.0 10.20.10.1 // 192.168.20.0 ´ë¿ªÀ¸·Î °¡±â À§ÇÑ Æ÷Æ® ¹× ip ¸¦ 10.20.10.1 ·Î ÁöÁ¤ÇÑ´Ù.

   [Route1]
   Router>enable // À¯Àú¸ðµå ÁøÀÔ
   Router#
   Router#configure terminal  // °ü¸®ÀÚ ¸ðµå·Î ÁøÀÔ
   Router(config)#ip route 192.168.10.0 255.255.255.0 10.10.10.1 // 192.168.10.0 ´ë¿ªÀ¸·Î °¡±â À§ÇÑ Æ÷Æ® ¹× ip ¸¦ 10.20.10.1 ·Î ÁöÁ¤ÇÑ´Ù.

   Route0 °ú Route1 ÀÌ Ping Åë½ÅÀ¸·Î ¼­·Î Á¤»óÀûÀÎÁö È®ÀÎÇÑ´Ù.
   ¼­·Î Ping ÀÌ µÇÁö ¾ÊÀ»½Ã °¢ Serial Interface ¸¶´Ù Clock Rate °ªÀ» ÁöÁ¤ÇØ¾ß ÇÑ´Ù.
   (Packet Tracer ¸¸ ÀÌ·± °Í °°À½)


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com