๐Ÿ“‚๋„คํŠธ์›Œํฌ&์„œ๋ฒ„/๐ŸŒ๋„คํŠธ์›Œํฌ

๐Ÿฅฆ๋„คํŠธ์›Œํฌ 23์ผ์ฐจ(5.15) NAT / ๋ผ์šฐํ„ฐ์˜ ๋ถ€ํŒ…๊ณผ์ • ์กฐ์ ˆํ•˜๊ธฐ

๐Ÿ‘ฉ‍๐ŸŽ“์ธํ…”๋ฆฌ๊ฐ์ž๐Ÿฅ” 2023. 5. 22. 14:29

  NAT

  NAT๋Š” ๋‚ด๋ถ€ ์‚ฌ์„ค IP๋ฅผ ์™ธ๋ถ€ ๊ณต์  IP๋กœ ์ „ํ™˜์‹œ์ผœ ์ค€๋‹ค. ๋‚ด๋ถ€์— ์‚ฌ์„ค IP๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์–ด๋„ DNS (๋กœ์ปฌ) ์„œ๋ฒ„, Web, DB, Mail ์„œ๋ฒ„ ๋“ฑ์€ ๊ณ ์ •๋œ ๊ณต์ ์ธ ์ฃผ์†Œ๋กœ ๋งŒ๋“ค ํ•„์š”๊ฐ€ ์žˆ๋‹ค. 

 

์‹ค์Šต

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host ISP

ISP(config)#int s2/0

ISP(config-if)#ip addr 210.98.100.12 255.255.255.248

ISP(config-if)#no shut

 

%LINK-5-CHANGED: Interface Serial2/0, changed state to down

ISP(config-if)#exit

ISP(config)#ip route 0.0.0.0 0.0.0.0 210.98.1.13

 

 

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host RT

RT(config)#int fa0/0

RT(config-if)#ip addr 192.168.1.1 255.255.255.192

RT(config-if)#ip nat inside

RT(config-if)#no shut

 

RT(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

int s2/0

RT(config-if)#ip addr 210.98.100.13 255.255.255.248

RT(config-if)#ip nat outside

RT(config-if)#no shut

 

RT(config-if)#

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

 

RT(config-if)#access-list 10 permit 192.168.1.0 0.0.0.63  63๋Œ€์˜ ํ˜ธ์ŠคํŠธ๋“ค์„ ๋ชจ๋‘ ํ—ˆ์šฉ

RT(config)#ip nat pool dokdo 210.98.100.9 210.98.100.11 netmask 255.255.255.248 ์ฃผ์†Œํ’€์„ ๋ฐ›์•„๋ผ 

RT(config)#ip nat inside source list 10 pool dokdo ์•ก์„ธ์Šค ๋ฆฌ์ŠคํŠธ 10๋ฒˆ์˜ ์ ์šฉ์„ ๋ฐ›๊ณ  ๋…๋„ ํ’€์˜ ์ฃผ์†Œํ’€์„ ๋ฐ›์•„๋ผ, 

์ด ๋ช…๋ น์–ด๋Š” ๋‚ด๋ถ€ ๋„คํŠธ์›Œํฌ์—์„œ ์™ธ๋ถ€๋กœ ๋‚˜๊ฐ€๋Š” ํŒจํ‚ท์— NAT๋ฅผ ์ ์šฉํ•˜๋Š” ์„ค์ •์„ ์ œ๊ณตํ•˜๋ฉฐ, ACL์— ๋ช…์‹œ๋œ ๋‚ด๋ถ€ IP ์ฃผ์†Œ๋ฅผ ๊ณต์ธ IP ์ฃผ์†Œ๋กœ ๋ณ€ํ™˜ํ•˜์—ฌ ์™ธ๋ถ€๋กœ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.

!! ip nat inside source list 10 static 192.168.1.30 210.98.100.30(๊ณ ์ • ์•„์ดํ”ผ๋กœ ์งฑ๋ฐ•์„ ์ˆ˜ ์žˆ์Œ) 

 

ip route 0.0.0.0 0.0.0.0 210.98.100.12

 

ํ•‘์„ ํ•œ ๋ฒˆ์”ฉ ๋•Œ๋ ค์ค€๋‹ค.

 

sh ip nat statistics

 

sh ip nat trans

์‹ค์Šต2

 

ISP ์„ค์ •

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host ISP

ISP(config)#int s2/0-

^

% Invalid input detected at '^' marker.

 

ISP(config)#int s2/0

ISP(config-if)#ip addr 210.98.100.17 255.255.255.240

ISP(config-if)#no shut

 

%LINK-5-CHANGED: Interface Serial2/0, changed state to down

ISP(config-if)#exit

ISP(config)#ip route 0.0.0.0 0.0.0.0 210.98.100.18

ISP(config)#end

 

RT&NAT ์„ค์ •

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host RT&NAT

RT&NAT(config)#int s2/0

RT&NAT(config-if)#ip addr 210.98.100.18 255.255.255.240

RT&NAT(config-if)#ip nat outside

RT&NAT(config-if)#no shut

 

RT&NAT(config-if)#

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

int fa0/0

RT&NAT(config-if)#ip addr

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

192.168.1.1 255.255.255.0

RT&NAT(config-if)#int fa1/0

RT&NAT(config-if)#ip addr 192.168.2.1 255.255.255.0

RT&NAT(config-if)#ip nat inside

RT&NAT(config-if)#no shut

 

RT&NAT(config-if)#

%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

int fa0/0

RT&NAT(config-if)#ip nat inside

RT&NAT(config-if)#no shut

 

ip route 0.0.0.0 0.0.0.0 210.98.100.17

 

ip nat inside source static 192.168.1.20 210.98.100.20

ip nat inside source static 192.168.2.40 210.98.100.30

 

์ •์  ๋ณ€ํ™˜

 

RT&NAT(config)#access 10 permit 192.168.1.0 0.0.0.255

RT&NAT(config)#access 10 permit 192.168.2.0 0.0.0.255

 

 

๋™์  ๋ณ€ํ™˜

ip nat inside source list 10 int s2/0 overload

 

์—ฌ๋Ÿฌ ํ˜ธ์ŠคํŠธ๊ฐ€ ๊ณต์œ ๋œ IP ์ฃผ์†Œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€๋กœ ํ†ต์‹ ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” NAT ๊ตฌ์„ฑ์—์„œ
overload ํ‚ค์›Œ๋“œ๋ฅผ ๋ช…์‹œ์ ์œผ๋กœ ์ง€์ •ํ•ด์ฃผ์–ด์•ผ ํ•˜๋ฉฐ, ์ด๋ฅผ ์„ค์ •ํ•˜์ง€ ์•Š์„ ๊ฒฝ์šฐ ์ถฉ๋Œ์ด ๋ฐœ์ƒํ•˜์—ฌ ํ†ต์‹  ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

overload ํ‚ค์›Œ๋“œ๋Š” NAT (Network Address Translation)์—์„œ ์‚ฌ์šฉ๋˜๋ฉฐ, ๋‹ค์ค‘ ํ˜ธ์ŠคํŠธ๊ฐ€ ํ•˜๋‚˜์˜ ๊ณต์ธ IP ์ฃผ์†Œ๋ฅผ ๊ณต์œ ํ•˜์—ฌ ์™ธ๋ถ€๋กœ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

 

ํ•‘์„ ํ•œ ๋ฒˆ์”ฉ ๋•Œ๋ ค์„œ ์™•๋ž˜๊ฐ€ ์žˆ๊ฒŒ ํ•œ ๋‹ค์Œ ๋ผ์šฐํ„ฐ๋ฅผ ๋ณธ๋‹ค.

์„ค์ •์ด ์ž˜ ๋˜์—ˆ๋‹ค!!

 


  WAN์—์„œ์˜ ํŒจํ‚ท์ „์†ก์€ ๋‹ค์Œ์˜ ๊ธฐ๋ฒ•๋“ค์„ ์‚ฌ์šฉํ•œ๋‹ค.

 

1:25

WAN์—์„œ์˜ ํŒจํ‚ท์ „์†ก

์ „์†ก๊ธฐ๋ฒ• ์„ค๋ช…
์ž„๋Œ€ํšŒ์„      (leased line) PPP๋‚˜ ๋ฆฌ์Šค๋“œ ์—ฐ๊ฒฐ๋กœ ๋ถˆ๋ฆฌ๋ฉฐ ์–ธ์ œ๋ผ๋„ ํ†ต์‹ ์ด ๊ฐ€๋Šฅํ•˜๋„๋ก ์‚ฌ์ „์— ๊ตฌ์„ฑ๋˜์–ด์ ธ ์žˆ์–ด์„œ ๋ฐ์ดํ„ฐ ์ „์†ก ์ด์ „์—      ํšŒ์„ ์—ฐ๊ฒฐ ๊ณผ์ •์ด ํ•„์š” ์—†๋‹ค. ๋น„์šฉ์ด ๋น„์‹ธ์ง€๋งŒ ๋†’์€ ๋Œ€์—ญํญ๊ณผ ์ผ์ •ํ•œ ๋ฐ์ดํ„ฐ ์ „์†ก์œจ์„ ์œ ์ง€ํ•œ๋‹ค. HDLC์™€ PPP ์บก์Šํ™”  ๊ธฐ๋ฒ•์ด ์ฃผ๋กœ ์‚ฌ์šฉ๋œ๋‹ค. 
ํŒจํ‚ท ์Šค์œ„์นญ  (packet  switching) ์ด ๊ธฐ๋ฒ•์€ ๋น„์šฉ์ ˆ๊ฐ์„ ์œ„ํ•ด์„œ ๋‹ค๋ฅธ ์กฐ์ง๋“ค๊ณผ ํ†ต์‹  ๋Œ€์—ญํญ์„ ๊ณต์œ ํ•ด์„œ ์‚ฌ์šฉํ•˜๋ฏ€๋กœ ํšŒ์„ ์ด ํ•œ๊ฐ€ํ•    ๋•Œ๋งŒ ๋ฐ์ดํ„ฐ ์ „์†ก์ด ์šฉ์ดํ•˜๋‹ค. X.25, Frame Relay, ๊ทธ๋ฆฌ๊ณ  ATM ์บก์Šํ™” ๊ธฐ๋ฒ•์ด ์ฃผ๋กœ ์‚ฌ์šฉ๋œ๋‹ค.

*์ˆœ์„œ๋ฅผ ๋ถ™์ด๊ณ  ํ”„๋ฆฌ์ฆ˜์„ ํ†ต๊ณผํ•ด์„œ ๋น ๋ฅด๊ฒŒ ์•Œ์•„์„œ ๋„์ฐฉํ•˜๊ฒŒ ๋งŒ๋“ฆ ๊ทธ๋ฆฌ๊ณ  ์ƒ๋Œ€๋ฐฉ์—๊ฒŒ ๊ฐ€์„œ sequence number์— ๋”ฐ๋ผ reassemble ํ•œ๋‹ค.
์จํ‚ท ์Šค์œ„์นญ  (circuit switching) ์ด ๊ธฐ๋ฒ•์€ ์ผ๋ฐ˜ ์ „ํ™” ๊ตํ™˜๊ธฐ์ฒ˜๋Ÿผ ์ž‘๋™๋˜๋Š”๋ฐ ์‚ฌ์šฉ๋Ÿ‰์— ๋”ฐ๋ผ์„œ ๋น„์šฉ์„ ๋ถ€๋‹ดํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ €๋น„์šฉ์ด ์ตœ๋Œ€ ์žฅ์ ์ด๋‹ค. ์ „์šฉ(dedicated)ํšŒ์„ ์€ ๋งค ๋ฐ์ดํ„ฐ ์ „์†ก ์ „์— ์—ฐ๊ฒฐ, ์œ ์ง€, ๊ทธ๋ฆฌ๊ณ  ์ข…๋ฃŒ์˜ ๊ณผ์ •์„ ๊ฐ€์ง€์ง€๋งŒ ํšŒ์„  ์Šค์œ„์น˜๋“œ๋„คํŠธ์›Œํฌ๋Š” ํ†ต์‹ ๋˜๋Š” ๋™์•ˆ์—๋Š” ๊ฒฝ๋กœ ๋ฆฌ์†Œ์Šค๊ฐ€ ์œ ์ง€๋œ๋‹ค. ๋ณดํ†ต ๋Œ€์—ญํญ์ด ๋‚ฎ๊ณ  PSTN๊ณผ ISDN ์บก์Šํ™” ๊ธฐ๋ฒ•์ด ์ฃผ๋กœ ์‚ฌ์šฉ     ๋œ๋‹ค.

  ๋‹ค์Œ์€ WAN์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์ฃผ์š” ํ”„๋กœํ† ์ฝœ์„ ์ •๋ฆฌํ•œ ํ‘œ์ด๋‹ค.

 

WAN์˜ ์ฃผ์š” ํ”„๋กœํ† ์ฝœ

ํ”„๋กœํ† ์ฝœ ์—๋Ÿฌ๋ณต๊ตฌ Type wํ•„๋“œ  ํŠน์„ฑ
SDLC Yes No IBM์ด ๋งŒ๋“ค์—ˆ๊ณ  SDLC ํ—ค๋” ๋’ค์— IBM SNA ํ—ค๋”๋ฅผ ๋„ฃ์—ˆ์ง€๋งŒ HDLC๋กœ  ๋Œ€์ฒด๋˜์—ˆ๋‹ค. ๋ฉ€ํ‹ฐํฌ์ธํŠธ๋งํฌ๋ฅผ ์ง€์›ํ•œ๋‹ค 
HDLC No No IBM์ด ๋งŒ๋“ค์—ˆ๊ณ  ์‹œ์Šค์ฝ” ๋™๊ธฐ์‹ ์‹œ๋ฆฌ์–ผ๋งํฌ์˜ ๋””ํดํŠธ์ด๋‹ค 
LAPB Yes No X.25 ๋„คํŠธ์›Œํฌ์—์„œ ์ฃผ๋กœ ์‚ฌ์šฉ๋˜๋ฉฐ HDLC์™€ ์œ ์‚ฌํ•˜๊ฒŒ ์ž‘๋™๋˜์ง€๋งŒ P2P  ๋งํฌ์—์„œ๋งŒ ์‚ฌ์šฉ๋œ๋‹ค
LAPD No No LAPB๋ฅผ ๊ฐœ์„ ํ•œ ๊ฒƒ์œผ๋กœ ISDN ํšŒ์„ ์—์„œ ์—ฐ๊ฒฐ ์„ฑ๋ฆฝ๊ณผ ์ข…๋ฃŒ๋ฅผ ์œ„ํ•œ D์ฑ„๋„์—์„œ ์ฃผ๋กœ ์‚ฌ์šฉ๋œ๋‹ค
PPP Yes Yes  ๋ฉ€ํ‹ฐํ”„๋กœํ† ์ฝœ ํ˜ธํ™˜์„ ์œ„ํ•ด์„œ ์‚ฌ์šฉ๋œ๋‹ค


  ๋ผ์šฐํ„ฐ์˜ ์œ ์ง€๊ด€๋ฆฌ

  ์ฒœ๋‘ฅ ๋ฒˆ๊ฐœ๋‚˜ ์ˆœ๊ฐ„์ ์ธ ๊ณผ๋„ํ•œ ์ „๋ฅ˜ ๋“ฑ์œผ๋กœ ์ธํ•ด ๋ผ์šฐํ„ฐ๊ฐ€ ๊ธฐ๊ณ„์ ์œผ๋กœ ์†์ƒ๋˜๊ฑฐ๋‚˜ ์„ค์ •๋œ ๊ตฌ์„ฑํŒŒ์ผ์ด ์†์ƒ์„ ์ž…์„ ์ˆ˜ ์žˆ๋‹ค. ๋„คํŠธ์›Œํฌ ๊ด€๋ฆฌ์ž๋Š” ๋Š˜ ์ด๋Ÿฐ ์ƒํ™ฉ์„ ์—ผ๋‘์— ๋‘๊ณ  ๋Œ€๋น„์ฑ…์„ ๊ฐ€์ง€๊ณ  ์žˆ์–ด์•ผ ํ•œ๋‹ค.

 

 ๋ผ์šฐํ„ฐ์˜ ๋ถ€ํŒ…๊ณผ์ • ์กฐ์ ˆํ•˜๊ธฐ

  ๋ผ์šฐํ„ฐ์— ์ „์›์ด ๋“ค์–ด์˜ค๋ฉด ๋ผ์šฐํ„ฐ๋Š” POST(Power-On Self-Test) ๊ณผ์ •์„ ๊ฑฐ์น˜๋Š”๋ฐ ๋ผ์šฐํ„ฐ ๋‚ด๋ถ€์˜ ROM ์นฉ(์•ˆ์ „๋ชจ๋“œ)์— ๋“ค์–ด์žˆ๋Š” ์ง„๋‹จ ๋ฃจํ‹ด์„ ์‹œ์ž‘ํ•ด์„œ ํ•˜๋“œ์›จ์–ด์™€ ์ธํ„ฐํŽ˜์ด์Šค, ๊ทธ๋ฆฌ๊ณ  ์†Œํ”„ํŠธ์›จ์–ด ๋“ฑ์„ ์ ๊ฒ€ํ•˜๋Š” ๊ณผ์ •์ด๋‹ค. POST๊ฐ€ ๋๋‚˜๋ฉด ์ด์–ด์„œ ๋ผ์šฐํ„ฐ์˜ ์šด์˜์ฒด์ œ์ธ IOS ์ด๋ฏธ์ง€ ํŒŒ์ผ์„ ROM, Flash ๋ฉ”๋ชจ๋ฆฌ, TFTP ์„œ๋ฒ„ ๋“ฑ์—์„œ ์ฐพ์•„์„œ DRAM ๋ฉ”๋ชจ๋ฆฌ์— ๋กœ๋“œ์‹œ์ผœ์„œ ์‹คํ–‰ํ•œ๋‹ค. TFTP ์„œ๋ฒ„๋Š” UDP๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ํ”„๋กœํ† ์ฝœ๋กœ์จ ํŒŒ์ผ์„ ์†ก์ˆ˜์‹ ํ•˜๋Š”๋ฐ ์‚ฌ์šฉ๋˜์ง€๋งŒ ๋ณด์•ˆ์— ์ทจ์•ฝํ•˜๋‹ค. 
  IOS๋ฅผ ์ฐพ๋Š” ์ˆœ์„œ๋Š” ‘Flash ๋ฉ”๋ชจ๋ฆฌ(ํ•˜๋“œ๋””์Šคํฌ) ->TFTP ์„œ๋ฒ„(ํŒŒ์ผ์„œ๋ฒ„) ->ROM(์•ˆ์ „๋ชจ๋“œ)’ ์ˆœ์„œ์ด๋‹ค. ROM์— ์žˆ๋Š” ์šด์˜์ฒด์ œ๋Š” ๊ฐ„๋‹จํ•œ ๋ฒ„์ „์œผ๋กœ์จ ์–ด๋”˜๊ฐ€์—์„œ ํ’€ ๋ฒ„์ „์„ ๋กœ๋“œํ•˜๋Š”๋ฐ ํ•„์š”ํ•œ ๊ธฐ๋Šฅ๋งŒ ๋“ค์–ด์žˆ๋‹ค. Windows ์ปดํ“จํ„ฐ์—์„œ์˜ ์•ˆ์ „๋ชจ๋“œ์™€ ๋น„์Šทํ•œ ๊ธฐ๋Šฅ์„ ์ˆ˜ํ–‰ํ•œ๋‹ค.

 



Router#sh version ์„ ๋•Œ CPU(PTSC2005), Memory(60.416M), Buffer Memory (5.120M), Mother Board PT0123, NVRAM(32K), Flash(63.488M), ์™ธ๋ถ€ Serial ์—ฐ๊ฒฐ(X.25), ๋‚ด๋ถ€ FastEthernet ์—ฐ๊ฒฐ ๋“ฑ์˜ ์ •๋ณด๋ฅผ ๋ชจ๋‘ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. 
  ๋งจ ๋์— Configuration register is 0x2102์‹์œผ๋กœ ๋ณด์ด๋Š”๋ฐ ์ด 2๊ฐ€ NVRAM์— ๋“ค์–ด์žˆ๋Š” ์„ค์ •์„ ๊ฐ€์ ธ์˜ค๊ณ , ๋””ํดํŠธ Flash๋กœ ๋ถ€ํ„ฐ IOS ์šด์˜์ฒด์ œ ํŒŒ์ผ์„ ๊ฐ€์ ธ์™€์„œ ๋ถ€ํŒ…ํ•˜๋ผ๊ณ  ๋ผ์šฐํ„ฐ์—๊ฒŒ ์•Œ๋ฆฌ๋Š” ์ง€์‹œ์–ด์ด๋‹ค. 
=>0x2102๋Š” Flash ๋ฉ”๋ชจ๋ฆฌ์—์„œ IOS ํŒŒ์ผ์„ ๊ฐ€์ ธ์™€์„œ ๋ถ€ํŒ…ํ•œ๋‹ค๋Š” ๋œป์ด๊ณ , 
    0x2141์€ ROM
    0x2142๋Š” ๋ณต๊ตฌ์šฉ Flash์—์„œ ๊ฐ€์ ธ์˜จ๋‹ค๋Š” ์˜๋ฏธ์ด๋‹ค.
Router(config)#config-register 0x2101 ํ•˜๋ฉด ๋ถ€ํŒ…๋  ๋•Œ ๊ฐ€์ ธ์˜ค๋Š” ์ด๋ฏธ์ง€์˜ ์œ„์น˜๊ฐ€ ๋‹ฌ๋ผ์ง„๋‹ค. 

 

์‹ค์Šต

RT1

๋”๋ณด๊ธฐ

Router(config)#host RT1:2811

RT1:2811(config)#int fa0/1

RT1:2811(config-if)#ip addr 192.168.100.1 255.255.255.0

RT1:2811(config-if)#no shut

 

RT1:2811(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

int fa0/0

RT1:2811(config-if)#ip addr 10.10.10.2 255.255.255.252

RT1:2811(config-if)#no shut

 

RT1:2811(config)#router rip

RT1:2811(config-router)#version 2

RT1:2811(config-router)#net 192.168.100.0

RT1:2811(config-router)#net 10.10.10.0

RT0

๋”๋ณด๊ธฐ

Router(config)#host RT0:2911

RT0:2911(config)#int g0/0

RT0:2911(config-if)#ip addr 10.10.10.1 255.255.255.252

RT0:2911(config-if)#no shut

 

RT0:2911(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

 

RT0:2911(config-if)#int g0/2

RT0:2911(config-if)#ip addr 192.168.101.1 255.255.255.0

RT0:2911(config-if)#no shut

 

RT0:2911(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up

int g0/1

RT0:2911(config-if)#ip addr 10.10.11.1 255.255.255.252

RT0:2911(config-if)#no shut

 

RT0:2911(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

router rip

RT0:2911(config-router)#version 2

RT0:2911(config-router)#net 10.10.10.0

RT0:2911(config-router)#net 192.168.101.0

RT0:2911(config-router)#net 10.10.11.0

RT2

๋”๋ณด๊ธฐ

Router(config)#host RT2:generic

RT2:generic(config)#int fa0/0

RT2:generic(config-if)#ipa ddr 10.10.11.2 255.255.255.252

^

% Invalid input detected at '^' marker.

 

RT2:generic(config-if)#no shut

 

RT2:generic(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

int fa1/0

RT2:generic(config-if)#ip addr 192.168.102.1 255.255.255.0

RT2:generic(config-if)#no shut

 

RT2:generic(config-if)#

%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

router rip

RT2:generic(config-router)#version 2

RT2:generic(config-router)#net 10.10.11.0

RT2:generic(config-router)#net 192.168.102.0

RT2:generic(config-router)#int fa0/0

RT2:generic(config-if)#ip addr 10.10.11.2 255.255.255.252

RT2:generic(config-if)#no shut

์šด์˜์ฒด์ œ ์ด๋ฆ„

2911 ๋ผ์šฐํ„ฐ์˜ ์ด๋ฏธ์ง€๊ฐ€ ์—†๋‹ค. ๊ทธ๋ž˜์„œ ์ด ์ด๋ฏธ์ง€๋ฅผ TFTP ์„œ๋ฒ„์— ์ค„ ๊ฒƒ์ด๋‹ค. 

 

copy flash tftp

์šด์˜์ฒด์ œ ์ด๋ฆ„ ๋ถ™์—ฌ๋„ฃ๊ณ  address ์ž…๋ ฅ

๊ทธ๋ฆฌ๊ณ  ์—”ํ„ฐ ์น˜๋ฉด ๋

 

๊ป๋‹ค ํ‚ค๋ฉด ์ƒ๊ฒจ์žˆ๋‹ค!!!

 

 

๋ฐ˜๋Œ€๋„ ๊ฐ€๋Šฅํ•˜๋‹ค!!

 copy tftp flash

 

boot system flash pt1000-i-mz.122-28.bin

 

NVRAM SAVE๋ฅผ ํ•ด์ค˜์„œ copy run start๊ฐ€ ๋๋‹ค.

ํ˜„์žฌ ์„ค์ •์„ ์‹œ์ž‘ํ•  ๋•Œ ๋ถˆ๋Ÿฌ์˜จ๋‹ค.

 

์ €์žฅํ•ด๋ณธ๋‹ค.

 

flash๊ฐ€ ๋ฐ”๋€Œ์–ด์ ธ ์žˆ๋‹ค.