Cisco Router Management Guide Book
description
Transcript of Cisco Router Management Guide Book
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Cisco Router
Management Guide Book
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ชฉ์ ํต์ , ์์ ๊ณต์
๋ฐ์ ํํ 1960s-1970s : ์ค์์ง์ค ํํ 1970s-1980s : LAN ์ถํ ๋ฐ LAN ๊ฐ์ ์ฐ๊ฒฐ , ๋ถ์ฐํํ 1980s-1990s : LAN ๊ฐ์ ์ฐ๊ฒฐ ํ๋ฐ , ๊ณ ๋์ญ ์๋น์ค 1990s- : ๊ณ ๋์ญ์๋น์ค ๋ฐ Global ํ
๊ณ ๋ ค์ฌํญ Connectivity
Reliability
Management Control
Flexibility
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
1960s-1970s
IBM SNA, X.25 ์๋น์ค ์ถํ 1 ๊ฐ์ ํธ์คํธ์ ์ฌ๋ฌ๊ฐ์ ๋จ๋ง๊ธฐ๊ฐ ์ ์ ์ ์ ํต์ , ํต์ ์ ์๋ฌ์ ๊ฒ / ์๋ฌ์ฒ๋ฆฌ๊ฐ ์ค์์๋จ
1970s-1980s
LAN ์ ํ์ฉํ์ฌ printer, disk ๋ฑ ๊ณต์ Ethernet, Token Ring
LAN ๊ฐ์ ์ฐ๊ฒฐ์ email, file transfer ๋ฑ์ ๊ฐ๋ฅํ์ฌ ํ์์ผ๋ฉฐ , ์์ฐ์ฑ ๋ฐ ๊ฒฝ์๋ ฅ์
์ฆ๋ ์ํด
๋ถ์ฐ์ฒ๋ฆฌ ์ถํ : DEC VAX, DECnet
1980s-1990s
๊ณผ๊ฑฐ์ ๊ธฐ์ ๊ณผ ์ ๊ธฐ์ ๊ฐ์ ํผ์ฌ LAN, low speed PDN, Leased Line, high speed PDN
์ค์์ง์คํํ Application -> ๋ถ์ฐ์ฒ๋ฆฌ Application ์๊ตฌ ์ฆ๋ ๋คํธ์์ flexibility, scalability, adaptability ์ค์์ฑ ์ฆ๋ LAN to LAN via WAN and Leased Line
FDDI, TCP/IP
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Bridge Hub Ethernet Switch Router ATM Switch
Router X.25 orFrame Relay
Switch
ModemCSU/DSUTA/NT1
CommServer
MUX ATMSwitch
LAN ์ฅ๋น
WAN ์ฅ๋น
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Bridge : LAN ๊ณผ LAN ์ ์ฐ๊ฒฐ . ๋ LAN ์ Network Address ๊ฐ ๋์ผํ ๋ ๊ฐ๋ฅ
Hub : LAN Cable ์ ๋์นํ๋ ์ฅ์น๋ก TP cable ์ ์ด์ฉํด ์์คํ ์ด ์ ์ํ ์ ์๋๋ก ํจ
Ethernet Switch : LAN frame ์ด ์ถฉ๋์์ด ์ ๋ฌ๋ ์ ์๋๋ก ํ๋ ์ฅ์น . Dedicated Bandwidth ์ ๊ณต
Router : Network Address ๊ฐ ๋ค๋ฅธ ๋คํธ์์ ์ฐ๊ฒฐํ๋ ์ฅ๋น . LAN ๋ฐ WAN ์ฅ๋น๋ก ๋์์ ํ์ฉ๋ ์ ์๋ค .
ATM Switch : ์ ๊ฒ๋ ์ bps ์์ ํฌ๊ฒ๋ ์ Gbps ๊น์ง์ ๋์ญ์ ์ ๊ณตํ๋ Switch. LAN ๋ฐ WAN
์ฅ๋น๋ก ๋์์ ํ์ฉ๋ ์ ์๋ค .
Modem : digital ์ ํธ์ analog ์ ํธ๋ฅผ ์๋ก ๋ณ์กฐํ์ฌ ์ ๊ธฐ์ ์ ํธ๋ฅผ ์ ๋ฌ
CSU/DSU : CSU ๋ ๊ณ ์ (128K ~) digital ์ ํธ๋ฅผ ์ ๋ฌํ๋๋ฐ ์ด์ฉ , DSU ๋ 56K/64K digital ์ ํธ๋ฅผ
์ ๋ฌํ๋๋ฐ ์ด์ฉ๋จ
TA/NT1 : ISDN ์ ํธ๋ฅผ ์ ๋ฌํ๋ ์ฅ์น
Multiplexer : 1 ๊ฐ์ ๋ฌผ๋ฆฌ์ ํ์ ์ ์ฌ๋ฌ ์ฅ์น๊ฐ ๊ณต์ ํ ์ ์๋๋ก ํจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ISO ์์ 1974 ๋ OSI 7 Layer Model ์ ์ ์
๋จ์ง Model ์ผ๋ฟ์ด๋ฉฐ , ๊ฐ Layer ๋ฅผ ๊ตฌํํ๋ ๋ฐฉ๋ฒ์ ์ ์ํ์ง ์์ ๋ ์์คํ ์ Layer ๊ฐ์ ํต์ ์ Peer-to-Peer Communication ์ด๋ผ๊ณ ํจ ์์คํ ๋ด Layer ๊ฐ์ ํต์ ์ Interface ๋ผ๊ณ ํจ Transport Layer ์์๋ Segment, Network Layer ์์๋ Packet, Data Link Layer ์์๋ Frame Physical Layer ์์๋ bit ๋ฅผ ์ ๋ฌํจ
๋ฏธ๊ตญ๋ฐฉ์ฑ์์๋ OSI 7 Layer Model ๊ณผ ๊ด๊ณ์์ด DoD Layer (TCP/IP) ๊ตฌํ
Dod Layer ์ Network Interface ๋ OSI 7 Layer ์ Data Link Layer ๋ฐ Physical Layer ์ ๋์
Internet Layer ๋ Network Layer ์ ๋์๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Data Link Layer ๋ Physical Addressing, error notification, orderly delivery of frame,
flow control ๋ฑ์ ๋ด๋นํ๋ค .
Physical Layer ๋ voltage level, data rate, maximum transmission distance,
physical connector ๋ฑ์ ๊ท์ ํ๋ค .
EIA/TIA-232 ๋ ์์ฑ ์ ๋ฌ๊ณผ ๊ด๋ จ๋ Physical Layer ํ์ค์ด๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
10Base2-Thin Cable10Base5-Thick Cable
10BaseT-Twisted Pair
AUI
BUS
CSMA/CD ๋ฐฉ์ ์ง์ฐ์๊ฐ์ ์์ธกํ ์ ์์
Physical Interface ๋ e* ๋ก ํ์ ํ์ค 10Mbps ์ง์ Fast Ethernet ์ 100Mbps ์ง์
Hub
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Ethernet ์ Xerox ๊ฐ ์ฒ์๊ฐ๋ฐ์ ์์ํ์ผ๋ฉฐ , 1980 ๋ ์ DEC, Intel ๊ณผ ํจ๊ป Specification 1 ์ ์ ์ํ๋ค .
์ด๋ค์ 1984 ๋ ์ Specification 2 ๋ฅผ ๋ค์ ๋ฐํ IEEE 802.3 ์์์ํ๋ CSMA/CD LAN ๋ชจ๋ธ๋ก Ethernet 2 ์ ์ฑํ
๊ทธ๋ฌ๋ IEEE 802.3 ์์๋ 802.2 LLC ๋ฅผ ์ถ๊ฐํ์์ CSMA/CD (carrier sense multiple access with collision detection) ๋ฐฉ์์ผ๋ก ๋ฐ์ดํ์ ๋ฌ์
์ถฉ๋๊ฐ๋ฅ์ฑ์ด ๋์ . ๊ทธ๋ฌ๋ ๊ตฌํํ๊ธฐ ์ฝ๊ณ ํฌ์๋น์ฉ์ด ๊ฒฝ์ ์ ์ AUI (attatchment unit interface)
์์ฆ์๋ Ethernet ์ ๊ตฌ์ฑํ ๋ 10Base2 ํน์ 10Base5 ๋ฅผ ์ด์ฉํ๋ ๊ฒ์ด ์๋๋ผ HUB ๋ง์ ์ด์ฉํ๋
๊ฒฝ์ฐ๊ฐ ๋ง๋ค .
cisco specific๊ตฌ๋ถ Ethernet Token-Ring FDDI
๋ฐ์ดํ์ ์ก์๋ 10/100/1000 Mbps 4/16Mbps 100Mbps
ํํ BUS Ring Dual-Ring
๋ฐ์ดํ์ ์ก๋ฐฉ์ CSMA/CD ํ ํฐ ํจ์ฑ ํ ํฐ ํจ์ฑ
๋๊บผ์ด ๊ตฌ๋ฆฌ์ STP
์ฌ์ฉ์ผ์ด๋ธ ๊ฐ๋ ๊ตฌ๋ฆฌ์ UTP Fiber
UTP,Fiber Cable Fiber
์ต๋๋คํธ์๊ฑฐ๋ฆฌ 500M 1KM 100Km/ring
๋จ๋ง๊ธฐ๊ฐ ์ต๋๊ฑฐ๋ฆฌ 500M 100M 2KM
ํจ์ผ ํฌ๊ธฐ 1.5kByte 4/18Kbytes 4.5Kbytes
์ต๋์ฐ๊ฒฐ ๋จ๋ง๊ธฐ์ 1024 260๊ฐ(STP) 500
72๊ฐ(UTP)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Ring
Token Pass ๋ฐฉ์ ์ง์ฐ์๊ฐ ์์ธก ๊ฐ๋ฅ
Physical Interface ๋ to* ๋ก ํ์ 4Mbps ํน์ 16Mbps ์ง์ ๋ ผ๋ฆฌ์ ์ผ๋ก๋ Ring ์ด์ง๋ง ๋ฌผ๋ฆฌ์ ์ผ๋ก๋ Star ํํ ์ฐ๊ฒฐ
TokenRing
MAU
๋ ผ๋ฆฌ์
๋ฌผ๋ฆฌ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Token Ring ์ IBM ์ ์ํด 1970 ๋ ๋์ ๊ฐ๋ฐ
Ethernet/IEEE802.3 ๋ค์์ผ๋ก ๋ง์ด ์ฐ์
Token Ring ๊ณผ IEEE802.5 ๋ ๊ฑฐ์ ๋น์ทํ๋ฉฐ ์์ ํธํ ๊ฐ๋ฅ
IEEE802.5 ์์ํ์์ Token Ring ๋ฐ IEEE802.5 Specification ๊ด๋ฆฌ
์ผ๋ฐ์ ์ผ๋ก Token Ring ์ IBM Token Ring ๊ณผ IEEE802.5 ๋ฅผ ํจ๊ป ์ผ์ปซ์
์ผ๋ฐ์ ์ผ๋ก MAU (Multistation Access Unit) ์๋ 8 ๊ฐ์ ์์คํ ์ ์ ์ํ ์ ์์
์์คํ ์ด ๋ง์ ์ฌ๋ฌ๊ฐ์ MAU ๋ฅผ ์ฐ๊ฒฐํ ๋๋ Ring ํํ๊ฐ ๋๋๋ก ํ๊ฒฝ์
๊ตฌ์ฑํด์ผ ํจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ANSI Standard
Dual Token Ring
100Mbps
๊ด์ผ์ด๋ธ ์ด์ฉ
Physical Interface ๋ f* ๋ก ํ์
FDDI
๋ ผ๋ฆฌ์
FDDI ๋ 1987 ๋ ์ ANSI X3T9.5 standard ๋ก ๋ฐํ๋จ
๊ตฌ๋ฆฌ์ ์ ์ด์ฉํด 100Mbps ๋ฅผ ์ง์ํ๋ dual Token Ring ๊ฐ๋ฐ์ค (CDDI)
dual counter-rotating rings
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
MACFrame
802.2 LLC
LLC higher-layer software function
MAC lower-layer hardware function
Network
Data Link
Physical
LLC
MAC
Packet or Datagram
Vendor Code Serial No.
24bits 24bits
NetworkInterfaceCard
ROM
MAC Address
MAC Address 48bits
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
LLC (logical link control) ๊ธฐ๋ฅ
ํ๊ฐ์ LAN media ๋ฅผ ํตํด IP, IPX, Appletalk Packet ์ด ์ ๋ฌ๋ ์ ์๋๋ก ํจ
์ฆ ์์ Layer ๊ฐ ํ์ Layer ์ ๊ด๊ณ์์ด ๊ธฐ๋ฅ์ ์ํํ ์ ์๋๋ก ํจ
flow control ๋ฐ sequencing service ๋ฑ์ ์ ๊ณตํจ
MAC ๊ธฐ๋ฅ
addressing ๋ด๋น
MAC Address
12 hexadecimal digits
Vendor Code (OUI: organizationally unique identifier)
IEEE ๊ฐ OUI ๊ด๋ฆฌ
3COM OUI : 02608C
SUN OUI : 080020
CISCO : 00000C
ARP (Address Resolution Protocol) in TCP/IP
RARP (Reverse ARP)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
WAN Physical Layer
DTE ์ DCE ๊ฐ์ Interface ๋ฅผ ๊ท์
DTE
data terninal equipment
ํ์ ์ ์ข ๋จ์ฅ์น (DCE) ์ ์ ์ํ๋ ์ด์ฉ์ ์ฅ์น
DCE
data circuit-terminating equipment
ํต์ ์ฌ์ ์๊ฐ ์ ๊ณตํ๋ ํ์ ์ ์ข ๋จ์ฅ์น
RS-232, V.35, X.21, V.24, HSSI, EIA/TIA-232, EIA/TIA-449,
G.703, EIA-530, ....
DTE DCE
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
WAN Standard ๋ฅผ ์ ํ๋ ๊ธฐ๊ด์๋ ๋ค์๊ณผ ๊ฐ์ ๊ณณ๋ค์ด ์์
international telecommunication union(ITU)-telecommunication standardization sector (ITU/T)
formerly the Consultative Committee for international telegraph and telephone(CCITT)
International Organization for Standardization (ISO)
Internet Engineering Task Force (IETF)
Electronic Industries Association (EIA)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
WAN Data Link Layer
DTE ์ DTE ๊ฐ์ Interface ๋ฅผ ๊ท์
Synchronous Data Link Control (SDLC)
High-level Data Link Control (HDLC)
Link Access Potocol Balanced (LAPB)
X.25 ์์ DTE ์ DCE ๊ฐ์ data link protocol
Point-to-Point Protocl (PPP)
multiprotocol encapsulation ์ ์ ๊ณต
Frame Relay : HDLC framing ์ ๋จ์ํ ํ ๊ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
SDLC
IBM ์์ ๊ฐ๋ฐ .
multipoint connection
primary station, secondary station ์ ์ ์ํ๊ณ ์์ผ๋ฉฐ , ํต์ ์ primary station ์ ํตํด ์ด๋ฃจ์ด์ง
HDLC ISO ํ์ค ๊ทธ๋ฌ๋ ๋ค๋ฅธ Vendor ์ ํธํ๋์ง ์์ ๊ฐ๋ฅ์ฑ ์์ point-to-point ์ multipoint connection ์ ๊ณต
LAPB X.25 ์์ ์ฃผ๋ก ์ด์ฉ๋จ frame ์ด ๋น ์ง๊ฑฐ๋ ์์๊ฐ ์๋ชป๋๋ ๊ฒ์ ๊ฐ์งํจ . ์ฌ์ ์ก ๋ฐ Ack ๋ฑ ๋ด๋น
PPP
RFC1546 by IETF
point-to-point connection
์์ ๋คํธ์ํ๋กํ ํด์ ์ํ ํ๋๋ฅผ ๊ฐ์ง๊ณ ์์ . ์ฆ ๋ค์ํ ๋คํธ์ํ๋กํ ํด์ Packet ์ ์ ๋ฌํ ์ ์์
Frame Relay
LAPB ์์ error checking ๊ธฐ๋ฅ์ ๋บ ๊ฒ
SLIP IP Packet ๋ง ์ ๋ฌ , asynchronous transmission ๋ง ์ง์ , error checking ๊ธฐ๋ฅ์ด ์์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
WAN ๊ตํ๋ฐฉ์
ํ์ ๊ตํ
์ ์ก๊ตฌ๊ฐ์ ๋์ญ์ ์ ์
busy ํ์ ๋ฐ์
ํจํท ๊ตํ
์ ์ก๊ตฌ๊ฐ์ ๋์ญ์ ๊ณต์
busy ํ์์ ๋ฐ์ํ์ง ์์ผ๋ ์ง์ฐ
๋ฐ์ ๊ฐ๋ฅ
์ ์ก๊ตฌ๊ฐ
์ ์ก๊ตฌ๊ฐ
PSTN, ISDN
X.25, Frame Relay, ATM
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ ์ฉํ์
1 ๊ฐ์ ์ ์ฉํ์ ์ ๋ ์์คํ ์ ์ฐ๊ฒฐ ๋ ์์คํ ์ ์ ์ฉํ์ ์ ๋์ญ์ ๋ ์ ๊ณ ๋น์ฉ
ํ์ ๊ตํ
๋ํ์ ์ธ ์๊ฐ ์ ํ ๊ตํ๊ธฐ๊ฐ ์ ์ก๊ตฌ๊ฐ์ ๋์ญ์ด 32Kbps ์ผ๋ 16Kbps ๋ฅผ ํ์๋กํ๋ ์ ํ 3 ๋๊ฐ ๋์์ ์ ์์
ํ๋ฉด ๊ทธ์ค 1 ๋๋ ํตํํ ์ ์๋ค .
์ ์์ด ์ฑ๊ณตํ ํ์๋ ์ ์ฉํ์ ์ ์ด์ฉํ๋๊ฒ๊ณผ ๋์ผ . ๊ทธ๋๋ง ๋์ญ์ ๋ ์ ํ๋ค .
ํจํท๊ตํ
X.25 ๊ฐ ๋ํ์
๊ตํ๊ธฐ๊ฐ ์ ์ก๊ตฌ๊ฐ์ ๋์ญ์ ๊ตํ๊ธฐ์ ์ ์๋ ์์คํ ๋ค์๊ฒ ๊ท ๋ฑํ๊ฒ ํ ๋น .
๋ฐ๋ผ์ ๋ง์ ์์คํ ์ด ๊ตํ๊ธฐ์ ์ ์ํ๋ฉด ๊ฐ ์์คํ ์ ํต์ ์๋๋ ์ ์ ๋๋ ค์ง๋ค .
๋ค๋ง Frame Relay ์ ATM ์์๋ ํผ์ก์ ์ต์ ์ด๋์ ๋์ ๋์ญ (CIR) ์ ๋ณด์ฅํด ์ฃผ๋ ๊ธฐ๋ฅ์ ์ ๊ณต .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
LAN + WAN
PSTN,ISDN, X.25, IP,F-R, ATM
์ ์ฉํ์
์ ์ํ์
์ ์ํ์
ํ์ฌ LAN ๊ณผ LAN ํน์ Host ์ Terminal ๊ฐ์ ์ฐ๊ฒฐ์ ์ ์ฉํ์ , PSTN, ISDN, PSDN
(X.25, IP, Frame Relay, ATM Network) ๋ฑ์ ์ด์ฉํ์ฌ ๊ฐ๋ฅํ๋ค .
์ฌ๊ธฐ์์ ์ ์ํ์ ์ด๋ผ๋ ๊ฒ์ ํต์ ์ฌ์ ์์ ๊ตํ๊ธฐ๊น์ง ์ ์ํ ๋ ์ฌ์ฉ๋๋ ํ์ ์ ๋งํ๋ค .
์ ์ฉํ์ ์ ์ ์ํ์ + ์ ์ก๊ตฌ๊ฐํ์ ์ ํฌํจํ ๊ฒ์ด๋ผ๊ณ ํ ์ ์๋ค .
๋คํธ์๊ฐ์ ์ฐ๊ฒฐ๋ ํญ์ DCE ๊ฐ ํ์ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ISDN
S U
T
NTTA
TE1TE2
ISDN
ํต์ ์ฌ์ ์
์ ์ํ์
ISDN ISDN
NT ๋ฅผ ๋ด์ฅํ ๋ผ์ฐํฐ์ ISDN ์ ์
NT ๋ฅผ ๋ด์ฅํ์ง ์์ ๋ผ์ฐํฐ์ ISDN ์ ์
S UU
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
NT : Network Terminator
TA : Terminal Adaptor
TE1 : Terminal Equipment with the Interface T
TE2 : Terminal Equipment with no ISDN Interface
Interface U ๋ ISDN ๋คํธ์๊ณผ NT ์ฌ์ด๋ฅผ ์ง์นญํ๋ ๊ฒ์ด๊ณ , Interface T ๋ NT ์ ISDN ์ ํ๊ธฐ ์ฌ์ด๋ฅผ ์ง์นญํ๋ฉฐ , Interface S ๋ NT ์ TA ์ฌ์ด๋ฅผ ์ง์นญํ๋ค . TA ๋ ํํ ISDN ์นด๋ ํน์ S-Card ๋ผ๊ณ ์ง์นญ๋๋ ๊ฒ์ผ๋ก PC ์ ์ฅ์ฐฉํ์ฌ PC ํต์ ๋ฑ์ ํ ๋ ๋ง์ด ์ด์ฉ๋๋ค .
๋ผ์ฐํฐ์ ๊ฐ์ ์ฅ๋น๋ฅผ ISDN ์ ์ ์ํ๊ณ ์ ํ ๊ฒฝ์ฐ ๋ผ์ฐํฐ์์ NT ๋ฅผ ๋ด์ฅํ๋์ง ์๋๋ฉด NT ๋ฅผ
๋ด์ฅํ์ง ์์๋์ง ์ ํ์ธํด์ผ ํ๋ค . NT ๋ฅผ ๋ด์ฅํ๋ค๋ฉด ๋ณ๋๋ก NT ๋ฅผ ๊ตฌ๋งคํ ํ์์์ด Interface U ์ ์ง์ ๋ผ์ฐํฐ๋ฅผ ์ ์ํ ์ ์์ง๋ง NT ๋ฅผ ๋ด์ฅํ์ง ์์๋ค๋ฉด ๋ณ๋๋ก NT ๋ฅผ ๊ตฌ์ ํ์ฌ Interface U ์ ์ ์ํ ๋ค์ ๋ผ์ฐํฐ๋ฅผ ์ ์ํด์ผ ํ๊ธฐ ๋๋ฌธ์ด๋ค .
NT ๋ฅผ ๋ด์ฅํ ๋ผ์ฐํฐ๋ Interface U ๋ฅผ ์ ๊ณตํ๋ค๊ณ ํ๊ณ , NT ๋ฅผ ๋ด์ฅํ์ง ์์ ๋ผ์ฐํฐ๋ Interface S ๋ฅผ ์ ๊ณตํ๋ค๊ณ ํ๋ค .
Interface U ์ ํํ์ BRI ์ PRI ๋ผ๋ ๊ฒ์ด ์๋๋ฐ BRI ๋ 2B+1D channels ๋ก ๊ตฌ์ฑ์ด ๋์ด ์์ผ๋ฉฐ ,
PRI ๋ 23B + 1D ํน์ 30B+D channels ๋ก ์ด๋ฃจ์ด์ ธ ์๋ค . 23B+1D ๋ ๋ถ๋ฏธ๋ฐฉ์์ผ๋ก T1 ๋ฐฉ์์ ์ ์ฉํ๋ ๊ฒ์ด๊ณ , 30B+1D ๋ ์ ๋ฝ๋ฐฉ์์ผ๋ก E1 ๋ฐฉ์์ ์ ์ฉํ๋ ๊ฒ์ธ๋ฐ , ์์ฆ์ ์ ๋ฝ๋ฐฉ์์ PRI ๋ฅผ ๋ง์ด ์ฑํํ๊ณ ์๋ค .
๊ฐ B channel ์ ๋ฐ์ดํ๊ฐ ์ก์์ ๋ ์ ์๋ channel ๋ก 64Kbps ๋์ญ์ด๋ฉฐ , BRI ๋ 128Kbps (64Kbps
x 2) ๋ก ๋ฐ์ดํ๋ฅผ ์ก์์ ํ ์ ์๊ณ , PRI ๋ 1920Kbps (64Kbps x 30) ๋ก ๋ฐ์ดํ๋ฅผ ์ก์์ ํ ์ ์๋ค . D channe
l ์ ์ ์ด์ ํธ๋ฅผ ๋ณด๋ด๋ channel ๋ก BRI ์ PRI ์ D channel ์ ๊ฐ ๋์ญ์ 16Kbps ์ 64Kbps ์ด๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Network Layer ๋ ์์ (Source) ์์ ๋ถํฐ ๋ชฉ์ ์ง (Destination) ๊น์ง Packet ์ ์ ๋ฌ
Routing protocol ์ Router ๊ฐ์ ๊ฒฝ๋ก๋ฅผ ์ฃผ๊ณ ๋ฐ๋ Protocol
Network Layer & Routing Protocol
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Network Layer ์์๋ packet ์ ๋ชฉ์ ์ง๊น์ง ์ ๋ฌํ๊ธฐ ์ํ ์ต์์ ๊ฒฝ๋ก๋ฅผ ์ ํํ์ฌ ๊ทธ ๊ฒฝ๋ก์ ์ฐ๊ด๋
๋ฌผ๋ฆฌ์ ์ธ Interface ํน์ Port ๋ก ์ ๋ฌํ๋ค .
Packet ์ด ์ ๋ฌ๋ ์ ์๋ ๊ฒฝ๋ก๋ฅผ route ํน์ path ๋ผ๊ณ ํ๋ค . route ํน์ path ์ค์ ๊ฐ์ฅ๋น ๋ฅธ ( ํํ ๋งํ๋ ์ต์์ ) ๊ฒ์ best route ํน์ best path ๋ผ๊ณ ํ๋ค . ์ ๊ทธ๋ฆผ์์ r1 ๊ณผ r2 ๊ฐ์ route ๋ ๋ค์๊ณผ ๊ฐ์
๊ฒ๋ค์ด ์๋๋ฐ ๊ทธ์ค์์ best path ๋ 2,5,6 ์ด๋ค .
1, 3, 6 1, 4, 7 2, 5, 6 2, 5, 7
Packet ์ ๊ฒฝ๋ก๋ฅผ ๋ฐ๋ผ ์ ๋ฌํ๋ ๊ณผ์ ์ routing ์ด๋ผ๊ณ ํ๋ค .
๋ผ์ฐํฐ (router) ๋ routing ๊ธฐ๋ฅ๋ง์ ์ ๋ฌธํํ์ฌ ๋ ๋ฆฝ์ํจ H/W ๋ก ๋ด๋ถ์ routing S/W ๋ฅผ ๋ด์ฅํ๊ณ ์๋ค .
์ธํฐ๋ท์ด ์๋ ์ผ๋ฐ ๋คํธ์ , ๊ฐ๋ น ์ ํ๋ง , X.25 ๋คํธ์ , ATM ๋คํธ์๋ฑ์์๋ ๋ผ์ฐํฐ๋ผ๋ ๋ง๋์ ๊ตํ๊ธฐ
ํน์ Switch ๋ผ๊ณ ํ๋ค .
๋ผ์ฐํฐ๋ routing ๊ธฐ๋ฅ๋ง์ ์ ๋ดํ๋ ๊ฒ์ ์๋๋ค . ์ต์์ ๊ฒฝ๋ก์ ๋ํ ์ ๋ณด๋ฅผ ์ธ์ ํ ๋ผ์ฐํฐ๋ค๊ณผ ๊ฒฝ๋ก์ ๋ณด (Routing Information) ๋ฅผ ๊ตํํ๊ณ ๊ทธ ์ ๋ณด๋ฅผ ์ ์ง , ๊ด๋ฆฌํ๋ ๊ธฐ๋ฅ๋ ๊ฐ์ง๊ณ ์๋ค . ์ด๋ฌํ ๊ธฐ๋ฅ์ ๋ด๋นํ๋ Protocol ์ Routing Information Exchange Protocol ํน์ Routing Protocol ์ด๋ผ๊ณ ํ๋ค . ์ด๋ฌํ ๊ธฐ๋ฅ์ Application Layer ์ ์ํ๋ ๊ธฐ๋ฅ์ด๊ธฐ๋ ํ๋ค .
routed protocol ์ด๋ผ๋ ๊ฒ์ ๋ฐ์ดํ๋ฅผ encapsulation ํด์ ์ ๋ฌํ๊ธฐ ์ํ protocol ๋ก IP, IPX, Appletalk ๋ฑ์ด ์ด์ ํด๋น๋๋ค . routing protocol ์ด๋ผ๋ ๊ฒ์ IP packet, IPX packet, Appletalk packet ๋ฑ์ ์ ๋ฌํ ๋ ๊ฒฝ๋ก์ ๋ณด๋ฅผ ๊ตํ , ๊ด๋ฆฌํ๊ธฐ ์ํ protocol ์ด๋ค . IP ๋ routing protocol ๋ก RIP, IGRP, OSPF, BGP ๋ฑ์ ,
IPX ๋ Novell RIP, NLSP ๋ฑ์ , Appletalk ์ RTMP ๋ฅผ ์ด์ฉํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Addressing & Network Level Routing
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋คํธ์๊ฐ์ packet ์ ์ ๋ฌํ๊ธฐ ์ํด์๋ ๋ชฉ์ ์ง์ ๋ํ Address ๋ฅผ ์ฐธ์กฐํด์ผ ํ๋ค .
Address ๋ ํฌ๊ฒ Network Address ์ Node Address ๋ก ๊ตฌ๋ถํ ์ ์๋ค .
๋์ผ LAN ์ ์๋ ์์คํ ๋ค์ ๊ฐ์ Network Address ๋ฅผ ๊ฐ์ง๋ฉฐ ๋ค๋ง Node Address ๊ฐ ๋ค๋ฅผ ๋ฟ์ด๋ค .
LAN ๊ณผ LAN ์ ์ฐ๊ฒฐํ๋ WAN link ๋ LAN ๊ณผ ๊ฐ์ Network Address ๊ฐ ํ ๋น๋๋ฉฐ , ์ด๋ Node Address ๋ 2 ๊ฐ๋ง ์ด์ฉ๋๊ธฐ๋ ํ๋ค .
IP, IPX, Appletalk ๊ฐ๊ฐ์ ์์ ์ Address ์ฒด๊ณ๋ฅผ ๊ฐ๋๋ฐ ์ด๋ค์ Address ๋ ๋ชจ๋ Network Address ์ Node Address ๋ก ๊ตฌ๋ถ๋๋ค .
IP Address : 32bit ๋ก ๊ตฌ์ฑ๋จ . Network Address ์ Node Address ์ ๊ธธ์ด๊ฐ ๊ฐ๋ณ์ ์
IPX Address : 80bit ๋ก ๊ตฌ์ฑ๋จ . Network Address 32bit, Node Address 48bit ๋ก ๊ตฌ์ฑ๋จ
Appletalk Address : 24bit ๋ก ๊ตฌ์ฑ๋จ . Network Address 16bit, Node Address 8bit ๋ก ๊ตฌ์ฑ๋จ
IP, IPX, Appletalk ์ Routing Protocol ๋ค์ ๋ชจ๋ ๊ฒฝ๋ก๋ฅผ ๊ฒฐ์ ํ ๋ Network Address ๋ง์ ์ฐธ์กฐํ์ฌ ๊ฒฝ๋ก๋ฅผ ๊ฒฐ์ ํจ . ์ด๋ฐ ๊ฒ์ Network-Level Routing ์ด๋ผ๊ณ ํจ
PSTN, X.25, Frame Relay, ATM ๋ฑ์ Network Address ๋ฟ๋ง ์๋๋ผ Node Address ๋ฅผ ์ฐธ์กฐํ์ฌ routing ์ ํด์ฃผ๋๋ฐ ์ด๋ฌํ ๊ฒ์ point-to-point(end-to-end) routing ์ด๋ผ๊ณ ํจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๊ฒฝ๋ก ๊ฒฐ์ ์ํฅ ์์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Bandwidth : 1.5Mbps link(T1) ๋ณด๋ค 45Mbps link(T3) ๋ฅผ ์ด์ฉํ๋ ๊ฒ์ด ์ข๋ค .
Delay : ๊ฐ์ ๊ฑฐ๋ฆฌ์ ๋ํด ํด์ cable 1.5Mbps link ์ delay ๋ 200msec ๋ผ๋ฉด ์์ฑ 45Mbps link ์
delay ๋ 500msec ๊ฐ ๋ ์ ์๋ค . ์ด๋ ๊ฒ์ ์ด์ฉํ๋ ๊ฒ์ด ์ข์๊น ?
Reliability : ๋์ญ๋ ํฌ๊ณ ์ง์ฐ๋ ์์ link ๊ฐ ์๋๋ฐ ํต์ ๋์ค ์์ฃผ ๋์ด์ง๋ค๋ฉด ์ข์ ๊ฒ์ ์๋๋ค .
Load : ๋์ญ๋ ํฌ๊ณ ์ง์ฐ๋ ์๊ณ ์์ ์ฑ๋ ์ข์๋ฐ ๋ถํ๊ฐ ๋๋ฌด ํฌ๋ค๋ฉด ํต์ ์๋๋ ๋๋ ค์ง๋ค .
MTU : ๋ชจ๋ ์กฐ๊ฑด์ด ๋์ผํ๋ค๊ณ ํ ๊ฒฝ์ฐ MTU ๊ฐ ํฐ ๊ฒ์ ์ด์ฉํ๋ ๊ฒ์ด ๋ณด๋ค ๋น ๋ฅด๋ค .
Hop Count : 1 ๊ฐ์ hop ์ ์ง๋ ๋๋ง๋ค ์ง์ฐ์ด ๋ฐ์ํ๋ค . ๋ฐ๋ผ์ hop count ๊ฐ ์์ ๊ฒ์ด ์ข๋ค .
money : ์๋ฌด๋ฆฌ ์ข์ link ๋ผ๋ ๋๋ฌด ๋น์ธ๋ฉด ์ฌ์ฉํ๊ธฐ ๊ณค๋ํ๋ค .
IP Routing Protocol ๋ค์ ๋ค์๊ณผ ๊ฐ์ ๊ฒ์ ๊ฒฝ๋ก๊ฒฐ์ ์์๋ก ์ด์ฉํ๋ค
RIP : hop count
IGRP : Bandwidth, Delay, Reliability, Load, MTU
OSPF : Bandwidth
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Route & Routing Protocol
Dynamic Route VS Static Route
Dynamic Routing Protocol
Distance Vector vs Link State
์ฃผ๊ธฐ์ Update vs ๋ณํ ์ฆ์ Update
Single Protocol vs Multiprotocol
ip,ipx ๋ฅผ ๋์์ฒ๋ฆฌ ๊ฐ๋ฅ vs ๋์์ฒ๋ฆฌ ๋ถ๊ฐ๋ฅ Interior vs Exterior
๋คํธ์ํฌ ๊ทธ๋ฃน๋ด vs ์ธ๋ถ๋คํธ์ํฌ ๊ทธ๋ฃน๊ฐ Single Path vs Multi Path
Cost ๊ฐ ๋ค๋ฅธ link ๋ฅผ ๋์์ ์ด์ฉํ์ง ์์ vs ๋์ ์ด์ฉ Hierarchical vs Flat
๊ณ์ธต์ ์ ๋ณด ๊ตํ vs ๊ณ์ธต์ ์ด์ง ์์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Static Route ๋ ์ผ๋ฐ์ ์ผ๋ก ๋ผ์ฐํฐ์ด์์๊ฐ ์ง์ ์ ๋ ฅํด์ค ๋ชฉ์ ์ง์ ๋ํ ๊ฒฝ๋ก๋ค . Static Route ๋ Dynamic Routing Protocol ์ ์ด์ํ ์ ์๋ ํ๊ฒฝ์ด๋ ์ง ํน์ Dynamic Routing Protocol ์ ์ด์ํ๋
๊ฒ์ด ํ์์๊ฑฐ๋ ๋นํจ์จ์ ์ธ ์ํฉ์ ์ฒํ์ ๋ ์ค์ ํ๋ค . ๋คํธ์์ด ํฌ๊ณ ๋ณํ๊ฐ ์ฆ์ ๋คํธ์์์๋ Static
Route ๊ฐ ์คํ๋ ค ๋นํจ์จ์ ์ผ ์ ์๋ค .
Dynamic Route ๋ Dynamic Routing Protocol ์ ์ํด ์์ง๋ ๋คํธ์์ ๋ณด๋ฅผ ๋ฐํ์ผ๋ก ์ป์ ๋ชฉ์ ์ง์ ๋ํ ๊ฒฝ๋ก๋ฅผ ๋งํ๋ค . ๋คํธ์์ด ํฌ๊ณ ๋ณํ๊ฐ ์ฆ์ ๊ฒฝ์ฐ ํจ์จ์ ์ด๋ ๊ทธ ๋ฐ๋์ธ ๊ฒฝ์ฐ๋ ๋นํจ์จ์ ์ด๋ค .
Interior Gateway Protocol
IP Routing Protocol ์ RIP, IGRP, EIGRP, OSPF ๋ฑ์ด ์ฌ๊ธฐ์ ํด๋นํ๋ค .
Exterior Gateway Protocol
IP Routing Protocol ์ BGP ๊ฐ ์ฌ๊ธฐ์ ํด๋นํ๋ค .
Singlepath Routing Protocol <-> Multipath Routing Protocol
๋ชฉ์ ์ง๋ก ๊ฐ ์ ์๋ ๊ฒฝ๋ก a ์ ๋ํ cost ๊ฐ 100, ๊ฒฝ๋ก b ์ ๋ํ cost ๊ฐ 50 ์ผ ๊ฒฝ์ฐ ๊ฒฝ๋ก b ๋ฅผ best path ๋ก ์ ํํ์ฌ ๋ชจ๋ ํธ๋ํฝ์ ๊ฒฝ๋ก b ๋ง์ ํตํด ์ ๋ฌํ๋ค . ๊ทธ๋ฌ๋ traffic ๋ฅผ ๊ฒฝ๋ก a ์ ๊ฒฝ๋ก b ๋ก ๋ถ์ฐํ๋ ๊ฒ์ด ์ข์์๋ ์๋ค . ์ ์๋ฅผ singlepath routing protocol ์ด๋ผ๊ณ ํ๋ฉฐ , ํ์๋ฅผ multipath routing protocol ์ด๋ผ๊ณ ํ๋ค .
singlepath : RIP, OSPF, BGP multipath : IGRP, EIGRP ๊ฐ์ cost ์ ๋ํ multipath ๋ ๋๋ถ๋ถ ๋ชจ๋ ์ง์ํ๋ค .
OSPF ๋ ๋ผ์ฐํฐ๊ฐ์ Routing Information ๊ตํ์ ์ํ์ฌ ๊ตฌ์กฐ์ ์ธ ์ฐ๊ฒฐ ํํ๋ฅผ ๊ฐ๋๋ค . ๊ทธ๋ฌ๋ RIP ๊ณผ ๊ฐ์ ๊ฒฝ์ฐ๋ ํ๋ฉด์ ์ธ ํํ๋ฅผ ๊ฐ๋๋ค . Flat : RIP, IGRP, EIGRP, BGP Hierarchical : OSPF
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Link State Routing Protocol
Distance Vector Link State
์ธ์ ํ Router ๊ด์ ์ผ๋ก ์ ์ฒด Network ์ ๋ณด๋ฅผ
์ป์
์ธ์ ํ Router ๊ฐ ๊ฐ๊ณ ์๋ Cost ์ ์ธ์ ํ Router ๊น์ง์ Cost ๋ฅผ ๋ํจ
์ฃผ๊ธฐ์ ์ผ๋ก ์ ๋ณด๋ฅผ Update
Convergence time ์ด ๊ธธ๋ค
Routing Table ์ ์ธ์ ํ Router ์๊ฒ ์ ๋ฌ
๊ฐ Router ๊ฐ ์ ์ฒด Network ์ํ๋ฅผ ํ๋จ
์์ ์ด ์ง์ ๋ชฉ์ ์ง๊น์ง์ Cost ๋ฅผ ๊ณ์ฐํจ
๋ณํ์ฆ์ ์ ๋ณด๋ฅผ update
Convergence time ์ด ์งง๋ค
๋ณํ๋ ์ ๋ณด๋ง์ ๋ค๋ฅธ Router ์๊ฒ ์ ๋ฌ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Distance Vector Routing Protocol ์ ๋ฌธ์ ์ ๋ฐ ํด๊ฒฐ์ฑ
๋ฌธ์ ์ : Routing Loop : convergence time ์ฐจ์ด๋ก ์ธํด ๋ฐ์ . ํด๊ฒฐ์ฑ ์ผ๋ก
๋ฌธ์ ์ : Counting to Infinity : routing loop ์ด distance (cost) ๋ฅผ ๋ฌดํํ ์ฆ๊ฐ์ํด
ํด๊ฒฐ์ฑ : distance ์ ํ๊ณ๊ฐ์ ์ ํจ (RIP ์ 16)
ํด๊ฒฐ์ฑ : Split Horizon : ์์ ์ผ๋ก๋ถํฐ ๋ฐ์ํ ์ ๋ณด๋ ๋๋ฐ์ง ์์
ํด๊ฒฐ์ฑ : Route Poisoning : Down ์ฆ์ ํด๋น ๋คํธ์์ ๋ํ distance ๋ฅผ ํ๊ณ๊ฐ์ผ๋ก ์ค์
ํด๊ฒฐ์ฑ : Hold-Down Timers : Down ์ดํ ์ผ์ ์๊ฐ๋์ ๋์ผ์ ๋ณด์ ๋ํ ๋ณ๊ฒฝ์ ๋ฐ์๋ค์ด์ง ์์
Distance Vector Routing Protocol : RIP, IGRP, EIGRP*
Link State Routing Protocol ์ ๋ฌธ์ ์ ๋ฐ ํด๊ฒฐ์ฑ
๋ฌธ์ ์ : unsynchronized update ๋ก ์ธํด ๋์ผ ๋คํธ์์ ๋ํด ๋ค๋ฅธ ๋๊ฐ์ง ์์ ๋ฐ์
๋ฌธ์ ์ : inital flooding ์ผ๋ก ์ธํ link ์ ๋์ญ ๋ฐ CPU ์ฑ๋ฅ ์๋ชจ
ํด๊ฒฐ์ฑ : time stamp, counter ์ด์ฉ
ํด๊ฒฐ์ฑ : ๋น๋ฒํ ๋ณ๊ฒฝ๋๋ ํน์ ๋คํธ์์ ๋ณด๋ฅผ ์ผ์ ์๊ฐ ๋์ ๋ฌด์ . ํน์ ๋ผ์ฐํฐ์๊ฒ๋ง Link State
์ ๋ณด ์ ๋ฌ , ๋คํธ์์ ์์์ญ์ผ๋ก ๋ถ๋ฆฌ , ์์ฝ์ ๋ณด๋ง ์ ๋ฌ๋ ์ ์๋๋ก ํจ
Link State Routing Protocol : OSPF
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router ๊ตฌ์ฑ
RAM
InterfacesLAN Interfaces
(e, t, f)WAN InterfacesWAN Interfaces
(s, hssi)(s, hssi)
ConsoleConsole
AuxiliaryAuxiliary
bootstrap program
IOS(Internetwork OS)์คํ์คํ๋ช ๋ น์ด๋ช ๋ น์ด
programactiveactiveconfig config
filefiletablestables buffersbuffers
NVRAM Flash ROM
backupconfig
file
IOSIOS
bootstrapbootstrapprogramprogram
subsetsubsetIOSIOS
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ROM ์๋ ์๊ธ์ฒ๋ฆฌ๊ธฐ๋ฅ , ๋ถํ ํ๋ก๊ทธ๋จ , ๊ทธ๋ฆฌ๊ณ OS ๊ฐ ์ ์ฅ๋์ด ์๋ค . ๋ถํ ์ bootstrap ์ RAM ์ผ๋ก
load ๋๋ฉฐ , load ๋ bootstrap ์ IOS, backup configuration file ๋ฑ์ RAM ์ผ๋ก load ํ๋ค . ROM ์ boot
strap,
IOS ๋ค์ upgrade ํ๊ธฐ ์ํด์๋ chip ์ ๋์นํ์ฌ์ผ ํ๋ค .
Flash ์ EPROM ์ผ๋ก IOS ๊ฐ ์ ์ฅ๋์ด ์๋ค . ๋ถํ ํ๋ก๊ทธ๋จ์ ๋ถํ ์ Flash ์ ์ ์ฅ๋์ด ์๋ IOS ๋ฅผ
RAM ์ผ๋ก
load ํ๋ค . ์ ์์ด ๋๊ฐ๋ ๋ด์ฉ์ด ์ ์ง๋๋ค . IOS ๋ฅผ ์ฝ๊ฒ upgrade ํ ์ ์๊ฒ ํด์ค๋ค .
NVRAM ์ ๋ผ์ฐํฐ์ configuration file ์ด ์ ์ฅ๋๋๋ฐ ์ ์์ด ๋๊ฐ๋ ๋ด์ฉ์ด ์ ์ง๋๋ค .
RAM ์๋ bootstrap, IOS, configuration file ๋ฑ์ด ์ ์ฅ๋๋ฉฐ , ๋ผ์ฐํฐ๊ฐ ์ด์๋๋ฉด์ ํ์ํ ๋ฐ์ดํ์์ญ์ผ๋ก
ํ์ฉ๋๋ค . routing tables, ARP cache, fast-switching cache, packet buffering, packet hold queue ๋ฅผ ์ํ
๋ฐ์ดํ ์์ญ์ ์ ๊ณตํจ . ์ ์์ด ๋๊ฐ๋ฉด ๋ด์ฉ์ ์์ด๋ฒ๋ฆฐ๋ค .
Interface ๋ packet ์ด ์ง๋๊ฐ๋ ๋ฌผ๋ฆฌ์ ์ธ port ์ด๋ค . Interface ๋ LAN Interface, WAN Interface, Consol
e,
Auxiliary ๋ฑ์ด ์๋ค .
๋ผ์ฐํฐ์ ํ๊ฒฝ ์ค์ ์ configuration file ์ ์กฐ์ ํจ์ผ๋ก์จ ๊ฐ๋ฅํ๋ค . configuration file ์๋ ๊ฐ์ข ํ๊ฒฝ๋ณ์ ๊ฐ๋ฑ๊ณผ Interface ๋ค์ ๋ํ ์ค์ ๊ฐ๋ฑ์ ๊ฐ๊ณ ์์ผ๋ฉฐ , ascii ๋ก ํ์๋๋ค . ๋ผ์ฐํฐ์ด์์๋ ์ฌ๋ฌ๊ฐ์ง
๋ฐฉ๋ฒ์ผ๋ก
configuration file ์ ์กฐ์ ํ ์ ์๋๋ฐ NVRAM ์ ์๋ configuration file ์ ์ง์ ์์ ํ ์๋ ์๊ณ , ์ผ๋จ
RAM ์ ์๋ configuration file ์ ์์ ํ๊ณ ๊ทธ๊ฒ์ NVRAM ์ ์ ์ฅํ๋ ๋ฐฉ๋ฒ์ ์จ์ผ ํ๋ค . ๋ง์ฝ ์ ์ฅํ์ง
์์ผ๋ฉด ์ ์์ด ๋๊ฐ์ ๊ฒฝ์ฐ ์์ ์ฌํญ์ด ๋ฐ์๋์ง ์๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
CISCO Router ํ๊ฒฝ์ค์ ์๋จ
Console ์ด์ฉ (async serial port)
Auxiliary ์ด์ฉ (auxiliary async serial port)
LAN, WAN Interface ๋ฅผ ํตํ virtual terminal ์ด์ฉ (telnet)
TFTP ์๋ฒ๋ฅผ ์ด์ฉ
NMS ๋ฅผ ์ด์ฉ
virtual terminalvirtual terminal
TFTPserver
NMS
console
auxiliary
modem
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Console ์ด๋ Auxilary ๋ ๋ผ์ฐํฐ์์ ์ ๊ณตํ๋ ๋น๋๊ธฐํฌํธ๋ก ์ผ๋ฐ์ ์ผ๋ก ์ด๊ธฐ์ ๋ผ์ฐํฐ ์ค์ ์ ์ด์ฉํ๋ค .
ํน์ ์ ์์ ์ธ ๋์์ผ๋ก ํ๋ค๊ฐ ๋์์ค๋ฅ๋ก configuration file ๋ฑ์ด ์ง์์ก์ ๊ฒฝ์ฐ virtual terminal
์
์ด์ฉํ ์ ์๊ธฐ ๋๋ฌธ์ ๊ทธ๋ ์ด์ฉํ๋ค .
๋ผ์ฐํฐ๊ฐ ์ ์์ ์ผ๋ก ๋์ํ ๋ Telnet ์ ์ด์ฉํด ์ ์ํํ , configuration file ์ ์์ ํ ์ ์๋ค .
Console, Auxiliary, virtual terminal ์ ์ด์ฉํด ์ ์ํ ํ interactive ํ๊ฒ configuration file ์ ์์ ํ
์ ์์ผ๋ฉฐ , ์์ ์ฆ์ ๋ผ์ฐํฐ์ด์์ ์ํฅ์ ๋ฏธ์น๋ค .
TFTP Server ์ configuration ๋ด์ฉ์ ์ ์ฅํํ ๋ผ์ฐํฐ์์ configuration file ์ download ํ๊ฒ
ํจ์ผ๋ก์จ
๋ผ์ฐํฐ๋ฅผ ์ค์ ํ ์ ์๋ค .
TFTP Server ๋ฅผ ์ด์ฉํ ๋ ์ฅ์ ์ ํ Server ๋ด์์ ์ฌ๋ฌ ๋ผ์ฐํฐ์ ํ๊ฒฝ์ ์ง์ค ๊ด๋ฆฌํ ์ ์๋ค๋
๊ฒ์ด๋ค .
NMS ๋ฅผ ์ด์ฉํด configuration file ์ ์กฐ์ ํ ์ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Console ์ ์ด์ฉํ ๋ผ์ฐํฐ ์ ๊ทผ
Router con0 is now available
Press RETURN to get started
User Access VerificationPassword:Router>Router>enablePassword:Router#Router#disableRouter>Router>quit
console
user mode prompt
previledged mode prompt
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router Mode ๋ ๊ถํ์ ๋ฐ๋ผ user mode ์ previledged mode ๋ก ๊ตฌ๋ถ๋ ์ ์๋ค .
user mode ์์๋ Router environment ์กฐํ๋ง ํ ์ ์๋ค .
previledged mode ์์๋ Router environment ์กฐ์ ํ ์ ์๋ค .
console ๋ก ์ง์ ์ ์ํ๋ฉด user mode ๋ก ๋ค์ด๊ฐ๊ธฐ ์ํ password ๋ฅผ ์ ๋ ฅํ์ฌ์ผ ํ๋ฉฐ , password ๊ฐ
๋ง์ ๊ฒฝ์ฐ user mode ๋ก ๋ค์ด๊ฐ๋ค .( user mode ์ prompt ๋ โ >โ ์ผ๋ก ํ์๋๋ค . )
user mode ์์ enable ์ด๋ผ๋ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด previledged mode ๋ก ๋ค์ด๊ฐ๊ธฐ ์ํ ๋น๋ฐ๋ฒํธ๋ฅผ ๋ง๊ฒ ์ ๋ ฅํ์ฌ์ผ ํ๋ค . privileged mode ์ prompt ๋ โ #โ ์ผ๋ก ํ์๋๋ค .
configuration file ์ ์ด๊ธฐ์ค์ ์ด ์ด๋ฃจ์ด์ง์ง ์์๋ค๋ฉด user mode ๋น๋ฐ๋ฒํธ์ privileged mode
๋น๋ฐ๋ฒํธ๋ฅผ
์ ๋ ฅํ์ง ์๊ณ ๋ ๊ฐ mode ๋ก ์ ํํ ์ ์๋ค .
virtual terminal ์ ์ด์ฉํด ์ ์ํํ mode ๋ฅผ ์ ํํ๋ ๋ฐฉ๋ฒ์ console ์ ์ด์ฉํ์๋์ ๋์ผํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router Modes (1)
user modeRouter>
์ ํ๋ ๋ช ๋ น์ด๋ง์ ์ด์ฉ
previledged modeRouter#
๋ชจ๋ ๋ช ๋ น์ด๋ฅผ ์ด์ฉํ ์ ์๊ณ configuration file ์กฐ์ ํ ์ ์์
setup mode
์ด๊ธฐ ํ๊ฒฝ์ค์ previledged mode ์์ ๋ช ๋ น์ด setup ์ ์ ๋ ฅํ๋ฉด ๋จ
RXBOOT mode
๋น๋ฐ๋ฒํธ๋ฅผ ์์ด๋ฒ๋ ธ๊ฑฐ๋ Flash ์ OS ๊ฐ ์ง์์ง๋ ๋ฑ์ ๊ฒฝ์ฐ ์ด์ฉ
global configuration modeRouter(config)#
๋ผ์ฐํฐ์ด์ ์ ์ฒด์ ์ํฅ์ ๋ฏธ์น๋ ์์๋ค์ ์กฐ์ ํ ์ ์์ . ํ์
configuration mode ๋ก ์ ํํ ์ ์์
ํ์ configuration modeRouter(config-???)#
์์ญ๋ณ ํ๊ฒฝ ์ค์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
privileged mode ์์ global configuration mode ๋ก ์ ํํ ์ ์์ผ๋ฉฐ , global configuration mode ์์
ํ์ configuration mode ๋ก ์ ํํ ์ ์๋ค .
setup mode ๋ privileged mode ์์ ์ ํ ๊ฐ๋ฅํ๋ค .
global configuration mode ๋ก ์ ํํ๋ ค๋ฉด privileged mode prompt ์์ ๋ค์๊ณผ ๊ฐ์ด ๋ช ๋ น ์ ๋ ฅํด์ผ ํ๋ค .
Router# configuration terminal (alias : conf t)
ํ์ configuration mode ๋ก ์ ํํ๋ ค๋ฉด global configuration mode prompt ์์ ๋ค์ ๊ฐ์ด ๋ช ๋ น์
์ ๋ ฅํด์ผ ํ๋ค . ์ฌ๊ธฐ์์๋ interface configuration mode ๋ก ๊ฐ๊ธฐ ์ํ ๊ฒ์ ๋ณด์ธ๋ค . ๊ฐ ํ์
configuration mode ์ prompt ๊ฐ ๋ค๋ฅธ ๊ฒ์ ์ฃผ๋ชฉํ์ .
Router(config)# interface serial 0 (alias :int s0)
Router(config-if)#
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ผ์ฐํฐ ์ํ ์กฐํ ๋ช ๋ น์ด
RAM
InterfacesLAN Interfaces
(e, t, f)WAN InterfacesWAN Interfaces
(s, hssi)(s, hssi)
ConsoleConsole
AuxiliaryAuxiliary
bootstrap program
IOS(Internetwork OS)์คํ์คํ๋ช ๋ น์ด๋ช ๋ น์ด
programactiveactiveconfig config
filefiletablestables buffersbuffers
NVRAM Flash ROM
backupconfig
file
IOSIOS
bootstrapbootstrapprogramprogram
subsetsubsetIOSIOS
Router#show version
Router#show process [cpu]Router#show protocols
Router#show running-config
Router#show memoryRouter#show stacksRouter#show buffers
Router#show startup-configRouter#show config
Router#show interface Router#show interface serial 0
Router#show flash
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
show version : h/w configuration, IOS version, bootstrap version, IOS filename, configuration
register ๋ฑ์ ๋ํ ์ ๋ณด๋ฅผ ์ ๊ณตํ๋ค .
show process [cpu] : ํ๋์ค์ธ process ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค
show protocols : Level 3 protocol ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค . global ๋ฐ interface ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค
show running-config : RAM ์ ์๋ configuration file ์ ๋ณด์ฌ์ค . IOS 10.3 ์ดํ์์๋ write terminal
์ ์ด์ฉํ์์
show memory : Memory ์ด์ฉ์ ๋ํ ํต๊ณ๋ฅผ ๋ณด์ฌ์ค
show stacks : stack ์ ์ด์ฉํํฉ์ ๋ณด์ฌ์ค
show buffers : buffer ์ ์ด์ฉํํฉ์ ๋ณด์ฌ์ค
show interface : ๊ฐ interface ์ ๋ํ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค
show flash : flash ์ ๋ด์ฉ์ ๋ณด์ฌ์ค
show starup-config : NVRAM ์ ์๋ configurtaion file ์ ๋ณด์ฌ์ค . show running-config ์ ๊ฒฐ๊ณผ์
๋ด์ฉ์ด ๋ค๋ฅผ ์ ์์ . IOS10.3 ์ดํ์์๋ show config ๋ฅผ
์ด์ฉํ์์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ผ์ฐํฐ์ ํ๊ฒฝ ์ค์ ๋์
global environment interface environment
๋ผ์ฐํฐ ์ด๋ฆ
์ด์์ ๋ชจ๋ ๋น๋ฐ๋ฒํธ
์ด์ฉ์ ๋ชจ๋ ๋น๋ฐ๋ฒํธ
์ง์ํ ๋คํธ์ ํ๋กํ ํด
- IP, IPX, DECnet, AppleTalk ๋ฑ
๋ผ์ฐํ ํ๋กํ ํด
- RIP, IGRP, OSPF, BGP ๋ฑ
๊ธฐํ
๋คํธ์ ํ๋กํ ํด์ ๋ฐ๋ฅธ ๋คํธ์ Address
Serial link Protocol
- HDLC, PPP, X.25, ISDN, Frame-Relay,
ATM ๋ฑ
NOTE ์ด๊ฒ์ ์ธํฐ๋ท์ฐ๊ฒฐ๊ณผ ๊ด๋ จ๋ ์ค์๋ถ๋ถ๋ง์
์ง์ ํ ๊ฒ์ด๋ฉฐ ์ด์ธ์ ๋ค์ํ ๊ฒ์ด ์์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ผ์ฐํฐ ์ด๊ธฐ Setup
Router# setup
setup global parameters
- hostname, enable password, virtual terminal password, routed protocols, ...
setup interface parameters
- enable interface, network address allocation, ....
๊ด๋ จ ๋ช ๋ น์ด
#show startup-config // show config
#show running-config // write term
#erase startup-config // write erase
#reload
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router Booting ์ NVRAM ์ configuration file ์ด ์ ์ฅ๋์ด ์์ง ์์ผ๋ฉด ๊ณง์ฅ setup mode ๋ก ๋ค์ด๊ฐ
๋ค .
๋ช ๋ น์ด setup ๋ฅผ ์ ๋ ฅํ๋ฉด interactive ํ๊ฒ ๋ผ์ฐํฐ๋ฅผ ์ค์ ํ ์ ์๋ค .
setup ์์ ๋ชจ๋ ์ฌํญ์ ๋ค ์ ํํด์ผ ํ๋ ๊ฒ์ ์๋๋ค . ๊ธฐ๋ณธ์ ์ธ ์ฌํญ๋ง ์ค์ ํ๊ณ ์ดํ์ ํ์ํ ์ฌํญ์
๊ฐ๋ณ์ ์ผ๋ก ์ค์ ํ ์ ์๋ค . hostname, enable password, virtual terminal password ๋ฑ๋ง์ ์ ๋ ฅํด
์ฃผ์ด๋ ๋๋ค . ์ด๋ ์ฃผ์ํ ๊ฒ์ ์ ๋ ฅํ enable password ๋ฐ virtual terminal password ๋ฅผ ์์ด๋ฒ๋ฆฌ์ง
์๋๋ก ์ ์ด๋ ๊ฒ์ ๊ถ๊ณ ํ๋ค .
setup ์ผ๋ก ์ค์ ์ ๋ง์น๋ฉด ์ค์ ๋ด์ฉ์ NVRAM ๊ณผ RAM ์ด ๋์์ ์ ์ฅ๋๋ค .
๋ฐ๋ผ์ setup ํ ์ค์ ๊ฒฐ๊ณผ๋ฅผ NVRAM ์ผ๋ก ๋ค์ ์ ์ฅํ ํ์๋ ์๋ค .
erase startup-config ๋ NVRAM ์ ์๋ configuration file ์ ์ง์๋ฒ๋ฆฐ๋ค . ๊ทธ๋ฌ๋ RAM ์ ์๋ ๊ฒ์
์ง์ฐ๋ ๊ฒ์ ์๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Configuration File ์์ ๋ฐฉ๋ฒ
NVRAMNVRAMNVRAMNVRAMRAMRAMRAMRAM
config terminal
show running-config // write term
config memory
copy running-config startup-config
// wirte memory
copy tftp running-config // config net
copy running-config tftp // wirte net
show startup-config// show config
ํ๊ธฐ
erase startup-config// write erase
privileged mode ์์ โ config terminalโ ์ ์ ๋ ฅํ ํ RAM ๋ฐ NVRAM ์ ์๋ configuration file ์
์์ ํ ์ ์์ IOS 10.3 ์ดํ์์๋ // ์ดํ์ ํ์๋ ๋ช ๋ น์ด ์ด์ฉํด์ผ ํจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router Modes (2)
user mode Router>
previledge mode Router#
global config mode Router(config)#
ํ์ config modeinterface Router(config-if)#
enable
config terminal
subinterface Router(config-subif)#controller Router(config-controller)#map-list Router(config-map-list)#map-class Router(config-map-class)#line Router(config-line)#router Router(config-router)#IPX router Router(config-ipx-router)#Route map Router(config-route-map)#
Ctrl-Z
exit
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข Router(config)# interface .........
โข Router(config-if)#
โข Router(config)# router ........
โข Router(config-router)#
โข Router(config)# line ........
โข Router(config-line)#
โข Router(config)# ?
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Password ๋ฐ Router Name ์์ console password
router(config)# line console 0 router(config-line)# password haha router(config-line)# login
virtual terminal password
router(config)# line vty 0 4
router(config-line)# password haha
router(config-line)# login
enable passord
router(config)# enable password hoho
enable password์ ์ํธํ router(config)# service password-encryption
router name
router(config)# hostname smile
login banner smile(config)# banner motd # welcome to smile, in seoul #
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
enable password ๋ console password ์ virtual terminal password ์ ๋ค๋ฅด๊ฒ ํ๋ ๊ฒ์ ๊ถ์ฅํ๋ค .
service password-encryption ์ ์ ์ธํ์ง ์์ผ๋ฉด enable password ๋ฅผ configuration file ์์ ๋ณผ์ ์๋ค .
๋ฐ๋ผ์ service password-encryption ์ ์ ์ธํ ๊ฒ์ ๊ถ์ฅํ๋ค . ๋นํ์ฑํํ๋ ๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ๋ค .
router(config)# no service password-encryption
router name ์ ์ง์ ํ๊ณ ๋๋ฉด prompt ๊ฐ ๋ณ๊ฒฝ๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router Mode ์ Interface Mode ์ Router Mode
router(config)# router rip
router(config-router)# network 164.124.0.0
router(config-router)# network 203.252.15.0
router(config-router)# no network 203.252.15.0
router(config-router)# exit
router(config)# no router rip
router(config)# exit
Interface Mode
router(config)# interface ethernet 0
router(config-if)# ip address 164.124.1.1 255.255.255.0
router(config-if)# no ip address 164.124.1.1 255.255.255.0
router(config-if)# ip address 164.124.2.1 255.255.255.0
router(config-if)# no shutdown
router(config-if)# exit
router(config)#exit
๋ง์ฝ router rip ๋ชจ๋์์ network 203.252.15.0 ์ ์ ์ธํ๋๋ฐ ๊ทธ๊ฒ์ด ์๋ชป๋ ๊ฒ์ด๋ผ๊ณ ํ๋จ๋๋ฉด no ๋ฅผ ์์ ๋ถ์ฌ ๋์ผํ๊ฒ ์ ์ธํ๋ฉด ํด๋น์ฌํญ์ ๋ฌดํจ๊ฐ ๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
global mode ์์ router rip ์ ์ ์ธํ๋๋ฐ router rip ์ ๋ฌดํจํํ๊ณ ์ถ์ผ๋ฉด no router rip ์ด๋ผ๊ณ
์ ์ธํ๋ฉด ๋๋ค .
interface ์๋ network address ๋ฅผ ์ง์ ํ ์ ์๋๋ฐ ์ง์ ์ ์๋ชปํ์ ๊ฒฝ์ฐ๋ ์๋ชป ์ง์ ํ network addr
ess ๋ฅผ no ๋ฅผ ์ด์ฉํ์ฌ ๋ฌดํจํ ํ ์ ์๋ค .
interface ๋ ๊ธฐ๋ณธ์ ์ผ๋ก ์๋ ์ ์ง ์ํ์ธ๋ฐ ์๋์ ์์ํ๊ฒ ํ๋ ค๋ฉด no shutdown ์ด๋ผ๊ณ ์ ๋ ฅํด ์ฃผ๋ฉด
๋๋ค .
์๋์ ์ง๋ฅผ ์ํ๋ฉด shutdown ๋ง์ ์ ๋ ฅํ๋ฉด ๋๋ค .
๋ค์์ router mode ์ ๊ด๋ จ๋์ด ์์ฃผ ์ฌ์ฉํ๋ ๋ช ๋ น์ด๋ฅผ ๋ณด์ธ ๊ฒ์ด๋ค . router rip
router igrp ์์์ ๋ฒํธ router ospf ์์์ ๋ฒํธ router eigrp ์์์ ๋ฒํธ router bgp ์์์ ๋ฒํธ network ์์์ ๋คํธ์์ฃผ์
๋ค์์ interface mode ์ ๊ด๋ จ๋์ด ์์ฃผ ์ฌ์ฉํ๋ ๋ช ๋ น์ด๋ค์ด๋ค . interface ํํ ์ฌ๋กฏ๋ฒํธ / ํฌํธ๋ฒํธ // ์ผ๋ฐ์ ์ธ ํํ interface serial 0
interface serial 1/1
interface ethernet 1
interface hssi 4/1
shutdown
no shutdown
ip address ...........
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
TCP/IP Protocol (Dod Layer)
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Transport
Internet
NetworkInterface
OSI 7 Layer Model
FTP
TCP
IP
NetworkInterface
TELNET
SMTP
DNS
TFTP
SNMP
UDP
ICMPARP RARP
2121 2323 2525 5353 6969 161161
66 1717
TCP/IP Protocol
Port No.
Protocol No.
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
application layer ์ protocol ์๋ HTTP, POP3, NNTP, GOPHER ๋ฑ ๋ค์ํ ๊ฒ๋ค์ด ์๋ค .
transport layer ์ protocol ์๋ TCP ์ UDP ๊ฐ ์์
TCP ๋ connection-oriented ๋ protocol ๋ก application ๊ฐ์ virtual circuit ์ ์ ๊ณตํ ์ ์๋ค .
UDP ๋ connectionless protocol ๋ก ๋ฐ์ดํ์ ๋ฌ์ ์ค๋ฅ๋ฅผ ์ ๊ฒํ์ง ์๋๋ค .
TCP segment ๋ฐ UDP segment ์๋ ์ก์ ์ธก port ๋ฒํธ์ ์์ ์ธก port ๋ฒํธ ํ์๋ฅผ ์ํ ํ๋๊ฐ ์๋ค .
transport layer ์์ application layer ์ port๋ฒํธ๋ฅผ ์ด์ฉํด ํต์ ์ ํ๋ค . ๊ฐ๋ น FTP ์ ์ํ ๋ฐ์ดํ๋ฅผ ์ ๋ฌ๋ฐ์์๋ transport layer ์์๋ port 21๋ฒ์ผ๋ก ํด๋น ๋ฐ์ดํ๋ฅผ ์ ๋ฌํ๋ค .
๊ฐ application protocol ๋ณ๋ก port๋ฒํธ๊ฐ ์ง์ ๋๋ฉฐ ์ด๋ฌํ port๋ฒํธ๋ฅผ well-known port๋ฒํธ๋ผ๊ณ ํ
๋ค .
์ก์ ์ธก์์๋ ์๋๋ฐฉ์ DNS protocol ์ ์ ์์ ์๋ํ ๋ TCP ํน์ UDP segment ์ ์์ ์ธก์ Port ๋ฒํธ
53 ์ ํ์ํ์ฌ ์ ๋ฌํด์ผ ํต์ ์ด ๊ฐ๋ฅํ๋ค . ๊ทธ๋ฌ๋ ์ก์ ์ธก์ Port ๋ฒํธ๋ 53 ์ผ ํ์๋ ์๋ค . ์ผ๋ฐ์ ์ผ๋ก
1024 ๋ฏธ๋ง์ ์์ฝ๋์ด ์์ผ๋ฉฐ , 1024 ์ด์์ ์ด๋๋๊ณ ์์๋ก ์ฌ์ฉํ ์ ์๋ port ๋ฒํธ์ด๋ค .
application protocol ์ ๋ํ port๋ฒํธ๋ ์ ๊ทผ์ ์ ์ดํ๊ธฐ ์ํ ์๋จ์ผ๋ก ์ด์ฉ๋๋ค .
tcp ๋ฐ udp ๋ ์ ๊ทผ์ ์ ์ดํ๊ธฐ ์ํ ์๋จ์ผ๋ก ์ด์ฉ๋๋ค .
Internet Layer ์๋ IP, ICMP, ARP, RARP ๋ฑ์ protocol ์ด ์๋ค .
IP ๋ ๊ธฐ๋ณธ์ ์ผ๋ก connectionless delivery protocol ์ด๋ค . connection-oriented delivery ๋ TCP ์ํด
์ง์๋๋ค .
ip, icmp ๋ ์ ๊ทผ์ ์ ์ดํ๊ธฐ ์ํ ์๋จ์ผ๋ก ์ด์ฉ๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Address(1)
Network (N) Host (H)
8bits 8bits 8bits 8bits
N H H H
N N H H
N N N H
Class A
Class B
Class C
32bits ๊ตฌ์ฑ๋จ . Class A, Class B, Class C ๊ฐ ์์
์ธํฐ๋ท์ ์ํ IP Address ๋ ๊ณต์ธ๊ธฐ๊ด์ผ๋ก๋ถํฐ ํ ๋น๋ฐ์์ผ ํ๋ฉฐ , Network Number ๋ง์
ํ ๋น๋ฐ์
Host Number ๋ ๋คํธ์๊ด๋ฆฌ์๊ฐ ์ํ๋ ๋๋ก ํ์ฉ ๊ฐ๋ฅ
164 124 116 5
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
32bits IP Address ๋ Network Number ๋ถ๋ถ๊ณผ Host Number ๋ถ๋ถ์ผ๋ก ๊ตฌ๋ถํ ์ ์๋๋ฐ ๊ฐ ๋ถ๋ถ์
๊ธธ์ด๊ฐ
๊ฐ๋ณ์ ์ด๋ค . ๊ธฐ๋ณธ์ ์ผ๋ก ์ ์๋ Class ๋ 3 ๊ฐ์ง๊ฐ ์๋๋ฐ Class A, Class B, Class C ์ด๋ค
IP Address ํ ๋น ๊ธฐ๊ด์์๋ Class ๋จ์๋ก Network Number ๋ฅผ ํ ๋นํ๋ค .
IP Address ๋ ๋ค์๊ณผ ๊ฐ์ด 10 ์ง์ 4 ์๋ฆฌ๋ก ํ์๋๋ค .
164.124.116.5
130.1.88.55
203.252.3.1
Class A IP Address ์ธ 60.1.2.3 ์ Network Number ๋ 60 ์ด๋ฉฐ , Host Number ๋ 1.2.3 ์ด๋ค . Host Numb
er ๊ฐ
๋ชจ๋ 0 ์ผ๋ก ํ์๋ 60.0.0.0 ์ ๊ทธ ๋คํธ์์ ๋ํํ๋ ์ฉ๋๋ก ์ด์ฉ๋๋ค .
Class B IP Address ์ธ 164.124.116.5 ์ Network Number ๋ 164.124 ์ด๋ฉฐ , Host Number ๋ 116.5 ์ด๋ค .
Host Number ๊ฐ ๋ชจ๋ 0 ์ผ๋ก ํ์๋ 164.124.0.0 ์ ๊ทธ ๋คํธ์์ ๋ํํ๋ ์ฉ๋๋ก ์ด์ฉ๋๋ค .
Class C IP Address ์ธ 203.252.3.1 ์ Network Number ๋ 203.252.3 ์ด๋ฉฐ , Host Number ๋ 1 ์ด๋ค .
Host Number ๊ฐ ๋ชจ๋ 0 ์ผ๋ก ํ์๋ 203.252.3.0 ์ ๊ทธ ๋คํธ์์ ๋ํํ๋ ์ฉ๋๋ก ์ด์ฉ๋๋ค .
๊ตญ๋ด IP Address ํ ๋น ๊ธฐ๊ด์ KRNIC (http://www.krnic.net/)
์ ์ธ๊ณ IP Address ๊ด๋ฆฌ๋ IANA ์ด๋ฉฐ , ์ค์ ํ ๋น์ Internic ์์ ๋ด๋นํ๊ณ ์์
์ธํฐ๋ท์ ๋คํธ์์ ์ฐ๊ฒฐํ์ง ์์ ๋๋ ๊ณต์ธ๊ธฐ๊ด์ผ๋ก๋ถํฐ IP Address ๋ฅผ ํ ๋น๋ฐ์ ํ์ ์์ .
์์์ IP Address ๋ฅผ ์ด์ฉํ๋ฉด ๋จ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Address(2)
0 N H
1 N H0
1 N H1 0
1 7 24
1 14 161
1 21 81 1
Class A
Class B
Class C
Network # ๊ฐฏ์
Class A
Class B
Class C
1 ๊ฐ์ Network # ๋ด์ ์ด์ฉ๊ฐ๋ฅํ Host Number ์ ์ฒซ 1Byte ์ ์ญ์ง์ ๋ฒ์
1 ~ 126 (126 ๊ฐ )
128.1 ~ 191.254 (32766 ๊ฐ )
192.0.1 ~ 223.255.254.0 (2097150 ๊ฐ )
16777214 ๊ฐ (256^3-2)
65534 ๊ฐ (256^2-2)
254 ๊ฐ (256^1-2)
1 ~ 126
128 ~ 191
192 ~ 223
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
32bit ์ค ์ฒ์ 1bit ์ ๊ฐ์ด 0 ์ธ ๊ฒ์ Class A IP Address ์ด๋ฉฐ , ์ด ๊ฒฝ์ฐ ์ฒซ 1Byte ๋ 1 ~ 126 ์ ๊ฐ์ ๊ฐ๋๋ค .
32bit ์ค ์ฒ์ 2bit ์ ๊ฐ์ด 10 ์ธ ๊ฒ์ Class B IP Address ์ด๋ฉฐ , ์ด ๊ฒฝ์ฐ ์ฒซ 1Byte ๋ 128 ~ 191 ์ ๊ฐ์ ๊ฐ๋๋ค .
32bit ์ค ์ฒ์ 3bit ์ ๊ฐ์ด 110 ์ธ ๊ฒ์ Class C IP Address ์ด๋ฉฐ , ์ด ๊ฒฝ์ฐ ์ฒซ 1Byte ๋ 192 ~ 223 ์ ๊ฐ์ ๊ฐ๋๋ค .
Class ๋ฅผ ๋ํ๋ด๋ Prefix bit ์ ์ ์ธํ Network Number ๋ถ๋ถ์ด ๋ชจ๋ 0 ์ผ๋ก ๋์ด ์๊ฑฐ๋ , 1 ๋ก ๋์ด ์๋
Network Number ๋ ์ด์ฉํ์ง ์๋๋ค .
Network Number 0 ๊ณผ 127
Network Number 128.0 ๊ณผ 191.255
Network Number 192.0.0 ๊ณผ 223.255.255
Host Number ์ค Host Number ๋ถ๋ถ์ ๋ชจ๋ bit ๊ฐ์ด 0 ์ด๊ฑฐ๋ 1 ์ธ ๊ฒ์ ์ด์ฉํ์ง ์๋๋ค .
๋ชจ๋ 0 ์ธ ๊ฒ์ ํด๋น ๋คํธ์์ ๋ํํ๋ Host Number ๋ก ์ด์ฉ๋๋ค .
๋ชจ๋ 1 ์ธ ๊ฒ์ broadcast address ๋ก ์ด์ฉ๋๋ค .
164.124.0.0 ์ broadcast address ๋ 164.124.255.255
203.252.3.0 ์ broadcast address ๋ 203.255.3.255
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Network ๋ณ Network Number ํ ๋น
164.124.1.2
164.124.100.3
164.124.180.5
164.124.0.1
130.1.50.0
130.1.100.10 203.252.3.1
203.252.3.2 203.252.3.3
203.252.2.1
203.252.2.2
LAN, WAN ๋ณ๋ก ๋์ผํ Network
Number ๋ฅผ ์ด์ฉํจ
WAN (serial link) ์์๋ 2 ๊ฐ์ Host Number ๋ง ์ด์ฉํ๋ฉฐ ๋๋จธ์ง๋ ๋ชจ๋ ์ฌ์ฉํ์ง ๋ชปํจ
์์คํ ์ Interface ๋ณ๋ก Host
Number ๋ฅผ ์ด์ฉํจ
netA
netB
netC netD
A
B
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๊ฐ ๋คํธ์๋ณ๋ก ๋ค๋ฅธ Network Number ๋ฅผ ํ ๋นํ์ฌ์ผ ํจ
๊ฐ ๋คํธ์์ ์ ์๋์ด ์๋ ์์คํ ์ Interface ๋ค์ ๋ค๋ฅธ Host Number ๋ฅผ ๊ฐ์ง
ํ ์์คํ ์ด ์ฌ๋ฌ๊ฐ์ Interface ๋ก ๋ค๋ฅธ ์ฌ๋ฌ๊ฐ์ ๋คํธ์์ ์ ์๋์ด ์์ ๊ฒฝ์ฐ ๊ฐ Interface ๋ณ๋ก ๋ค๋ฅธ N
etwork Number ์ Host Number ๋ฅผ ๊ฐ๋๋ค .
๋ผ์ฐํฐ A ๋ Ethernet Interface ์ Serial Interface ๋ฅผ ๊ฐ๋๋ฐ ๊ฐ๊ฐ IP Address 164.124.0.1 ๊ณผ 203.252.2.
1 ์
๊ฐ๊ณ ์๋ค .
serial link ๋ก ์ด๋ฃจ์ด์ง ๋คํธ์์๋ Network Number ์ Host Number ๊ฐ ํ ๋น๋๋ค๋ ์ฌ์ค์ ์ ์ํ์ .
์์คํ ์ด 6 ๊ฐ๋ง ( ๋ผ์ฐํฐ ์ ์ธ ) ์์๋ ์์ ๊ฐ์ด ๋คํธ์์ ๊ตฌ์ฑํด์ผ ํ๋ค๋ฉด ์ ์ด๋ 4 ๊ฐ์ Network Num
ber ๊ฐ
ํ์ํ๋ค . ์ ๊ทธ๋ฆผ์์๋ Class B Network Number 2 ๊ฐ์ Class C Network Number 2 ๊ฐ๊ฐ ์ด์ฉ๋์๋๋ฐ
์ด๊ฒ์ IP Address ์ ์ฌํ ๋ญ๋น๋ฅผ ๋ณด์ฌ์ฃผ๋ ํ ์์ด๋ค .
ํ์ฌ๊น์ง์ ๊ฐ๋ ์ ๋ฐ๋ผ IP Address ๋ฅผ ๋ณด๋ค ํจ์จ์ ์ผ๋ก ์ด์ฉํ๊ณ ์ ํ๋ค๋ฉด Class C Network Number 4
๊ฐ๋ฅผ
์ด์ฉํ๋ ๊ฒ์ด ๋ฐ๋์งํ๋ค . ๊ทธ๋ฌ๋ Class C Network Number 4 ๊ฐ๋ฉด ์ต๋ 1020 ๊ฐ์ ์์คํ ์ ์ ์ํด ์ด์ฉํ
์ ์๋๋ฐ ๊ฒฐ๊ณผ์ ์ผ๋ก ์ฝ 1000 ๊ฐ ์ด์์ Host Number ๋ฅผ ๋ญ๋นํ๊ณ ์๋ ๊ฒ์ด๋ค .
IP Address ์ ํจ์จ์ ์ธ ์ด์ฉ์ ์ํด Subnetting ์ ํ์ฉํ๋ฉด ๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Sub Network Number ํ ๋น
164.124.1.2
164.124.1.3
164.124.1.4
164.124.1.1
164.124.3.2
164.124.3.1 164.124.4.1
164.124.4.2 164.124.4.3
164.124.2.1
164.124.2.2
netA
netB
netC netD
A
B
4 ๊ฐ์ ๋คํธ์์ ์ํด 1 ๊ฐ์ Class
B Network Number 164.124 ๋ง์
์ด์ฉํจ
๋คํธ์๋ณ๋ก ๋ค๋ฅธ Network Number
๋ฅผ ๊ฐ์ ธ์ผ ๋๋ค๋ ๊ฒ๊ณผ ์์ถฉํจ
Subnetmask ๋ก ํด๊ฒฐ
์์คํ ์๊ฐ ์ ์ ๊ฒฝ์ฐ๋ Class C ์
Sub Network Number ๋ฅผ ํ ๋นํ๋
๊ฒ์ด ๋ฐ๋์ง
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
subnetting ์ IP Address ๋ฅผ ํจ์จ์ ์ผ๋ก ์ด์ฉํ ์ ์๋ ๋ฐฉ๋ฒ์ค์ ํ๋๋ค .
subnetting ์ ๋ ๋ค๋ฅธ ์ฅ์ ์ค์ ํ๋๋ traffic ๊ด๋ฆฌ ๋ฐ ์ ์ด๊ฐ ๊ฐ๋ฅํ๋ค๋ ์ ์ด๋ค . ๋ง์ฝ ํ๊ฐ์ ethernet
์ Class B Network Number 164.124 ๊ฐ ํ ๋น๋์ด ์๊ณ ๊ทธ๊ณณ์ 60000 ์ฌ๋์ ์์คํ ์ด ์ ์๋์ด ์๋ค๊ณ ๊ฐ์ ํ์ . ethernet ์ CDMA/CD LAN ์ด๋ฏ๋ก ์ด๋ ์์คํ ์ด frame ์ ์ ๋ฌํ๊ธฐ ์ํด์๋ ๋ง์ ์๊ฐ์ ๋๊ธฐํ์ฌ์ผ ํ ๊ฒ์ด๋ฉฐ , ์ถฉ๋๋ ๋ง์ด ๋ฐ์ํ ๊ฒ์ด๋ค . ๋ฐ๋ผ์ LAN ์ ์ฌ๋ฌ๊ฐ์ ์๋ก์ด LAN ์ผ๋ก
์ฌ๊ตฌ์ฑํ๊ณ sub network number ๋ฅผ ํ ๋นํ๋ฉด ์ด๋ฌํ ์ํฉ์ ๊ฐ์ ํ ์ ์๋ค .
๋ํ subnetting ์ ๋ถํ์ํ broadcasting message ๋ฅผ ์ ํํ ์ ์๋ ์๋จ์ผ๋ก ์ด์ฉ๋๋ค .
๋คํธ์์ด subnetting ๋์์๋ ๊ฐ๊ฐ์ ๋คํธ์์ ๋์ผํ sub network number ๋ฅผ ๊ฐ๋๋ค .
netA ๋ sub network number 164.124.1.0 ์ ๊ฐ๋๋ค .
netB ๋ sub network number 164.124.2.0 ์ ๊ฐ๋๋ค .
netC ๋ sub network number 164.124.3.0 ์ ๊ฐ๋๋ค .
netD ๋ sub network number 164.124.4.0 ์ ๊ฐ๋๋ค .
sub network number ์ธ 164.124.255.0 ์ ์ด์ฉํ์ง ์๋๋ฐ ์ด๊ฒ์ subnetmask ์์ ์ด์ ๋ฅผ ์ ์ ์์
๊ฒ์ด๋ค .
๋ผ์ฐํฐ๋ Network Number ๋ง์ ๊ฐ์ง๊ณ ๋ผ์ฐํ ์ ์ฒ๋ฆฌํด ์ฃผ๋๋ฐ subnetting ์ด์ ์๋ 164.124.0.0 ์
๋ํ ๊ฒฝ๋ก 1 ๊ฐ๋ง์ ๊ฐ์ง๊ณ ์์๋๋ฐ subnnetting ์ดํ์๋ ๊ฐ sub network number ์ ๋ํ ๊ฒฝ๋ก๋ฅผ
๊ฐ์ง๋ค .
subnetting ์ดํ ๋ผ์ฐํฐ A ์ routing table
164.124.1.0 164.124.1.1
164.124.2.0 164.124.2.1
164.124.3.0 164.124.2.2
164.124.4.0 164.124.2.2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Subnetmask
N H H H
N N H H
N N N H
255 0 0 0
255 255 0 0
255 255 255 0
Class AIP Addr
๋ณธ๋netmask
Class BIP Addr
๋ณธ๋netmask
Class CIP Addr
๋ณธ๋netmask
60 1 2 3
60 0 0 0
164 124 116 5
164 124 0 0
203 252 3 1
203 252 3 0
masking
masking
masking
N H H H
N N H H
N N N H
255 255 0 0
255 255 255 0
255 255 255 192
Class AIP Addr
newnetmask
Class BIP Addr
newnetmask
Class CIP Addr
newnetmask
60 1 2 3
60 1 0 0
164 124 116 5
164 124 116 0
203 252 3 66
203 252 3 64
masking
masking
masking
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
netmask ๋ ๋์ํ๋ IP Address ์ค ์ด๋ ๋ถ๋ถ์ Network Number ๋ถ๋ถ์ผ๋ก ํ ๊ฒ์ธ์ง๋ฅผ ์ง์ ํ๋
๊ฒ์ด๋ค . Network Number ์ ํด๋นํ๋ netmask ์ bit ๊ฐ์ 1 ์ด๋ฉฐ Host Number ์ ํด๋นํ๋ netmask
์ bit๊ฐ์ 0 ์ด๋ค .
Class A IP Address ๋ netmask 255.0.0.0 ์ ์ด์ฉํ๋ค .
Class B IP Address ๋ netmask 255.255.0.0 ์ ์ด์ฉํ๋ค .
Class C IP Address ๋ netmask 255.255.255.0 ์ ์ด์ฉํ๋ค .
netmask ๋ฅผ ์ค๋ฅธ์ชฝ์ผ๋ก ์ด๋ํ๋ฉด ์๋ Network Number ์ ์ํ๋ sub network number ๋ฅผ ์ฌ๋ฌ๊ฐ
์์ฑํ ์ ์๋ค . ๊ทธ๋ฌ๋ ๊ฐ sub network number ๋ฅผ ๊ณต์ ํ ์ ์๋ ์์คํ ์๋ ์ ์ด์ง๋ค .
๋ผ์ฐํฐ๋ netmask ์ ๋ณด๋ฅผ ๊ฐ์ง๊ณ ๋ชฉ์ ์ง์ ๋ํ network number ํน์ sub network number ๋ฅผ
์์๋ธ๋ค . netmask ์ ๋ณด๋ฅผ ๊ฐ๊ณ ์์ง ์์๋๋ Class ์ ๋ฐ๋ฅธ ๋ณธ๋ netmask ๋ฅผ ์ ์ฉํ๋ค .
subnetmask bit ์ ๋ฐ๋ฅธ 10 ์ง์ ๊ฐ์ ์๋์ ๊ฐ๋ค .
10000000 128 11000000 192
11100000 224 11110000 240
1111000 248 11111100 252
11111110 254 11111111 255
subnetmask ์ bit๊ฐ 1 ์ด ์ฐ์๋์ด ์ผ์ชฝ์์๋ถํฐ ์ค๋ฅธ์ชฝ์ผ๋ก ์ด๋ํ ํ์๋ ์๋ค . ๊ทธ๋ฌ๋ ์ด์ ๋ค๋ฅด๊ฒ
ํ๋ ๊ฒ์ ๊ถ์ฅํ์ง ์๋๋ค . ์ดํดํ๊ธฐ ์ด๋ ต๊ณ ์๋ฏธ๊ฐ ์๊ธฐ ๋๋ฌธ์ด๋ค .
00001111 (not good)
11000011 (not good)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Subnetting ๊ณํ 10 ๊ฐ์ ๋คํธ์์ด ์์ผ๋ฉฐ , ๊ฐ ๋คํธ์์๋ 6 ๋์ ์์คํ ์ด ์๊ณ , 1 ๊ฐ์ Class C Network Number
203.252.3.0 ์ด ์์๋ ์ด๋ป๊ฒ subnetmask ๋ฅผ ์ ์ฉํ ๊น ?
Class C subnettingsubnetmask No. subnets No. hosts255.255.255.192 2 62255.255.255.224 6 30255.255.255.240 14 14255.255.255.248 30 6255.255.255.252 62 2
Class B subnettingsubnetmask No. subnets No. hosts255.255.192.0 2 16382
~ ~ ~255.255.255.254 126 510
~ ~ ~255.255.255.252 16382 2
203.252.3.0 ์ subnets
203.252.3.16203.252.3.32203.252.3.48~ 203.252.3.192203.252.3.208203.252.3.224์ด 14 ๊ฐ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Basic Network Configuration
130.100.1.1/24
130.120.0.1/16
130.120.0.2/16 130.130.1.1/24130.130.1.2/24
130.130.2.1/24
130.130.2.2/24
130.140.0.1/16
130.140.0.2/16
130.150.0.1/16
130.150.0.2/16
B
A
C
D
E
e1
e0
e0s0
s1
s0
s1
e0 e0
e1
e1
/16 ์ subnetmask ๊ฐ 1bit~16bit ๊น์ง 1 ์์ ์๋ฏธํ๋ฏ๋ก 255.255.0.0 ์ ์๋ฏธ
/24 ์ subnetmask ๊ฐ 1bit~24bit ๊น์ง 1 ์์ ์๋ฏธํ๋ฏ๋ก 255.255.255.0 ์ ์๋ฏธ
e0 ๋ interface ethernet 0 ๋ฅผ ์๋ฏธ , s0 ๋ interface serial 0 ๋ฅผ ์๋ฏธ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
130.120.0.1/16 ์ด๋ผ๋ ๊ฒ์ interface ์ IP Address ๋ก 130.120.0.1 ์ ๊ฐ์ง๋ฉฐ subnetmask ๋ 255.255.0.
0 ์
๊ฐ๋๋ค๋ ๊ฒ์ ์๋ฏธํ๋ค .
130.120.0.1 ์ Class B IP Address ์ด๊ณ Class B IP Address ๋ ๊ธฐ๋ณธ์ ์ผ๋ก netmask 255.255.0.0 ์
๊ฐ์ง๋ฏ๋ก , 130.120.0.0 ์ subnetting ๋์ง ์์๋ค๋ ์ฌ์ค์ ์์ ์๋ค .
130.100.1.1 ์ Class B IP Address ์ด๊ณ ๊ธฐ๋ณธ์ ์ผ๋ก netmask 255.255.0.0 ์ ๊ฐ๋๋ค .
130.100.1.1/24 ๋ subnetmask ๋ก /24 ์ฆ 255.255.255.0 ์ด๋ฏ๋ก subnetting ๋์๋ค๋ ์ฌ์ค์ ์ ์ ์๋ค .
130.100.1.1/24 ๋ subnetwork 30.100.1.0/24 ์ ์ํด ์๋ IP Address ์ด๋ค .
/ ํ์์ ๋์ netmask ์ /8 255.0.0.0
/9 255.128.0.0
/18 255.192.0.0
/24 255.255.255.0
/27 255.255.255.224
/28 255.255.255.240
/29 255.255.255.248
/30 255.255.255.252
interface ์ด๋ฆ์ interface ํํ์ ๋ช๋ฒ์งธ slot ์ ๋ช๋ฒ์งธ port ์ ์ํ๋ ๊ฒ์ธ๊ฐ๋ฅผ ํ์ํ์ฌ ์ง์ ํ๋ค .
์ฆ ์ด๋ค serial interface ๊ฐ 2๋ฒ์งธ slot ์ 3๋ฒ์งธ port ์ ์์นํด ์๋ค๋ฉด ๊ทธ๊ฒ์ serial 1/2 ๋ก ํ์๋๋ค .
์ซ์๊ฐ 1์ฉ ์ ์ ์ด์ ์ 0 ์์๋ถํฐ ์์ํ๊ธฐ ๋๋ฌธ์ด๋ค . serial interface ๋ฅผ ์ํ serial slot ์ด 1 ๊ฐ ๋ฐ์ ์๋ค๋ฉด serial 2 ๋ก ๊ฐ๋จํ ํ์๋๊ธฐ๋ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Address ์ค์
global config mode ์์ ํน์ interface ๋ฅผ ์ง์ ํ ํ IP Address ๋ฐ netmask
์ ๋ ฅ
description ์ ์๋ต๋์ด๋ ๋์ง๋ง ip-address ๋ ๊ผญ ์ง์ ๋์ด์ผ ํจ
shutdown ์ด ์ ์ธ๋์ด ์๋ ๊ฒฝ์ฐ no shutdown ์ ์ ๋ ฅํด์ผ ํจ
Router(config)# interface interface-type [slot/]port
Router(config-if)# description description-for-this-interface
Router(config-if)# ip address ip-address netmask
Router(config-if)# no shutdown
Router(config-if)# Ctrl-Z
Router#
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ผ์ฐํฐ B Interface ์ ๋ํ IP Address ์ค์ ๊ณผ์
Router#config terminal
Router(config)# hostname routerB
routerB(config)# interface ethernet 0
routerB(config-if)# ip address 130.120.0.2 255.255.0.0
routerB(config-if)# no shutdown
routerB(config-if)# exit
routerB(config)# interface serial 0
routerB(config-if)# ip address 130.130.1.1 255.255.255.0
routerB(config-if)# no shutdown
routerB(config-if)# exit
routerB(config)# interface serial 1
routerB(config-if)# ip address 130.130.2.1 255.255.255.0
routerB(config-if)# no shutdown
routerB(config-if)# Ctrl-Z
routerB# wr m
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ํ๊ฒฝ์ค์ ํ์ธ router# show running-config
router# show interface
routerB> sh interface
Ethernet0 is up, line protocol is up
Internet address is 130.120.0.2, subnet mask is 255.255.0.0
Encapsulation ARPA.............
Serial0 is up, line protocol is up
Internet address is 130.130.1.1, subnet mask is 255.255.255.0
Encapsulation HDLC...................
Serial1 is up, line protocol is up
Internet address is 130.130.2.1, subnet mask is 255.255.255.0
Encapsulation HDLC...................
router# show interface ethernet 0
router# show interface serial 0
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ช ๋ น์ด show ๋ ๋ชจ๋ ๋ผ์ฐํฐ์ ์ ๋ณด๋ฅผ ์กฐํํ ์ ์๋ ๋ช ๋ น์ด์ด๋ค .
user mode ๋์์ show ๋ก ์กฐํํ ์ ์๋ ์ ๋ณด๋ ์ ํ๋์ด ์๋ค .
๋ช ๋ น์ด โ show interfaceโ ๋ ๋ผ์ฐํฐ์ ๋ชจ๋ interface ์ ๋ํ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค๋ค .
โshow interfaceโ ์ ๋ํ ์ถ๋ ฅ๊ฒฐ๊ณผ๋ฅผ ์ดํด๋ณด๋ฉด interface mode ์์ ์ค์ ํ IP Address ๋ฐ netmask ๋ฅผ ํ์ธํ ์ ์๋ค .
Interface Ethernet ์ ๋ํ encapsulation ์ ARPA, Interface Serial ์ ๋ํ encapsulation ์ HDLC
์ธ
๊ฒ์ ์ฃผ๋ชฉํ์ . ํนํ Interface Serial ์ ๋ํ encapsulation ์ ๋ณ๋๋ก ์ง์ ํด ์ฃผ์ง ์์ผ๋ฉด CISCO
๋ผ์ฐํฐ์์๋ HDLC ๋ก ์ค์ ๋๋ค .
โshow interfaceโ ์ ์ถ๋ ฅ๊ฒฐ๊ณผ์ค ์ฒซ๋ฒ์งธ ์ค์ด ๊ฐ Interface ์ ๋์์ํ๋ฅผ ๋ณด์ฌ์ฃผ๋๋ฐ ํด์์ ๋ค์๊ณผ ๊ฐ์ด ํ ์ ์๋ค .
Serial0 is up, line protocol is up : ์ ์์ํ
Serial0 is up, line protocol is down : datalink protocol ์ด์ (datalink protocol ์ ๊ฒํ์ )
Serial0 is down, line protocol is down : ๋ฌผ๋ฆฌ์ ์ธ inteface ์ด์ ( ์ฐ๊ฒฐ์ ๊ฒํ์ )
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Data Link Protocol ์ค์
LAN ์ฉ Interface ์๋ ๋ณ๋๋ก data link protocol ์ ์ค์ ํ์ง ์์๋ ๋์ง๋ง WAN ์ฉ Interface ์๋ IP Address ์ ํจ๊ป data link protocol ์ ์ค์ ํด์ผ ํจ
๋์ํ๋ ๋ผ์ฐํฐ์ Interface ์์๋ ๋์ผํ datalink protocol ์ ์ง์ ํด์ผ ํจ
HDLC, PPP, X25, Frame-Relay ๋ฑ์ ์ง์ ํ ์ ์์
CISCO ๋ผ์ฐํฐ์์๋ default ๋ก HDLC ๋ฅผ ์ด์ฉํจ
PPP ๋ ํ์ค์ด๋ฏ๋ก CISCO ์ ํ์ด ์๋ ๋ผ์ฐํฐ์ ์ฐ๊ฒฐํ ๋์๋ PPP ๋ฅผ ์ด์ฉํ ๊ฒ์ ๊ถ์ฅ
Router(config-if)# encapsulation encapsulation-type
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ผ์ฐํฐ B ์ Interface Serial 0 ์ ๋ํ encapsulation ppp ๋ ๋ค์๊ณผ ๊ฐ์ด ์ง์
routerB#config terminal
routerB(config)# interface serial 0
routerB(config-if)# encapsulation ppp
routerB(config-if)# Ctrl-Z
routerB#
๋ผ์ฐํฐ C ์ Interface Serial 0 ์์๋ ๋์ผํ encapsulation ์ ์ง์ ํด์ผ ํจ
routerC#config terminal
routerC(config)# interface serial 0
routerC(config-if)# encapsulation ppp
routerC(config-if)# Ctrl-Z
routerC#
๋ผ์ฐํฐ B ์์ Interface Serial 0 ์ ๋ํ encapsulation ์ด ๋ณ๊ฒฝ๋ ์ฌ์ค์ ๋ค์๊ณผ ๊ฐ์ด ํ์ธ
routerB> show interface serial 0
Serial0 is up, line protocol is up
Internet address is 130.130.1.1, subnet mask is 255.255.255.0
Encapsulation PPP...................
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Network Interface
Hardware
Application
Transport
Internettracetrace
ICMPICMP
telnettelnet
Address ์ค์ ํ์ธ
Network Interface
Hardware
Application
Transport
Internettracetrace
ICMPICMP
telnettelnetโข telnet
โข ping
โข trace
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
telnet ์ application ์ผ๋ก ์๋์ธก์ผ๋ก login ํ ์ ์๋ ๊ธฐ๋ฅ์ด๋ค . ์ฐ๊ฒฐ์ด ์ ์์ ์ผ๋ก ๋์๋ค๋ฉด login
prompt ๋ฅผ ๋ง๋๊ฒ ๋ ๊ฒ์ด๋ค .
๋ผ์ฐํฐ A ์์ ๋ผ์ฐํฐ B ๋ฅผ login ํ ๋
rouerA>telnet 130.120.0.2
ping ์ ICMP ๋ฅผ ์ด์ฉํ๋ ๊ธฐ๋ฅ์ผ๋ก ์ฐ๊ฒฐ์ด ์ ์์ ์ผ๋ก ๋์ด ์์๋ ์๋์ธก์ผ๋ก echo ์ ํธ๋ฅผ ๋ณด๋ด๋ฉด
์๋์ธก์ echo reply ์ ํธ๋ฅผ ๋ณด๋ด์ค๋ค .
๋ผ์ฐํฐ A ์์ ๋ผ์ฐํฐ B ๋ฅผ ping ํ ๋
routerA>ping 130.120.0.2
ping ์๋ simple ping ๊ณผ extended ping ์ด ์์
trace ๋ ๊ฒฝ์ ํ๋ ์์คํ ๋ค์ ๋ํ ์ ๋ณด๋ฅผ ์ถ๋ ฅํด์ฃผ๋ ๊ธฐ๋ฅ์ผ๋ก ์ด๋ ์์คํ ๊น์ง ์ ์์ ์ผ๋ก ์ฐ๊ฒฐ์ด
๋์ด ์๋์ง์ ๋ํ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ฃผ๋ ์ค์ํ ๊ธฐ๋ฅ์ด๋ค .
๋ผ์ฐํฐ A ์์ ๋ผ์ฐํฐ B ๋ฅผ trace ํ ๋
routerA>trace 130.120.0.2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Static Route vs Dynamic Route
Static Routing
Static Route
Default Route
Dynamic Routing
Interior Gateway Protocol
RIP,IGRP(cisco),OSPF,EIGRP(cisco)
Exterior Gateway Protocol
โข BGP
๋ผ์ฐํฐ๋ Static Route ๋ฐ Dynamic Route ๋ฅผ Routing Table ์ ๊ด๋ฆฌ
๋ผ์ฐํฐ๋ ๋์์ ์ฌ๋ฌ ๊ฐ์ Routing Protocol ์ ์ด์ํ ์ ์์
Ip Routing
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Routing Protocol ์ค CISCO ์์๋ง ์ฌ์ฉ๊ฐ๋ฅํ Routing Protocol ์ IGRP, EIGRP ์ด๋ฉฐ , ๋ค๋ฅธ ํ์ฌ์ ๋ผ์ฐํฐ๋ค๊ณผ Rou
ting Information ์ ๊ตํํ๋ ค๋ฉด RIP, OSPF ๋ฑ์ ์ด์ฉํด์ผ ํ๋ค .
routing ๊ณผ routing protocol ์ ํผ๋ํ์ง ๋ง๋๋ก ํ์ . routing ์ IP packet ์ ๋ชฉ์ ์ง๊น์ง ์ ๋ฌํ๋ ๊ณผ์ ์ ์๋ฏธํ๋ฉฐ rou
ting protocol ์ routing information ์ ์ฃผ๊ณ ๋ฐ๊ธฐ ์ํ protocol ์ด๋ค .
๋ผ์ฐํฐ์์ routing protocol ์ ํ์ฑํํด ์ฃผ์ด์ผ ์ธ์ ํ ๋ผ์ฐํฐ๋ค๊ณผ routing information ์ ๊ตํํ๋ค .
๋ผ์ฐํฐ๊ฐ์ routing information ์ ์ฃผ๊ณ ๋ฐ์ผ๋ ค๋ฉด interface serial ์์ ๋์ผํ data link protocol ๋ก encapsulation ์
์ง์ ํ๋ฏ์ด ๋์ผํ routing protocol ์ ์ง์ ํ์ฌ ํ์ฑํํด์ผ ํ๋ค .
๋ผ์ฐํฐ๋ static route ๋ฐ dynamic route ๋ฅผ routing table ์ ๊ด๋ฆฌํ๋ค .
routing table ์๋ ๋ชฉ์ ์ง IP Network Number ์ ๊ทธ์ ๋์ํ๋ route ๊ฐ ์ ์ฅ๋๋๋ฐ route ๋ ํด๋น route ์ IP Addres
s ํน์ route ์ ํด๋นํ๋ Interface ๋ก ํ์๋๊ธฐ๋ ํ๋ค .
๋ผ์ฐํฐ๋ ๋์ผ๋ชฉ์ ์ง์ ๋ํด ์ฌ๋ฌ๊ฐ์ route ์ ๋ณด๋ฅผ ๊ฐ์ง ์ ์๋ค . ๊ทธ๋ฌ๋ routing table ์ ๋์ผ๋ชฉ์ ์ง์ ๋ํ route ๊ฐ
๋ชจ๋ ๋ฑ๋ก๋์ง ์๊ธฐ๋ ํ๋ค .
default route๋ ๋ชฉ์ ์ง IP Network Address ์ ๋ํ route ๊ฐ ์์๋ ํด๋น IP Packet ์ ์ ๋ฌํ route ๋ฅผ ๋งํ๋ค . defau
lt route ๋ ๋๊ฐ ์์ ๋ณด๋ค ๋ง์ route ์ ๋ณด๋ฅผ ๊ฐ์ง๊ณ ์๋ ๋ผ์ฐํฐ์ IP Address ๋ฅผ ์ง์ ํ๋๋ฐ ์ด์ ๋ ์ผ๋จ ๊ทธ ๋ผ์ฐํฐ๋ฅผ I
P Packet ์ ์ ๋ฌํ๋ฉด ๊ทธ ๋ผ์ฐํฐ๊ฐ ํด๋น IP Packet ์ routing ์ํฌ ๊ฐ๋ฅ์ฑ์ด ๋๊ธฐ ๋๋ฌธ์ด๋ค .
default route ๋ dynamic routing protocol ์ ์ด์ํ ๋๋ ์ค์ ํด ์ฃผ๋ ๊ฒ์ด ๋ฐ๋์งํ๋ค
๋ผ์ฐํฐ์ Interface ์ ํ ๋น๋ IP Network Number ์ ๋ํ route ๋ static route ๋ default route ๋ฅผ ์ ์ธํด ์ฃผ์ง ์์๋
routing table ์ ๋ฑ๋ก๋์ด ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Static Route
Route(config)# ip route destination-ip-network[netmask]\{ip-address|interface} [destination]
โข Destination-ip-network : ๋ชฉ์ ์ง IP Network Number
โข netmask : ๋ชฉ์ ์ง IP Nerwork Number ์ ๋ํ netmask
โข ip-address : ํด๋น route ์ ํด๋นํ๋ IP address
โข interface : ํด๋น route ์ ์ ์๋์ด ์๋ interface
โข Default Route
Router(config)#ip default-network ip-address
โข ip-address: ํด๋น route ์ ํด๋นํ๋ IP Address
Static route ์ค์
netmask ๋ ์๋ต์ด ๊ฐ๋ฅํ๋ฐ ์๋ต๋์์ ๊ฒฝ์ฐ Class ์ ๋ฐ๋ฅธ default netmask ๊ฐ ์ ์ฉ๋๋ค .
address ํน์ interface ๋ฅผ ๋ช ์ํ๋ฉด ๋๋ค .
default-network ๋์ 0.0.0.0 0.0.0.0 ์ ์ฃผ๋ก ์ด์ฉํ๋ค .
โข router(config)# ip route 0.0.0.0 0.0.0.0 ..........
Static Route ์ Default Route ์ค์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Advertising ํน์ announcement
Neighbor
Next hop
์ฃผ๊ธฐ์ update
Partial update ๋ฐ full update
Metric factor ๋ฐ metric | cost
Autonomous System Number(AS Number,ASN)
Routing ๊ด๋ จ Keyword(1)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
advertising(announcement) ์ ์์ ์ด ์๊ณ ์๋ routing ์ ๋ณด๋ฅผ ์ธ์ ํ ๋ผ์ฐํฐ์๊ฒ ์ ๋ฌํ๋ ๊ฒ์ด๋ค .
์ด๋ routing ์ ๋ณด๋ฅผ ์ฃผ๊ณ ๋ฐ๋ ๊ด๊ณ์ ์๋ ๋ผ์ฐํฐ๋ฅผ neighbor ๋ผ๊ณ ํ๋ค .
packet ์ด ๋ผ์ฐํฐ A, B, C, D ๋ฅผ ์ง๋ ๋ชฉ์ ์ง์ ๊ฐ๋ ๋ผ์ฐํฐ A ์ ์ฅ์์๋ ํด๋น ๊ฒฝ๋ก์ ๋ํ ๋ค์ ๊ฒฝ์ ์ง๋
๋ผ์ฐํฐ B ์ด๋ค . ์ด๋ ๋ผ์ฐํฐ B ๋ฅผ next hop ์ด๋ผ๊ณ ํ๋ค . ๊ทธ๋ฆฌ๊ณ ๊ฒฝ์ ํ๋ ๋ผ์ฐํฐ์ ์๋ฅผ hop count ๋ผ๊ณ ํ๋ค .
๋ผ์ฐํฐ๋ค์ neighbor ๋ผ์ฐํฐ์ 30์ด ํน์ 90์ด ๊ฐ๊ฒฉ์ผ๋ก ์ ๊ธฐ์ ์ผ๋ก routing ์ ๋ณด๋ฅผ ์ฃผ๊ณ ๋ฐ๋๋ฐ ์ด๋ฌํ ๊ฒ์ ์ฃผ๊ธฐ์ update ๋ผ๊ณ ํ๋ค . ๊ทธ๋ฆฌ๊ณ ์ ๊ธฐ์ ์ธ ์๊ฐ ๊ฐ๊ฒฉ๋ณด๋ค๋ ์ ๋ณด๊ฐ ๋ณํ๋ ๋๋ง๋ค routing ์ ๋ณด๋ฅผ
์ฃผ๊ณ ๋ฐ๋ ํํ๋ฅผ event-triggered update ๋ผ๊ณ ๋ ํ๋ค .
๋ชจ๋ routing ์ ๋ณด๋ฅผ ์ ๋ฌํ๋๋ฐฉ๋ฒ๊ณผ ๋ณํ๋ ์ ๋ณด๋ง์ ์ ๋ฌํ๋ ๋ฐฉ๋ฒ์ด ์๋๋ฐ ์ ์๋ฅผ full update, ํ์๋ฅผ pa
rtial update ๋ผ๊ณ ํ๋ค .
๊ฒฝ๋ก๊ฒฐ์ ์ํฅ์์์๋ Bandwidth, Delay, Reliability, Load, MTU, Hop Count ๋ฑ์ด ์๋๋ฐ ์ด๋ฌํ ๊ฒ์ metri
c factor ๋ผ๊ณ ํ๋ค . ๊ทธ๋ฆฌ๊ณ ์ค์ ์ด๋ค์ ๊ทผ๊ฐ์ผ๋ก ํ์ฌ ํด๋น ๊ฒฝ๋ก์ ๋ํ ๊ฐ์ ๊ตฌํ๋๋ฐ ์ด๋ฅผ cost ( ํน์ met
ric) ์ด๋ผ๊ณ ํ๋ค . cost ๊ฐ ๋ฎ์ ๊ฒฝ๋ก๋ฅผ ์ ํธํ๋ค .
cost = function (metric factors)
RIP ์ metric factor ๋ hop count
IGRP ์ metric factor ๋ bandwidth, delay, reliability, load, MTU
OSPF ์ metric factor ๋ bandwidth
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
EIGRP ์ metric factor ๋ IGRP ์ ๊ทธ๊ฒ๊ณผ ๋์ผ
BGP ์ metric factor ๋ ๋ค์ํ๋ฉฐ cost ๋ฅผ ๊ณ์ฐํ๋ ๊ณผ์ ์ด RIP, IGRP, OSPF, EIGRP ๋ฑ๊ณผ ์ ํ
๋ค๋ฆ AS Number ๋ผ๋ ๊ฒ์ ๋ง ๊ทธ๋๋ก ์์น์์คํ ๋ฒํธ๋ผ๋ ๋ป์ด๋ค . ์ด๊ฒ์ด ์๋ฏธํ๋ ๋ฐ๋ ์ด๋ ํ ์ ์ฑ
๊ด๋ฆฌ์๊ฐ ๋ผ์ฐํ ์ ์ฑ ์ ์์จ์ ์ผ๋ก ์ค์ ํ ์ ์๋ ๋คํธ์์ ๋ํ ๋ฒํธ๋ผ๋ ๋ป์ด๋ค . ๋์ผํ ๋ผ์ฐํ ์ ์ฑ ์
์ด์ฉํ๋ ๋คํธ์๊ทธ๋ฃน์ ๋ํ ๋ฒํธ๋ผ๊ณ ๋ ๋งํ ์ ์๋ค . ์ธํฐ๋ท์ ์ฐ๊ฒฐ๋์ง ์์๋๋ ์์์ AS N
umber ๋ฅผ
์ด์ฉํ๋ฉด ๋์ง๋ง ์ธํฐ๋ท์ ์ฐ๊ฒฐ๋ ๋๋ ์ธํฐ๋ท์ฌ์ ์์ AS Number ๋ฅผ ์ด์ฉํ๊ฑฐ๋ NIC ๋ก๋ถํฐ ๊ณ ์ ํ
AS Number ๋ฅผ ํ ๋น๋ฐ์์ผ ํ๋ค . AS Number ๋ฅผ ์ด์ฉํ๋ Routing Protocol ์๋ IGRP, EIGRP,
BGP ๋ฑ์ด ์๋ค .
Distance ํน์ Administrative distance
Directed connected 0 > static 1 > EIGRP summary 5 > EBGP 20 >
IEIGRP 90 > IGRP 100 > OSPF110 > IS-IS 115 > RIP120 >
EGP 140 > EEIGRP 170 >IBGP 200 >unknown 255
Redistribute
area
summarization ํน์ aggregation
class - oriented routing ๋ฐ classless routing
Routing ๊ด๋ จ Keyword(2)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
administrative distance ๋ฅผ ์ ๋ขฐ๋๋ผ๊ณ ์๊ฐํ๋ฉด ์ดํด๊ฐ ๋น ๋ฅผ ๊ฒ์ด๋ค . ๋ชฉ์ ์ง A ์ ๋ํ ๊ฒฝ๋ก๋ฅผ RIP ์ผ๋ก ๋ถํฐ๋ a1, IGRP ๋ก๋ถํฐ๋ a2, OSPF ๋ก๋ถํฐ๋ a3 ๋ฅผ ๋ฐ์๋ค๋ฉด ์ด๋ค ๊ฒฝ๋ก๋ฅผ ์ ํํด์ผํ ๊น ? ๋จ์ํ cost๊ฐ๋ง์ ๋น๊ตํ์ฌ cost ๊ฐ ์์ ๊ฒฝ๋ก๋ฅผ ์ ํํ ๊น ? RIP, IGRP, OSPF ์ cost ๋ฅผ ๊ณ์ฐํ๋ function ์ ์ ํ ๋ค๋ฅด๋ค .
์ฆ ์ด๋ค๊ฐ์ cost ๋ฅผ ๋น๊ตํ๋ ๊ฒ์ ์๋ฏธ๊ฐ ์๋ค๋ ๋ป์ด๋ค . ๋ฐ๋ผ์ ๋์ผํ ๋ชฉ์ ์ง์ ๋ํ ๊ฒฝ๋ก๋ฅผ ์ฌ๋ฌ routing
protocol ๋ก๋ถํฐ ์ป์์๋ ์ด๋ค์ค ํ๋๋ฅผ ์ ํํด์ผ ํ๋๋ฐ cost ๋ฅผ ๋น๊ตํ๋ ๊ฒ์ด ์๋๋ผ ๊ฐ routing protocol
๋ง๋ค ์ ๋ขฐ๋๋ฅผ ์ ํ์ฌ ์ ๋ขฐ๋๊ฐ ๋์ routing protocol ์ ์ํ ๊ฒฝ๋ก๋ฅผ ์ ํํ๋ค . CISCO ๋ผ์ฐํฐ์์๋ administrative distance ์ ๊ฐ์ด ๋ฎ์์๋ก ์ ๋ขฐ๋๊ฐ ๋๋ค .
RIP ์ ์ด์ฉํ๋ ๋คํธ์๊ณผ IGRP ๋ฅผ ์ด์ฉํ๋ ๋คํธ์์ ์ ์ํ ๊ฒฝ์ฐ๊ฐ ๋ฐ์ํ๋ค . RIP ๊ณผ IGRP ๋ ์๋ก routing
information ์ ๊ตํํ ์ ์๋ค . ์ด๋ redistribution( ์ฌ๋ถ๋ฐฐ ) ์ ํตํด RIP ์ ๋ณด๋ฅผ IGRP ๊ฐ ์์๋ณผ ์ ์๋ ํํ๋ก ,
IGRP ์ ๋ณด๋ฅผ RIP ์ด ์์๋ณผ ์ ์๋ ํํ๋ก ๋ณํํ๋ค .
Link State Routing Protocol ์ initial flooding ์ ํด๊ฒฐํ๊ธฐ ์ํ ํ ๋ฐฉ๋ฒ์ผ๋ก ๋คํธ์์ ์์ ์ฌ๋ฌ๊ฐ์ ์์ญ์ผ๋ก ๋๋์ด routing information ์ ๊ตํํ๊ฒ ํ๋ค๊ณ ํ์๋๋ฐ ๊ทธ ์์ ์์ญ์ area ๋ผ๊ณ ํ๋ค .
OSPF ์์ ์ด์ฉ๋๋ค .
์ผ๋ฐ์ ์ผ๋ก๋ผ์ฐํฐ๋ routing information ์ ์ ๋ฌํ ๋ ๊ฐ class ๋ณ IP Address ์ ๋ํด ๊ฐ route ๋ฅผ ์ ๋ฌํ๋ค .
๊ทธ๋ฐ๋ฐ ์์์ IP Address ์ง๋จ์ด ๋์ผํ route ๋ฅผ ๊ฐ์ง๋ ๊ฒฝ์ฐ๊ฐ ์๋ค . ์ด ๊ฒฝ์ฐ ๊ฐ IP Address ์ ๋ํ ๊ฐ๊ฐ์ route ๋ฅผ ์ ๋ฌํ๋ ๊ฒ์ด ์๋๋ผ ์ฌ๋ฌ ๋ชฉ์ ์ง์ ๋ํ IP Address ๋ฅผ ํ๋๋ก ๋ฌถ๊ณ ์ด๊ฒ์ ๋ํ ํ ๊ฐ์ route ๋ง์ ์ ๋ฌํ๋ค๋ฉด ๋ผ์ฐํฐ๊ฐ์ ๋์ญ๋ญ๋น๋ฅผ ๋ง์์ ์๊ณ , ๋ผ์ฐํฐ์ ๋ฉ๋ชจ๋ฆฌ๋ ์ ์ฝํ ์ ์์ ๊ฒ์ด๋ค .
์ด๋ ๊ฒ ์ฌ๋ฌ ๋ชฉ์ ์ง๋ฅผ ํ๋์ ํํ๋ฐฉ์์ผ๋ก ๋ํ๋ด๋ ๊ฒ์ summarization ํน์ aggregation ์ด๋ผ๊ณ ํ๋ค .
summarization ์ ์ง์ํ๋ routing protocol ์ EIGRP, OSPF, BGP ์ด๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
class-oriented routing ์ด๋ผ๋ ๊ฒ์ class ๋ณ IP Address ์ ๋ํ route ์ ๋ณด๋ง routing information ์ผ๋ก ์ฃผ๊ณ ๋ฐ๋ ๊ฒ์ด๋ค . ๋ผ์ฐํฐ๊ฐ์ subnetwork ์ ๋ํ route ๋ ์ ๋ฌ๋์ง ์๋๋ค . ์ด๋ฌํ ๊ฒ๊ณผ ๋ฐ๋๋๋ ๊ฐ๋ ์ด classless routing ์ด๋ค . ์ฆ subnetwork ์ ๋ํ route ๋ ์ ๋ฌํ๋ค . ์์์ ๋งํ summarization ํน์ aggregation ์ classless routing ์ ์ ์ฉ๋๋ค .
class-oriented routing protocol ์ RIP, IGRP ์ด๋ค .
classless routing protocol ์ EIGRP, OSPF, BGP ์ด๋ค .
Global Configuration
IP routing protocol ์ค์ ํ๋๋ฅผ ์ ํ Routing Update ์ ์ฐธ์ฌํ ์์ ์ Interface ์ ํ ๋น๋ IP Network Address ์ ์ธ
Interface Configuration
IP Address ๋ฐ netmask ์ง์
IP Routing ์ค์ ์ ์ฐจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
global configuration mode ์์ RIP, IGRP, OSPF, EIGRP ์ค ํ๋๋ฅผ ๊ณจ๋ผ routing protocol ๋ก ์ ์ธํ๋ค .
๊ทธ๋ฆฌ๊ณ routing update ์ ์ฐธ์ฌํ ์์ ์ interface ์ ํ ๋น๋ IP network address ๋ค์ ์ ์ธํ๋ค .
๋ผ์ฐํฐ๋ด์์ routing protocol ์ 1 ๊ฐ๋ง ํ์ฑํํ ์ ์๋ ๊ฒ์ ์๋๋ค . ์ฌ๋ฌ๊ฐ๋ฅผ ๋์์ ์ด์ํ ์ ์๋ค . ๋จ ๊ฐ routing protocol ์ ๋ํด ๊ฐ๊ฐ routing update ์ ์ฐธ์ฌํ ์์ ์ interface ์ ํ ๋น๋ IP network
address ๋ค์ ์ ์ธํ๋ค .
์ ๊ทธ๋ฆผ์์ ๋ผ์ฐํฐ A ์์ RIP ์ ํ์ฑํํ๋ค๋ฉด RIP ์ ๋ํด ์ ์ธํ network ์ netA ์ netB ์ด๋ค .
netA ๋ฅผ ์ ์ธํ์ง ์์ผ๋ฉด netA ์ ๋ํ ์ ๋ณด๋ฅผ ๋ผ์ฐํฐ B ์๊ฒ ์ ๋ฌํ์ง ์๋๋ค . ๋ง์ฝ netB ๋ฅผ ์ ์ธํ์ง ์์ผ๋ฉด ๋ผ์ฐํฐ A ๊ฐ ๊ฐ๊ณ ์๋ routing information ์ด ๋ผ์ฐํฐ B ์๊ฒ ์ ๋ฌ๋์ง ์๋๋ค .
routing protocol ์ ํ์ฑํํ๊ณ network ์ ์ ์ธํ๋ ๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ๋ค .
Router(config)# router protocol [parameter]
Router(config-router)# network network-number_1
Router(config-router)# network network-number_2
Router(config-router)# network network-number_n
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router(config)#router rip
Router(config-router)#network network-number
Rip ์ค์ ๋ฐฉ๋ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
RIP ์ RFC1058 ์ ๊ท์ ๋์ด ์๋ค .
RIP ์ BSD UNIX ์ routed ๋ก ์ฒ์ ๋ฐํ๋์์๋ค .
distance vector routing protocol
interior gateway protocol
metric factor ๋ก hopcount ๋ฅผ ์ด์ฉํ๋ฉฐ ๊ฐ๋ฅํ ์ต๋๊ฐ์ 15 ์ด๋ค .
30์ด๋ง๋ค routing information ์ ์ ๋ฌํ๋ค .
cisco ๋ผ์ฐํฐ์์ administrative distance ๋ 120 ์ด๋ค .
routing information ์ ์ฒด๋ฅผ ์ ๋ฌํ๋ full update ๋ฐฉ์ ์ ์ด์ฉํ๋ค .
sing path routing protocol ์ด๋ค .
neighbor ๊ด๊ณ๋ flat ํ ํํ๋ก ๋งบ์ ์ ์๋ค .
class-oriented routing ๋ง์ ์ง์ํ๋ค . ๊ทธ๋ฆฌ๊ณ summarization ์ ์ง์ํ์ง ์๋๋ค .
AS Number ๋ฅผ ํ์๋ก ํ์ง ์๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Rip Define Example
routerA#sh config
router rip
network 130.100.0.0
network 130.120.0.0
routerB#sh config
router rip
network 130.120.0.0
network 130.130.0.0
routerA#sh config
router rip
network 130.130.0.0
network 130.140.0.0
routerA#sh config
router rip
network 130.140.0.0
network 130.150.0.0
routerA#sh config
router rip
network 130.150.0.0
RIP ์ ์ด์ฉํ๋ ๋คํธ์์์ subnetwork number ๊ฐ ๋ถ์ฐ์์ ์ผ๋ก ํ ๋น๋๋ ๊ฒ์ ํผํด์ผ ํ๋ค .
130.130.3.0/24 ๋ฅผ ๋ผ์ฐํฐ D ์ ๋ผ์ฐํฐ E ์ interface ethernet1 ์ ๋ํ network number ๋ก ํ ๋นํ์ง ์์์ผ ํ๋ค .
๋ผ์ฐํฐ B ์์ network number ๋ก 130.130.1.0, 130.130.2.0 ์ ๊ฐ๊ฐ ๋ฐ๋ก ์ ์ธํ์ง ์์๋ค . ์ด์ ๋ ์ด๋ค์ class network number ์ธ 130.130.0.0 ์ subnetwork number ๊ธฐ ๋๋ฌธ์ด๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
router A# sh ip protocolRouting Protocol is "rip" Sending updates every 30 seconds, next due in 1 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Routing for Networks: 192.132.247.0 Routing Information Sources: Gateway Distance Last Update 192.132.247.1 120 0:00:01 Distance: (default is 120)
Sending updates every 30 seconds, next due in 1 seconds
rip ์ 30์ด๋ง๋ค routing information ์ ์ ๋ฌํ๋ค๋ ๊ฒ์ ์ ์ ์์ผ๋ฉฐ , ํ์ฌ ๋ค์๊น์ง๋ 1
์ด๊ฐ
๋จ์๋ค๋ ์ฌ์ค์ ์ ์ ์๋ค . Invalid after 180 seconds, hold down 180, flushed after 240
rip ์ ์ด๋ ๋ชฉ์ ์ง์ ๋ํ route ๊ฐ 180์ด ๋์ ์ ๋ฌ๋์ง ์์ผ๋ฉด ํด๋น ๋ชฉ์ ์ง๋ ๋ค๋ค๋ฅผ์ ์๋ค๊ณ
ํ๋จํ๋ค . Outgoing update filter list for all interfaces is not set
Rip ๋์ํ์ธ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Routing for Networks:
130.100.0.0 130.120.0.0
routing update ์ ์ฐธ์ฌํ๋ network number ๊ฐ ๋ํ๋๋ค .
Routing Information Sources: Gateway Distance Last Update
routing information ์ ์ฃผ๊ณ ๋ฐ๋ ๋ผ์ฐํฐ์ ๋ํ ์ ๋ณด๊ฐ ๋ํ๋๋ค .
Distance: (default is 120)
rip ์ administrative distance ๋ 120 ์ด๋ค .
rip ์ administrative distance ๋ฅผ ๋ณ๊ฒฝ์ํฌ ์ ์๋ค .
โข router rip
โข distance 100
- rip ์ administrative distance ๋ฅผ 100 ์ผ๋ก ๋ณ๊ฒฝํ ๊ฒฐ๊ณผ
Incoming update filter list for all interfaces is not set
distribute-list ๊ฐ ์ ์๋์ด ์์ง ์์์์ ๋ํ๋ธ๋ค . distribute-list ๋ in, out ๋ ๊ฐ์ง ๋ฐฉํฅ์ผ๋ก
์ ์ฉ๊ฐ๋ฅํ๋ค
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
router E# sh ip route
R 130.130.0.0/16[120/2]via 139.150.0.1 00:00:06,Ethernet 1:[120/2] ์์ 120 ์ Administrative distance
2 ๋ hop count
R 130.140.0.0/16[120/1]via 139.150.0.1 00:00:06,Ethernet 1
C 130.150.0.0/16 is directly connected Ethernet1
R 130.100.0.0/16[120/4]via 139.150.0.1 00:00:06,Ethernet 1
R 130.120.0.0/16[120/3]via 139.150.0.1 00:00:06,Ethernet 1
router E# sh ip route 130.130.0.0 : ํด๋น Record ์ ๋ํ ์ ๋ณด๋ฅผ ๋ณด๋ค ์์ธํ ๋ณด์ฌ์ค๋ค .
router E# sh ip route static : static routing information ์ ํด๋นํ๋ routing table ์ record ๋ค๋ง ๋ณด์ฌ์ค
router E# sh ip route rip
router E# sh ip route igrp
router E# sh ip route eigrp
router E# sh ip route ospf
router E# sh ip route bgp
router E ๋ 130.130.0.0 ์ ๋ํ route 130.150.0.1(router D) ๋ก ๋ถํฐ ์ ๋ฌ ๋ฐ์์ผ๋ฉฐ ,router D ๋ฅผ ๊ฐ๋ ค๋ฉด ์์ ์ interface ethernet 1 ์ ํตํ๋ฉด ๊ฐ ์ ์๋ค .
Routing Table ์กฐํ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router(config)#router igrp as-number
Router(config-router)#network-number
IGRP ์ค์ ๋ฐฉ๋ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IGRP ๋ cisco ์ฌ์์ ๊ฐ๋ฐํ ๊ฒ์ .
distance vector routing protocol
interior gateway protocol
metric factor ๋ก bandwidth, delay, reliability, load, mtu ๋ฅผ ์ด์ฉํ๋ค .
90์ด๋ง๋ค routing information ์ ์ ๋ฌํ๋ค . ์ถ๊ฐ์ ์ผ๋ก ๋คํธ์์ ๋ณํ๋ฅผ ์ธ์งํ์ ๊ฒฝ์ฐ ์ด๋ฅผ ์ธ์ ํ ๋ผ์ฐํฐ์๊ฒ ์ฆ์ ์ ๋ฌํด ์ค๋ค . ์ด๋ฐ ๊ฒ์ Flash Update ๋ผ๊ณ ํ๋ค . ์ด๋ฌํ ํน์ฑ๋๋ฌธ์ convergenc
e time ์ด rip ๋ณด๋ค ๋น ๋ฅด๋ค .
cisco ๋ผ์ฐํฐ์์ administrative distance ๋ 100 ์ด๋ค .
routing information ์ ์ฒด๋ฅผ ์ ๋ฌํ๋ full update ๋ฐฉ์์ ์ด์ฉํ๋ค .
multi path routing protocol ์ด๋ค . ๊ทธ๋ ์ง๋ง ๊ธฐ๋ณธ์ ์ผ๋ก single path routing ์ผ๋ก ์ค์ ๋์ด ์์ผ๋ฏ๋ก mu
lti path routing ์ ํ ์ ์๋๋ก ์ค์ ํด์ฃผ์ด์ผ ํ๋ค .
neighbor ๊ด๊ณ๋ flat ํ ํํ๋ก ๋งบ์ ์ ์๋ค .
class-oriented routing ๋ง์ ์ง์ํ๋ค . ๊ทธ๋ฆฌ๊ณ summarization ์ ์ง์ํ์ง ์๋๋ค .
AS Number ๋ฅผ ํ์๋ก ํ๋ค . AS Number ๊ฐ ๋์ผํ ๋ผ์ฐํฐ๋ผ๋ฆฌ๋ง IGRP routing information ์ ๊ตํํ
๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IGRP Configuration Example
Router A#sh config
router igrp 100
network 130.100.0.0
network 130.120.0.0
Router B#sh config
router igrp 100
network 130.120.0.0
network 130.130.0.0
Router A#sh config
router igrp 100
network 130.130.0.0
network 130.140.0.0
Router A#sh config
router igrp 100
network 130.140.0.0
network 130.150.0.0
Router A#sh config
router igrp 100
network 130.150.0.0
network 130.120.0.0
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
AS Number ๋ฅผ ์ง์ ํ๋ ๊ฒ ์ด์ธ์๋ ๋ชจ๋ ๋ด์ฉ์ด RIP ์ ์ค์ ํ๋ ๋ฐฉ๋ฒ๊ณผ ๋์ผํ๋ค .
IGRP ์ cost ๋ฅผ ๊ณ์ฐํ๋ ๋ฐฉ์์ ๋ค์๊ณผ ๊ฐ๋ค .
Cost = [ K1 * Bandwidthโ + (K2 * Bandwidthโ) / (256 - Load) + K3 * Delay] *
[K5 / (Reliability + K4) ]
(K1, K2, K3, K4, K5 ๋ ์์๊ฐ )
cisco ๋ผ์ฐํฐ์์๋ ๊ธฐ๋ณธ์ ์ผ๋ก K1 == K3 ==1, K2 == K4 == K ==0 ์ผ๋ก ์ค์ ๋์ด ์์ด cost ๋ฅผ ๊ณ์ฐํ๋
๋ฐฉ์์ ๋ค์๊ณผ ๊ฐ์ด ๊ฐ๋ตํ๋๋ค .
Cost = K1 * Bandwidthโ + K3 * Delay
cisco ์์ ํต์ ๋งค์ฒด (LAN ๋งค์ฒด , WAN ๋งค์ฒด ) ์ ๋ฐ๋ผ ์ ์ํ๊ณ ์๋ Bandwidthโ ์ Delay๊ฐ์ ๋ค์๊ณผ
๊ฐ๋ค .
ํต์ ๋งค์ฒด Delay Bandwidthโ
์์ฑํ์ 2์ด 20 (500Mbps)
Ethernet 100 1,000
1.5Mbps 2,000 (20msec) 6,476
64Kbps 2,000 156,250
56Kbps 2,000 178,571
10Kbps 2,000 1,000,000
1Kbps 2,000 10,000,000
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Bandwidthโ = 10,000,000 / ? Kbps
metric factor ์ bandwidthโ ๋ ์ฐ๋ฆฌ๊ฐ ๋ณดํต ์๊ณ ์๋ bandwidth ์ ๋ค๋ฅด๋ค๋ ๊ฒ์ ์ฃผ์
๊ทธ๋ฌ๋ interface ์ bandwidth ๋ฅผ ์ง์ ํ ๋๋ ์ฐ๋ฆฌ๊ฐ ๋ณดํต ์๊ณ ์๋ ์๋ฏธ์ bandwidth ๋ฅผ Kbps ๋จ์๋ก ์ง์ ํ ๊ฒ
๋ผ์ฐํฐ์ interface serial ์ ๋ํ default bandwidth ๋ 1.5Mbps ๋ก ์ง์ ๋์ด ์์ผ๋ฏ๋ก ๋ฐ๋ฅธ cost
๊ณ์ฐ์ ์ํด์๋ bandwidth ๋ฅผ ์ง์ ํด์ผ ํจ
Router(config-if)# bandwidth 56
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
router C# sh ip ro igrp
I 130.100.0.0 [100/86 76] via 130.130.1.1 ,00:00:02,serial 0
[100/8676]via 130.130.2.1 00:00:02,serial 1
I 130.100.0.0 [100/85 76] via 130.130.1.1 ,00:00:02,serial 0
[100/85 76]via 130.130.2.1 00:00:02,serial 1
โฆโฆโฆโฆโฆโฆโฆ
router E# sh ip ro igrp
I 130.130.0.0/16 [100/8676]via 130.150.0.1,00:00:03 Ethernet 1
I 130.130.0.0/16 [100/8676]via 130.150.0.1,00:00:03 Ethernet 1
I 130.130.0.0/16 [100/8676]via 130.150.0.1,00:00:03 Ethernet 1
I 130.130.0.0/16 [100/8676]via 130.150.0.1,00:00:03 Ethernet 1
IGRP Routing Table ํ์ธ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
routerC ๋ 130.100.0.0 ๊ณผ 130.120.0.0 ์ ๋ํด ๊ฐ๊ฐ 2 ๊ฐ์ route ๋ฅผ ๊ฐ๊ณ ์๋ค . ๊ทธ๋ฆฌ๊ณ ๋ ๊ฒฝ๋ก์
metric factor ๊ฐ ๋ชจ๋ ๋์ผํ๋ฏ๋ก ๊ฐ์ cost 8676 ์ ๊ฐ๋๋ค .
routerE ๋ 130.100.0.0 ๊ณผ 130.120.0.0 ์ ๋ํด 1 ๊ฐ์ route ๋ฅผ ๊ฐ๊ณ ์๋ค . routerE ๋ routerC ๊ฐ
๋๊ฐ์ ๊ฒฝ๋ก๋ฅผ ๊ฐ๊ณ ์๋์ง ๋ชจ๋ฅธ๋ค .
IGRP ์์ Bandwidth ๋ ๊ฒฝ์ ํ๋ ํต์ ๋งค์ฑ์ Bandwidth ๊ฐ์ค ๊ฐ์ฅ ํฐ ๊ฐ์ ์ ํํ๋ฉฐ , Delay ๋
๊ฑฐ์ณ๊ฐ๋ ํต์ ๋งค์ฒด์ Delay ๋ฅผ ๋ชจ๋ ๋ํ ๊ฐ์ ์ด์ฉํ๋ค .
Bandwidth = Max (Bandwidth1, Bandwidth2, ..., Bandwidth_n)
Delay = SUM (Delay1, Delay2, ..., Delay_n)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Router B# sh config
router igrp 100
network 130.120.0.0
network 130.130.0.0
variance 4
traffic-shared balanced
interface serial 0
bandwidth 512
router B# sh ip route igrp
I 130.140.0.0[100/21631]โฆ.,serial0
[100/8576]โฆโฆ,serial1
Router C# sh config
router igrp 100
network 130.130.0.0
network 130.140.0.0
variance 4
traffic-shared balanced
interface serial 0
bandwidth 512
router B# sh ip route igrp
I 130.120.0.0[100/21631]โฆ.,serial0
[100/8576]โฆโฆ,serial1
Serial Link ์์์ load balance
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ง์ฝ routerB ์ interface serial 0 ์ ๋ํ bandwidth ๋ง 512 ๋ก ์ง์ ํ์๋ค๋ฉด 130.140.0.0 ์ ๋ํ
route ๋ serial 1 ์ผ๋ก 1 ๊ฐ๋ง ๋ํ๋ ๊ฒ์ด๋ค . ์๋ํ๋ฉด cost ๊ฐ ์์ route ๋ง routing table ์ ๋ฑ๋ก๋๊ธฐ
๋๋ฌธ์ด๋ค . ๊ทธ๋ฌ๋ variance ๋ฅผ ์ ์ธํจ์ผ๋ก์จ cost ๊ฐ ๋ ๋ง์ route ๋ routing table ์ ๋ฑ๋ก๋๊ฒ ํ ์ ์๋ค .
variance ๋ ์ด๋ฌํ cost ์๋ช๋ฐฐ์๋ฒ์์ ์๋ route ๋ ๋ฑ๋กํ ๊ฒ์ธ์ง๋ฅผ ์ง์ ํ๋ ๋ช ๋ น์ด์ด๋ค . ์ ์ธํ์ง
์์ผ๋ฉด ์ฆ default ๋ก๋ 1 ์ด๋ค .
variance ๋ฅผ 4 ๋ก ์ ์ธํ์๋ route ์ ๋ํ cost ๊ฐ 4๋ฐฐ ์ด์ ์ฐจ์ด๊ฐ ๋๋ฉด cost ๊ฐ ํฐ route ๋ routing
table ์
๋ฑ๋ก๋์ง ์๋๋ค .
IGRP ๋ ๋์ผ๋ชฉ์ ์ง์ ๋ํด cost ๊ฐ ๋ค๋ฅธ route ๋ฅผ ์ต๋ 4 ๊ฐ๊น์ง ์ง์ํ๋ค .
traffic-shared balanced ๋ ํธ๋ํฝ์ cost ๋น์จ์ ๋ฐ๋ผ ๋ฐ๋น๋กํ์ฌ ์ ๋ฌํ๋ผ๋ ๋ป์ด๋ค . 1.544Mbps ํ์ ๊ณผ
512Kbps ํ์ ์ ๋ํ cost ๋ ์ฝ 3๋ฐฐ์ฐจ์ด๊ฐ ๋๋ฏ๋ก 4 ๊ฐ์ packet ์ด ์์ ๊ฒฝ์ฐ 1.544Mbps ํ์ ์ผ๋ก 3๊ฐ ,
512Kbps ํ์ ์ผ๋ก 1 ๊ฐ๋ฅผ ๋ณด๋ธ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ค๋ฅธ Routing Protocol ์ Routing Table ์ ๊ตํํ๋ ๋ฐฉ๋ฒ
AS Number ๊ฐ ๋ค๋ฅธ ๋คํธ์ํฌ ๊ฐ์ Routing Table ์ ๊ตํํ๋ ๋ฐฉ๋ฒ
์ผ๋ฐ์ ์ผ๋ก ์ฌ๋ฌ ๋คํธ์ํฌ์ ์ ์๋์ด ์ฌ๋ฌ ๊ฐ์ Routing Protocol ์ ์ด์ํ๋ ๋ผ์ฐํฐ๊ฐ ์ฌ๋ถ๋ฐฐ๋ฅผ ๋ด๋น
Routing Protocol A ์ Routing Table ์ Routing Protocol B ๋ก ์ฌ๋ถ๋ฐฐํ ๋ Routing Protocol B ์
metric factor ๋ cost ๋ฅผ ์ง์ ํด ์ฃผ์ด์ผ ํจ
Redistribution
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
ASN ์ด ๋ค๋ฅธ IGRP ๊ฐ์ Redistribution
AS 100
130.100.0.0
130.120.0.0
130.130.0.0
AS 100
130.140.0.0
130.150.0.0
routerA#sh config
router igrp 100
network 130.100.0.0
network 130.120.0.0
router B#sh config
router igrp 100
network 130.120.0.0
network 130.130.0.0
routerD#sh config
router igrp 200
network 130.140.0.0
network 130.150.0.0
router E#sh config
router igrp 200
network 130.150.0.0
routerC#sh config
router igrp 200
network 130.130.0.0
redistribute igrp 200
router igrp 200
network 130.140.0.0
redistribute igrp 100
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
routerC ์์๋ igrp ๋ฅผ AS100 ๊ณผ AS200 ์ ๋ํด ๊ฐ๊ฐ ํ์ฑํํ์๋ค .
router igrp 100 ์ โ redistribute igrp 200โ ์ AS200 ์ ์ํด์๋ ๋คํธ์์ ๋ํ route information ์
AS100 ์ routing table ๋ก ์ ๋ฌํ๋ค .
router igrp 200 ์ โ redistribute igrp 100โ ์ ์ ์ธํ์ง ์์ผ๋ฉด AS200 ์ ์๋ ๋ผ์ฐํฐ๋ค์ AS100 ์ ์ํ ๋คํธ์์ ๋ํ route information ์ ์ ๋ฌ๋ฐ์ง ๋ชปํ๊ฒ ๋๋ค .
igrp ๊ฐ์ ์ฌ๋ถ๋ฐฐ์์๋ metric factor ๋ฅผ ์ ์ธํด ์ฃผ์ง ์์๋ ๋๋ค .
์ด๋ค routing protocol ์ ์ํ route information ์ igrp ๋ก ์ฌ๋ถ๋ฐฐํ ๋ metric factor ๋ฅผ ์ ์ธํด ์ฃผ์ด์ผ ํ๋๋ฐ
๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ๋ค .
router igrp as-number
redistribute any-protocol [parameters]
default-metric bandwidth delay reliability load mtu
bandwidth ๋ ํ์ ์ ๋์ญ์ Kbps ๋จ์๋ก ํ์ํ๋ฉด ๋๋ค .
delay ๋ โ IGRP ์ค์ ์โ์ ์ค๋ช ๋ถ๋ถ์ ์ฐธ์กฐ reliability ๋ 1 ์์ 255 ๊น์ง๋ก ๋์์๋ก ์ ๋ขฐ๋๊ฐ ๋๋ค .
load ๋ 1 ์์๋ถํฐ 255 ๊น์ง๋ก 1 ์ผ ๊ฒฝ์ฐ load ๊ฐ ๊ฐ์ฅ ๋ฎ์ ๊ฒ์ ์๋ฏธํ๋ค .
์๋ ๋ค์๊ณผ ๊ฐ๋ค .
router igrp 200
redistribute igrp 100
default-metric 1544 2000 255 1 1500
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Rip ๊ณผ IGRP ๊ฐ์ ์ฌ๋ถ๋ฐฐ
RIP
130.100.0.0
130.120.0.0
130.130.0.0
IGRP AS200
130.140.0.0
130.150.0.0
routerA#sh config
router igrp 100
network 130.100.0.0
network 130.120.0.0
router B#sh config
router igrp 100
network 130.120.0.0
network 130.130.0.0
routerD#sh config
router igrp 200
network 130.140.0.0
network 130.150.0.0
router E#sh config
router igrp 200
network 130.150.0.0
routerC#sh config
router rip
network 130.130.0.0
redistribute igrp 200
default-metric 3
router igrp 200
network 130.140.0.0
redistribute rip
default-metric 10000 100 255 1 1500
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
routerC ์์๋ rip ๊ณผ igrp ๋ฅผ ๊ฐ๊ฐ ํ์ฑํํ์๋ค .
router igrp 200 ์์ rip ์ igrp ๋ก ์ฌ๋ถ๋ฐฐํ ๋ default-metric ์ ์ค์ ํ๋ ๊ฒ์ โ ASN ์ด ๋ค๋ฅธ IGRP
๊ฐ์
์ฌ๋ถ๋ฐฐโ์์ ์ด๋ฏธ ์ค๋ช ํ์๋ค . igrp ๊ฐ ์๋ routing protocol ์ igrp ๋ก ์ฌ๋ถ๋ฐฐํ ๋๋ ๋ฐ๋์ defau
lt-metric ์ ์ง์ ํด์ผ ํ๋ค .
router rip ์์ igrp 200 ์ rip ์ผ๋ก ์ฌ๋ถ๋ฐฐํ ๋ default-metric ์ ์ง์ ํ์๋ค . rip ์ผ๋ก ์ฌ๋ถ๋ฐฐํ ๋ default-metric ์ 1 ๊ฐ๋ง ์ฃผ๋ฉด ๋๋ฉฐ , hop count ๋ฅผ ์ง์ ํ๋ฉด ๋๋ค . ์์์ hop count ๋ฅผ 3 ์ผ๋ก ํ
์ด์ ๋
๋ผ์ฐํฐ C ์ ์ฅ์์ AS200 ์ ์๋ ๋ชจ๋ ๋คํธ์์ hop count 3 ์ด๋ด์ ์๊ธฐ ๋๋ฌธ์ด๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Access List
์ํ์ง ์๋ ํธ๋ํฝ์ด ๋คํธ์ํฌ๋ฅผ ๊ฒฝ์ ํ๊ฑฐ๋ ์ ๊ทผํ ์ ์๋๋ฐ ์ด๊ฒ์ ์ฐจ๋จํ ํ์๊ฐ ์์
ํ๊ฐ๋์ง ์์ ์ด์ฉ์๊ฐ ๋ผ์ฐํฐ๋ฅผ ํฌํจํ ๋คํธ์ํฌ์ ํน์ ์์์ ์ ๊ทผํ๋ ค๊ณ ํ๋ ๊ฒ์ ์ฐจ๋จ
Routing Table Update ์ Routing Table ์ ์ด๋ ๋ถ๋ถ์ ์ ๋ฌํ์ง ์๊ฒ ํ๊ณ ์ ํ ๋ ์ด๋ฅผ ์ฐจ๋จ
๊ธฐํ Priority and Custom Queuing ์์ ์ด์ฉ๋จ Dial-on-Demand Routing ์์ ์ด์ฉ๋จ
telnet
FTP ์ฐจ๋จ
์ฐจ๋จ
Access List ๋ ๋ผ์ฐํฐ๋ฅผ ๊ฒฝ์ ํ๋ ๋ชจ๋ packet ์ ๋ํ ์ ์ด๋ฅผ ์ ์ฉํ ์ ์๋ ๊ฒ์ด๋ค .
Access List ๋ฅผ ์ ์ฉํ์ฌ ๋ฐฉํ๋ฒฝ ๊ธฐ๋ฅ๊ณผ ๊ฐ์ ๋ณด์๊ธฐ๋ฅ์ ํ ์๋ ์๋ค .
IP Packet ์ ์ํ Acces List ์๋ 2 ๊ฐ์ง๊ฐ ์๋ค . Standard Access List
Extended Access List
Standard Access List ๋ IP Packet ์ source address ๋ง์ ๊ฒ์ฌํ์ฌ ์ ์ด๋ฅผ ํ๋ ๊ฒ์ด๋ค .
Extended Access List ๋ IP Packet ์ source ๋ฐ destination address ๋ฟ๋ง ์๋๋ผ Application port ๋ฒํธ๋ฑ์ ๊ฒ์ฌํ์ฌ ์ ์ด๋ฅผ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Standard Access List
Destination addr source addr
130.100.0.1 130.140.1.3 130.140.0.0
IP source Address ๋ง์ ๊ฒ์ฌํ์ฌ ์ ์ด
Access list ๋ฒํธ๋ 1~99 ๊น์ง ์ด์ฉ
Access list ๋ ๋จ์ง ํน์ Source address ๋ฅผ ๊ฐ์ง IP Packet ์ ์ด๋ป๊ฒ ์ ์ดํ ๊ฒ์ธ๊ฐ๋ฅผ ์ ์ํ๋ ๊ฒ
๋ฟ์ด๋ฉฐ ,
์ด๊ฒ์ ํน์ Interface ์ ์ ์ฉ์ ํด์ผ ํจ๊ณผ๊ฐ ๋ํ๋จ
Access list ์ ์
Access list ๋ฅผ interface ์ ์ ์ฉ
Access list ๋ global configuration mode ์์ ์ ์ํ๋ค . Router(config)# access-list 10 permit ..........
Access list ๋ฅผ interface ์ ์ ์ฉํ๋ ๋ฐฉ๋ฒ์ ํน์ interface configuration mode ์์ access-group
์ด๋ผ๋ ๋ช ๋ น์ด์ ํจ๊ป ํด๋น access list ๋ฒํธ๋ฅผ ์ ์ธํ๋ฉด ๋๋ค . Router(config-if)# ip access-group 10 out
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ flow chart ๋ ํน์ Interface ๋ฅผ ํตํด ๋ค์ด์ค๋ incoming packet ์ ์ ๊ฒํ์ฌ ์ ์ดํ๋ ๊ณผ์ ์ ๋ณด์ธ ๊ฒ์ด๋ค .
ํน์ interface ์ access list ๊ฐ ์ ์ฉ๋์ด ์์ง ์์ผ๋ฉด ๋ชจ๋ packet ์ ํด๋น interface ์์ ๋ฐ์ ๋ค์ธ๋ค .
ํน์ interface ์ access list ๊ฐ ์ ์ฉ๋์ด ์์ผ๋ฉด packet ์ source address ๋ฅผ access list ์ ์ ์๋ ์กฐ๊ฑด๊ณผ ์ฐจ๋ก๋ก ์ ๊ฒํ๋ค . ์ผ์นํ๋ ๊ฒฝ์ฐ ํด๋น packet ์ deny ํ๋ ์ง ํน์ permit ํ๋ ์ง ํ๋ค . permit ์ ํ๋
๊ฒฝ์ฐ๋ ํด๋น interface ์์ ๋ฐ์ ๋ค์ธ๋ค .
์กฐ๊ฑด์ ๊ณ์ ์ ๊ฒํ์ผ๋ ์ผ์นํ๋ ๊ฒ์ด ์์ผ๋ฉด ๊ธฐ๋ณธ์ ์ผ๋ก packet ์ ์ฐจ๋จ๋๋ค . ์ฌ๊ธฐ์์ ์์ง๋ง์์ผํ ๊ฒ์ a
ccess list ๊ฐ ์ ์ฉ๋์ด ์์๋ ์กฐ๊ฑด๊ณผ ์ผ์นํ๋ ๊ฒ์ด ์์ผ๋ฉด ๋ชจ๋ packet ์ ์ฐจ๋จ๋๋ค๋ ์ฌ์ค์ด๋ค .
Incoming Access list ์ ์ฉ๊ณผ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ flow chart ๋ ํน์ Interface ๋ฅผ ์ ๋ฌ๋๋ ค๋ packet ์ ์ ๊ฒํ์ฌ ์ ์ดํ๋ ๊ณผ์ ์ ๋ณด์ธ ๊ฒ์ด๋ค . ์ผ๋จ ํด๋น packet ์ ํน์ interface ๋ก ์ ๋ฌํ๊ณ ๊ทธ interface ์ access list ๊ฐ ์ ์ฉ๋์ด ์๋์ง ํ์ธํ๋ค . ์ ์ฉ๋์ด
์์ง ์์ผ๋ฉด ํด๋น packet ์ ํด๋น interface ์์ ํต๊ณผ์ํจ๋ค .
ํด๋น interface ์ access-list ๊ฐ ์ ์๋์ด ์์ผ๋ฉด packet ์ source address ๋ฅผ access list ์ ์ ์๋ ์กฐ๊ฑด๊ณผ ์ฐจ๋ก๋ก ์ ๊ฒํ๋ค . ์ผ์นํ๋ ๊ฒฝ์ฐ ํด๋น packet ์ deny ํ๋ ์ง ํน์ permit ํ๋ ์ง ํ๋ค . permit ์ ํ๋ ๊ฒฝ์ฐ๋ ํด๋น packet ์ ํด๋น interface ์์ ํต๊ณผ์ํจ๋ค .
Outcoming Access list ์ ์ฉ๊ณผ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Access list ์ ์router(config)#
access-list access-list-number{permit|deny}{source-address[source-address-wildcard]|any}
access-list-number ๋ 1~99 ์ด์ฉ
Access list ์ ์ฉ (access-group) router(config-if)# ip access-group access-list-number{in|out}
access-list ์์ ์ ์ํ access-list-number ๋ฅผ ์ง์
access-list command
access-list-numbr
ํด๋น access-list ๋ฅผ ๊ตฌ๋ณํ๊ธฐ ์ํ ๋ฒํธ . 1 ~ 99 ๊น์ง ์ด์ฉ
permit | deny
packet ์ source-address ๊ฐ access-list ์ ๋ช ์๋ source-address ์ ์ผ์นํ ๊ฒฝ์ฐ ํ์ฉํ ๊ฒ์ธ์ง ์ฐจ๋จํ ๊ฒ์ธ์ง ์ง์
source-address-wildcard source-address-wildcard ์ bit ๊ฐ 0 ์ธ ๊ฒฝ์ฐ packet ์ source address ์ access-list ์ ๋ช ์๋ source-address ๊ฐ ์ผ์นํด์ผ ํ๋ ๊ฒ์ ์๋ฏธํ๊ณ , bit ๊ฐ 1 ์ธ ๊ฒฝ์ฐ ๋ฌด์๋๋ ๋๋ค๋ ๊ฒ์ ์๋ฏธํ๋ค . ๋ฐ๋ผ์ source-address-wildcard ๊ฐ 0.0.0.0 ์ธ ๊ฒฝ์ฐ packet ์ source address ์ access-list ์ ์ ์๋ source-address ๊ฐ ์์ ํ ์ผ์นํด์ผ ํ๋ ๊ฒ์ ์๋ฏธํ๋ค . source-address-wildcard ๊ฐ 255.255.255.255 ์ธ ๊ฒฝ์ฐ๋ ์ด๋ค source-address ๋ ์๊ด์๋ค๋ ๋ป์ผ๋ก any ๋ฅผ ์๋ฏธํ๋ค . ์ง์ ํ์ง ์์ผ๋ฉด 0.0.0.0 ์ด default ์ด๋ค .
Standard Access list ์ ์ ๋ฐ ์ ์ฉ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
access-group command
in | out
ํด๋น access-list-number ๋ฅผ interface ์์ incoming traffic ์ ์ ์ฉํ ๊ฒ์ธ์ง outcoming traffic ์ ์ ์ฉํ ๊ฒ์ธ์ง ์ง์ ํ๋ค .
์ง์ ํ์ง ์์ผ๋ฉด out ์ด default ์ด๋ค .
Wildcard Mask
Wildcard mask ๋ netmask ๋ฅผ ์ญ์ผ๋ก ํด ๋์ ๊ฒ๊ณผ ๋์ผํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Access List ์ ์ธ์ ์ ์ ์ฌํญ
์ข ๋ ์ข์ ๋ฒ์์ ๊ฒ์ ๋จผ์ ์ ์ธ access-list 10 permit 164.124.116.0 0.0.0.255
access-list 10 deny 164.124.0.0 0.0.255.255
access-list 10 permit any
๋น๋ฒํ ์กฐ๊ฑด์ ๋ง์กฑ์ํฌ ๋งํ ๊ฒ์ ๋จผ์ ์ ์ธ ๊ฐ๋ น 164.124.116.0/24 ๊ณผ 164.124.118.0/24 ๋ก๋ถํฐ์ ์ ๊ทผ์ ํ์ฉํ๊ณ ์ ํ๋๋ฐ 164.124.116.0/24 ์ ์๋ ์์คํ ๋ค์ด ๋ณด๋ค ๋น๋ฒํ ์ ๊ทผํ ๋ access-list 10 permti 164.124.116.0 0.0.0.255
access-list 10 permit 164.124.118.0 0.0.0.255
access-list 10 deny 164.124.0.0 0.0.255.255
access-list 10 permit any
access-list ์ ๋ง์ง๋ง์ ํน๋ณํ permit any ๋ฅผ ์ง์ ํ์ง ์๋ ํ ๊ธฐ๋ณธ์ ์ผ๋ก โ deny anyโ ๊ฐ ์ ์ธ๋์ด
์๋ค๋ ์ฌ์ค์ ์์ง ๋ง ๊ฒ
access-list ์ ์กฐ๊ฑด์ ์ฌ๋ฌ์ค์ ์ ์ธ์ ํ๋๋ฐ ์์์ ์ค๊ณผ ์ค ์ฌ์ด์ ๊ฒ์ ์ง์ฐ๊ฑฐ๋ ์์ ํ ์ ์์ .
์๋ก ์ถ๊ฐํ๋ ๊ฒ์ ๋ชจ๋ ๋ง์ง๋ง์ ๋ ํด์ง
๋ฐ๋ผ์ ๋์ผํ access-list-number ์ ์กฐ๊ฑด์ ์ ์ธํ ๋๋ ์ฒ์ ๋ถํฐ ์ฐจ๋ก๋ก ์ ๋ถ ์ ์ธํด ์ฃผ๋ ๊ฒ์ด ๋ฐ๋์ง
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
default โdeny anyโ
๊ฐ๋ น 164.124.116.0/24 ๋ง ํ์ฉํ๋ ค๊ณ ํ ๋ ์๋์ โ access-list 10 deny anyโ ๋ ๋ถํ์ access-list 10 permit 164.124.116.0 0.0.0.255
access-list 10 deny any
๊ฐ๋ น 164.124.116.0/24 ๋ง ์ฐจ๋จํ๊ณ ๋๋จธ์ง๋ ํ์ฉํ๊ณ ์ ํ ๋ ์๋์ ๊ฐ์ด ์ ์ธํ๋ค๋ฉด ๊ฒฐ๊ณผ๋ ?
access-list 10 deny 164.124.116.0 0.0.0.255
-> ๋ชจ๋ packet ์ด ์ฐจ๋จ๋จ . ์ด์ ๋ default ๋ก access-list 10 deny any ๊ฐ ์ ์ธ๋์ด ์๊ธฐ ๋๋ฌธ .
๋ฐ๋ผ์ access-list 10 permit any ๋ฅผ ์ ์ธํด ์ฃผ์ด์ผ ํ๋ค .
access-list 10 deny 164.124.116.0 0.0.0.255
access-list 10 permit any
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Standard Access List ์ ์ฉ ์
๋ด๋ถ์์๋ง 131.108.4.0/24 ๋ฅผ ์ ๊ทผํ๊ฒ ํ๊ณ ์ถ์ ๋
Access -list 10 permit131.108.3.0 0.0.0.255
interface ethernet 1
ip access-group 10 out
131.108.3.0/24 ์์ 131.108.4.0/24 ๋ฅผ ์ ๊ทผํ์ง ๋ชปํ๋๋ก ํ๊ณ ์ถ์
๋
access-list 10 deny 131.108.3.0 0.0.0.255
access-list 10 permit any
interface ethernet 1
ip access-group 10 out
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
130.120.0.0/16 ์์ 130.140.0.0/16 ์ ์ ๊ทผํ ์ ์๋๋ก ํ๋ 130.150.0.0/16 ์
์ ๊ทผํ์ง ๋ชปํ๋๋ก ํจ
!router D
access-list 10 deny 130.120.0.0 0.0.255.255
access-list 10 permit any
interface ethernet e0
ip access-group 10 in
Standard Access List Example 1
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
X ๋ฅผ ์ ์ธํ 172.16.1.0/24 ์์ 172.16.4.0/24 ๋ฅผ ์ ๊ทผํ์ง ๋ชปํ๊ฒ ํจ
์ธํฐ๋ท์์ 172.16.4.0/24 ๋ฅผ ์ ๊ทผํ์ง ๋ชปํ๊ฒ ํ๋ 172.16.0.0/16 ์์๋ ์ ๊ทผํ ์ ์๋๋ก ํจ
Y ๋ง 172.16.4.0/24 ๋ฅผ ์ ๊ทผํ์ง ๋ชปํ๊ฒ ํจ
!router B
access-list 10 permit 172.16.1.3
access-list 10 deny 172.16.1.0 0.0.0.255
access-list 10 deny 172.16.3.3 0.0.0.0
access-list 10 permit 172.16.0.0 0.0.255.255
interface ethernet e2
ip access-group 10 out
Standard Access List Example 2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
IP Extended Access List
SMTP
FTP WWW
Telnet
Source address ๋ฐ destination address ๋ฅผ ์ ๊ฒํ์ฌ ์ ์ด
internet layer protocol ๋ฐ transport layer protocol, application layer protocol ์ข ๋ฅ๋ฅผ ์ ๊ฒํ์ฌ ์ ์ด
icmp,igmp,tcp,udp ์ธ ๊ฒฝ์ฐ ์ถ๊ฐ์ ์ธ ์ ๋ณด ๋ช ์ ํ์
๋ค์ํ ์ ๋ณด๋ฅผ ๊ฐ์ง๊ณ ์กฐ๊ฑด์ ๊ฒ์ํ์ฌ ์ ์ด๋ฅผ ํ๋ฏ๋ก Standard Access list ๋ฅผ ์ด์ฉํ๋ ๊ฒ๋ณด๋ค ๋ณด๋ค ๋ง์
๊ธฐ๋ฅ์ ๊ตฌํํ ์๊ฐ ์๋ค .
internet layer protocol : ip,icmp
transport layer protocol : tcp,udp
application layer protocol : ftp-data,ftp,telnet,smtp,dns,www,โฆ.
Routing protocol(application layer protocol ์ ์ํจ ):rip,igrp,ospf,bgp
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Extended Access List ์ ์ฉ๊ณผ์
Protocol option ์ ์๋ต ๊ฐ๋ฅํ๋ค .
standard access list ์ ์ ์ฉ๊ณผ์ ๊ณผ ๋น๊ตํ ๋ destination address,protocol,protocol option ์ ์ถ๊ฐ์ ์ผ๋ก ์ ๊ฒํ๋ค๋
์ฌ์ค์ ์ ์๊ฐ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ผ๋ฐ์ ์ธ ํํ
route(config)# access-list access-list-number {permit|deny}{protocol|protocol-keyword}
{source wildcard|any}{destination wildcard|any}[protocol-options]
ICMP protocol ์ ๋ํ Extende Access list
route(config)#access-list access-list-number{permit|deny}
icmp{source wildcard|any}{destination wildcard|any}
[icmp-type[icmp-code]|icmp-message]
IP Extended Access List ๋ช ๋ น
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
access-list-number ๋ 100 ~ 199 ๊น์ง ์ด์ฉ protocol keyword ๋ก๋ ip, icmp, udp, tcp, igrp, eigrp, ospf, nos ๋ฑ์ด ์์ผ๋ฉฐ , 0 ~ 255 ๊น์ง๋ฅผ ์ด์ฉํ๋ค . ip ๋ ๋ค๋ฅธ protocol ์ ๋ชจ๋ ํฌํจํ๋ ๊ฐ์ฅ ํฐ ๋ฒ์์ ๊ฒ์ด๋ค .
address ์ ๋ํ wildcard mask ๊ฐ 0.0.0.0 ์ธ ๊ฒฝ์ฐ ์ด๊ฒ์ ๋ค์๊ณผ ๊ฐ์ด ๋ค๋ฅธ ๋ฐฉ๋ฒ์ผ๋ก ํํํ ์ ์๋ค .
164.124.116.5 0.0.0.0 -> host 164.124.116.5
ICMP ์ ๋ํ access-list
icmp-type
ICMP message type ์ ๋ฐ๋ผ ์ ์ด๊ฐ ๊ฐ๋ฅํ๋ค . 0 ~ 255 ๊น์ง๊ฐ ์๋ค . ์๋ต ๊ฐ๋ฅ icmp-code
ICMP message type ์ ์ํด filtering ๋ packet ์ ICMP message code ์ ์ํด์ filtering ๋ ์ ์๋ค . 0 ~ 255 ๊น์ง ์๋ค . ์๋ต ๊ฐ๋ฅ
icmp-message
icmp-type ๊ณผ icmp-code ๋ฅผ ์กฐํฉํ ๊ฒ์ ์๊ธฐ ์ฌ์ด keyword ๋ก ์ ์ํด ๋์ ๊ฒ์ผ๋ก ์ด๊ฒ์ ์ด์ฉํ๋ฉด icmp-type ๊ณผ icmp-code ๋ฅผ
์ ๋ ฅํด์ผ ํ๋ ๋ถํธ๊ณผ ๋ณต์กํจ์ ํผํ ์ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข icmp-message keyword administratively-prohibited information-reply port-unreachable alternate-address mask-reply reassembly-timeout conversinon-error mask-request redirect dod-host-prohibited mobile-redirect router-advertisement dod-net-prohibited net-redirect router-solicitation echo net-tos-redirect source-quench echo-reply net-tos-unreachable source-route-failed general-parameter-problem net-unreachable time-exceeded host-isolated network-unknown traceroute host-tos-redirect no-roon-for-option ttl-exceeded host-tos-unreachable option-missing unreachable host-unknown packet-too-big host-unreachable parameter-problem
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
TCP protocol ์ ๋ํ Extened Access List
router(config)#access-list access-list-number{permit|deny}
tcp{source wildcard|any}
[operator source-port|source-port]{destination wildcard|any}
[operator destination-port|destination-port][established]
TCP port number ํน์ keyword ๋ก ์ ์ด ๊ฐ๋ฅ established ๊ฐ ์ง์๋๋ ๊ฒ์ด ํน์ง
IP Extended Access List ๋ช ๋ น 2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
operator
lt, gt, eq, neq
source-port ๋ฐ destination port
0 ~ 65535 ๊น์ง ๊ฐ๋ฅํ๋ฐ ์ ์๋ ค์ง port๋ฒํธ์ ๋ํด์๋ keyword ๋ก ์ง์ ๊ฐ๋ฅ
established
TCP segment ๋ด์ ACK ํน์ RST bit ์ด 1 ๋ก ์ค์ ๋์ด ์๋ ๊ฒฝ์ฐ๋ฅผ ๋งํ๋๋ฐ ์ด๊ฒ์ ๋ฐ์ดํ ์์ฒญ์ ๋ํ ์๋ต์ ๊ฐ๋ฆฌํค๋ ๊ฒ์ด๋ค .
tcp port ๋ฒํธ์ ๋ํ keyword
bgp gopher sunrpc
chargen hostname syslog
daytime irc tacacs-ds
discard klogin talk
domain kshell telnet
echo lpd time
finger nntp uucp
ftp pop2 whois
ftp-data pop3 www
port ์ ๋ํ ๋ด์ฉ์ RFC1700 ์ฐธ๊ณ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
UDP protocol ์ ๋ํ Extended Access List
router(config)# access-list access-list-number{permit|deny}
udp{source wildcard|any}
[operator source-port|source-port]
{destination wildcard|any}
[operator destination-port|destination-port]
udp port ํน์ keyword ๋ก ์ ์ด ๊ฐ๋ฅ
โestablishedโ ๊ฐ ์ง์๋์ง ์์
established ๊ฐ ์ง์๋์ง ์๋ ์ด์ ๋ udp segment ๋ call connection ๊ณผ์ ์ด ์๊ณ ์ ๋ฌํ ๋ฐ์ดํ์ ๋ํ ack ์ ํธ๋ฅผ ๋ฐ์ง ์๊ธฐ ๋๋ฌธ
udp port ์ ๋ํ keyword
biff nameserver syslog
bootpc netbios-dgm tacacs-ds
bootps netbios-ns talk
discard ntp tftp
dns rip time
dnsix snmp whois
echo snmptrap xdmcp mobile-ip sunrpc
IP Extended Access List ๋ช ๋ น 3
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ธ๋ถ์์ X ๋ก ๋ฉ์ผ๋ง ๋ณด๋ผ ์ ์๊ฒ ํ ๋
128.88.1.0/24
128.88.1.2
E1
128.88.3.0/24
์ธ๋ถ
!routerA
access-list 100 permit tcp any 128.88.1.0. 0.0.0.255 established
access-list 100 permit tcp any host 128.88.1.2 eq smtp
interface ethernet 1
ip access-group 100 in
128.88.1.0/24
128.88.1.2
128.88.3.0/24
S1
์ธ๋ถ
์ธ๋ถ์์ X ๋ก ๋ฉ์ผ๋ง ๋ณด๋ด๊ฒ ํ๊ณ , 128.88.0.0/16 ์ผ๋ก nslookup ๋ฐ ping ์ ํ์ฉํ๋ ค๊ณ ํ ๋!routerA
access-list 100 permit tcp any 128.88.0.0 0.0.255.
255 established
access-list 100 permit tcp any host 128.88.1.2 eq
smtp
access-list 100 permit udp any any eq domain
access-list 100 permit tcp any any eq domain
access-list 100 permit icmp any any echo
access-list 100 permit icmp any any echo-reply
interface serial 0
ip access-group 100 in
Extended Access List Example
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์ธ๋ถ์์๋ 203.252.1.202 ๋ก nslookup,Internet Mail,Web Service ๋ง ์ ์ํ ์ ์๊ฒ ํจ
๋จ ,203.252.1.0/24 ์ ์๋ ๋ชจ๋ ์์คํ ๋ค์ ์ธ๋ถ์ ๋ชจ๋ ์๋น์ค๋ฅผ ์ด์ฉํ ์ ์๋๋ก ํจ
DB Server
203.252.1.201
DNS.Mail.Web Server
203.252.1.202203.252.1.0 internet
E0
configuration ๊ฒฐ๊ณผ
!router
access-list 101 permit tcp any 203.252.1.0 0.0.0.255 established
access-list 101 permit tcp any host 203.252.1.202 eq smtp
access-list 101 permit tcp any host 203.252.1.202 eq www
access-list 101 permit udp any host 203.252.1.202 eq domain
access-list 101 permit tcp any host 203.252.1.202 eq domain
access-list 101 permit udp any 203.252.1.0 0.0.0.255 gt 1023
interface ethernet 0
ip access-group 101 out
Extended Access List Example 2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์์ configuration ์์โ ip access-list 101 permit udp any 203.252.1.0 0.0.0.255 gt 1023โ ๋ฅผ ์ ์ธํ ์ด์ ๋ ๋ด๋ถ ์ด์ฉ์๊ฐ udp segment ๋ก ๋ฐ์ดํ๋ฅผ ๋ณด๋ด์ฃผ๋ ์ธ๋ถ์ ์๋ฒ์ ์ ์ํ๋ ๊ฒ์ ํ์ฉํด ์ฃผ๊ธฐ ์ํด์๋ค .
access-list ๋ฅผ ์ ์ธํ ๊ฒ์ ํ์ธํ๋ ค๋ฉด ๋ค์๊ณผ ๊ฐ์ ๋ช ๋ น์ด๋ฅผ ์ด์ฉํ๋ฉด ๋๋ค .
router# show access-lists
router# show ip access-list [access-list-number]
routing information update ๋ก ์ธํ ๋์ญ์ ์ฝ ๋ฐ ๋ถํ์ํ ์ ๋ณด๊ฐ ์ ๋ฌ๋๋ ๊ฒ์ ์ฐจ๋จํ๊ธฐ ์ํด passive
interface ๋ฐ distribute list ๋ฅผ ์ด์ฉ
BGP ์์๋ as-path filtering ์ ์ถ๊ฐ์ ์ผ๋ก ์ด์ฉํ ์ ์์
Passive interface
ํน์ interface ๋ก routing informaition ์ ์ ๋ฌํ๋ ๊ฒ์ ๋ง๋ ๋ฐฉ๋ฒ
rip,igrp,ospf ์์์ passive interface ์ ๊ธฐ๋ฅ๊ณผ eigrp ์์์ passive interface ๋ ์ฝ๊ฐ ๋ค๋ฅด๊ฒ ๋์ํจ
distribute list
standard access list ๋ฅผ ์ ์ํ๊ณ ๊ทธ๊ฒ์ routing protocol ๋ฐ interface ์ ์ ์ฉํจ
as-path filtering
distribute list ๋ ๋ชฉ์ ์ง์ ๋ํ network address ๋ฅผ ๊ฐ์ง๊ณ standard access list ๋ฅผ ์ ์ํ๋ ,
์ด๊ฒ์ as-path ์ ๋ณด๋ฅผ ๊ฐ์ง๊ณ filtering
Routing Update ์ ์ด
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
passive interface
router rip ................ passive-interface serial 0s0
link ๊ฐ ํ๋๋ฐ์ ์๋ leaf network ๊ฐ์ ๊ฒฝ์ฐ๋ default route ์ ์ธ๋ง์ผ๋ก๋ routing ์ด ์ด๋ฃจ์ด์ง๋ฏ๋ก
backbone nework ์์ leaf network ์ผ๋ก routing information ์ ์ ๋ฌํ ํ์์์
๊ทธ๋ฌ๋ leaf network ์ ์์ ์ด ๊ฐ๊ณ ์๋ routing information ์ backbone newtwork ์ผ๋ก๋ ์ ๋ฌํ
ํ์ ์์
leafB
backbone A
A ์ B ์ RIP ์ด ํ์ฑํ ๋ ๊ฒฝ์ฐ A ์ rip configuration ์์ interface serial 0 ๋ฅผ passive-interface
๋ก ์ ์ธํ๋ฉด A ๊ฐ ๊ฐ๊ณ ์๋ rip routing information ์ B ์๊ฒ ์ ๋ฌํ์ง ์๋๋ค . ๊ทธ๋ฌ๋ A ๋ B ์ ri
p routing
information ์ ์ ๋ฌ ๋ฐ๋๋ค .
Rip ๋ฟ๋ง ์๋๋ผ igrp,ospf ๋ฑ์์ ๋์ผํ๊ฒ ์ด์ฉํ ์ ์๋ค .
Eigrp ์์ passive-interface ๋ฅผ ์ ์ธํ๋ฉด ์๋ฐฉํฅ์ผ๋ก ๋ชจ๋ routing information ์ ์ ๋ฌํ์ง ๋ชปํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Distribute List
์ ๋ฌ๋๋ routing information ์ผ๋ถ ํน์ ์ ๋ถ๋ฅผ ์ฐจ๋จํ๊ฑฐ๋ ํ์ฉํ ์ ์๋ ์ญํ ๋ถํ์ํ routing information ์ด ์ ๋ฌ๋๋ ๊ฒ์ ์ฐจ๋จ
ํน์ ํ routing information ๋ง ์ ๋ฌ๋ ์ ์๋๋ก ํจ
routing information ์ ์ ์ดํ์ฌ ๋คํธ์์ ๋ผ์ฐํ ๋ฌธ์ ํด๊ฒฐ
routing information ์ ๋ฌ๋ก ์ธํ ๋์ญ์๋ชจ๋ฅผ ๋ฐฉ์ง
standard access list ๋ฅผ ์ด์ฉํ์ฌ ์ด๋ค ๋ชฉ์ ์ง์ ๋ํ ์ ๋ณด๋ฅผ ์ฐจ๋จํ ์ง ํ์ฉํ ์ง ๊ฒฐ์
๋ชฉ์ ์ง Network Address ๋ฅผ source address ๋ก ๊ฐ์ฃผ
incoming ๋ฐ outcoming ์ฆ ์๋ฐฉํฅ์ผ๋ก ์ ์ด ๊ฐ๋ฅ
router(config-router)# distribute-list access-list-number
{in|out} [interface-name | routing-process]
distribute-list ๋ช ๋ น์ด access-list-number
standard access list ๋ฅผ ์ ์ ํ ๋ ์ ์ธํ access-list-number ๋ฅผ ์ง์ ํ๋ค .
Interface-name
serial 0 ํน์ ethernet 0 ์ ๊ฐ์ interface
routing-process
rip,igrp 100,ospf 10 ๊ณผ ๊ฐ์ routing-process
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Distribute List Example
IGRP 109
192.168.7.0
IGRP 109
192.168.7.0
IGRP 109
192.168.7.0
IGRP 71
IGRP 71
S0
IGRP 109 ์ ์๋ 192.168.7.0 ์ ๋ํ ์ ๋ณด๋ง์ IGRP 71
๋ก ์ฌ๋ถ๋ฐฐ IGRP 109 ์ ์๋ 192.168.7.0 ๋ง์ ์ ์ธํ๊ณ ๋๋จธ์ง
์ ๋ณด๋ฅผ IGRP 71 ๋ก ์ฌ๋ถ๋ฐฐ
IGRP 109 ์ ์๋ 192.168.7.0 ๋ง์ ์ ์ธํ๊ณ ๋๋จธ์ง ๋ชจ๋ ์ ๋ณด๋ interface serial 0 ๋ก ์ ๋ฌ
โข Case 1
router igrp 71
redistribute igrp 109
distribute-list 10 out igrp 109
access-list 10 permit
192.168.7.0 0.0.0.255
โข Case 2
router igrp 71
redistribute igrp 109
distribute-list 10 out igrp 109
access-list 10 deny
192.168.7.0 0.0.0.255
access-list 10 permit any
โข Case3
router igrp 109
distribute-list 10 out serial 0
access-list 10 deny
192.168.7.0 0.0.0.255
access-list 10 permit any
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋น๊ณต์ธ IP Network ์ ๋ณด ์ฐจ๋จ
๊ณต์ธ IP netA
๋น๊ณต์ธ IP netB
s1 s0s0
netA ์ netB ๋ routing information ์ ๊ตํ
์ธํฐ๋ท๊ณผ netA ๋ routing information ์ ๊ตํํ๋ netB ์ ๋ํ ์ ๋ณด๊ฐ ์ธํฐ๋ท์ผ๋ก ์ ๋ฌ๋์ง ์๋๋ก ํจ
์ธํฐ๋ท routing information ์ด netB ์ ์ ๋ฌ๋์ง ์๋๋ก ํจ
๋ชจ๋ ๋ผ์ฐํฐ๋ rip ์ด์ฉ
์ธํฐ๋ท130.1.0.0131.250.0.0
B
A164.124.0.0203.252.3.0
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
๋ฐฉ๋ฒ 1
!router A
router rip
distribute-list 10 out
access-list 10 permit 164.124.0.0 0.0.255.255
access-list 10 permit 203.252.3.0 0.0.0.255
๋ฐฉ๋ฒ 2
!routerA
router rip
distribute-list 10 out serial 0
distribute-list 20 out serial 1
access-list 10 permit 164.124.0.0 0.0.255.255
access-list 10 permit 203.252.3.0 0.0.255.255
access-list 20 deny 130.1.0.0 0.0.255.255
access-list 20 deny 131.250.0.0 0.0.255.255
access-list 20 permit any
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
OSPF ๊ฐ์
IETF ์์ 1988 ์์ ์ ์ (RFC1131)
Best route ๊ฒฐ์ ์ Open Shortest Path First ์๊ณ ๋ฆฌ์ฆ ์ด์ฉ
IP Routing protocol ํ์ค for Interior Gateway Protocol
Link State Routing Protocol
Area ๊ฐ๋ ์ด์ฉ
VLSM ๊ฐ๋ ์ง์
Area 0
Area 1 Area n
Backbone router
Area border router
Internal router
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
OSPF version 2 ๋ RFC1583 ์ฐธ์กฐ
metric factor ๋ก delay, throughput, reliability๋ฅผ ์ด์ฉํ ์ ์๋ค . ๊ทธ๋ฌ๋ ๊ธฐ๋ณธ์ ์ผ๋ก bandwidth ๋ง์ ์ด์ฉํ๋ค .
cost = sum (100,000,000/ ๋์ญ )
Link State Routing Protocol ์ด๋ฏ๋ก ์ฃผ๊ธฐ์ ์ผ๋ก routing information ์ ์ฃผ๊ณ ๋ฐ๋๊ฒ์ด ์๋๋ผ ๋ณํ๊ฐ ์์๋ ์ฆ์ ์ฃผ๊ณ ๋ฐ์ผ๋ฏ๋ก convergence time ์ด ์งง๋ค .
์ ์ฒด ๋คํธ์์ ์ฌ๋ฌ๊ฐ์ Area ๋ก ๊ตฌ์ฑํ๋ค . Area 0 ๋ฅผ ์ค์ฌ์ผ๋ก ๋๋จธ์ง ๋ชจ๋ Area ๋ค์ด ์ ์ํ์ฌ routing information ์ ์ฃผ๊ณ
๋ฐ๋๋ค . Area 0 ๋ฅผ backbone area ๋ผ๊ณ ํ๋ฉฐ ๋๋จธ์ง area ๋ฅผ leaf area ๋ผ๊ณ ํ๋ค . leaf area ๊ฐ์ ์ง์ routing information ์
๊ตํํ ์ ์๋ค . ๋ฐ๋์ area 0 ๋ฅผ ๊ฑฐ์ณ์ผ ํ๋ค . ๋คํธ์์ ์ฌ๋ฌ๊ฐ์ area ๋ผ ๋๋ ์ด์ ๋ routing information update์ ๋ฐ๋ฅธ
traffic ์ ์ค์ด๊ธฐ ์ํ ๊ฒ์ด๋ค .
area 0 ์์ ์๋ ๋ผ์ฐํฐ๋ฅผ backbone router, area 0 ์ leaf area ๋ฅผ ์ฐ๊ฒฐํ๋ ๋ผ์ฐํฐ๋ฅผ Area Border Router(ABR), leaf area
์์ ์๋ ๋ผ์ฐํฐ๋ฅผ internal router, ๋ค๋ฅธ AS Number ๋ฅผ ๊ฐ์ง ๋คํธ์๊ณผ ์ฐ๊ฒฐ์ ๋ด๋นํ๋ ๋ผ์ฐํฐ๋ฅผ AS Boundary Router
(ASBR) ์ด๋ผ๊ณ ํ๋ค .
๋์ผํ cost ์ ๋ํ multipath routing ์ ์ง์ํ๋ค .
AS Number ๋ฅผ ํ์๋ก ํ์ง ์๋๋ค .
leaf area ์ backbone area ๊ฐ์ routing information ์ ์ฃผ๊ณ ๋ฐ์๋ ์ฌ๋ฌ Network Address ๋ฅผ ์ถ์ฝ๋ ํํ๋ก ์ ๋ณด๋ฅผ ์ ๋ฌํ ์ ์๋ route summarization ์ ์ ๊ณตํ๋ค . route summarization ์ VLSM (variable length subnet mask)์ ๊ธฐ์ดํ๊ณ ์๋ค .
VLSM ์ route summarization ์๋ ์ด์ฉ๋์ง๋ง IP Address ๋ฅผ ํจ์จ์ ์ผ๋ก ์ด์ฉํ ์ ์๋ ์๋จ์ด๊ธฐ๋ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Area(area0,backbone area,leaf area)
virtual link
internal router,ABR,ASBR
DR(designated router),BDR(backup designated router)
Link State Advertisement(LSA)
Type 1 External Route, Type 2 External Route
OSPF Router ID
VLSM
route summarization
Stub Area,Totally Stub Area
OSPF ์ ๊ด๋ จ๋ Keyword
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
virtual link : area 0 ์ leaf node ๊ฐ ์ง์ ์ฐ๊ฒฐ๋ ์ ์์๋ area 0 ์ leaf node ๋ฅผ ๊ฐ์์ผ๋ก ์ฐ๊ฒฐํด์ฃผ๋ li
nk
DR : LAN ์์ routing information update ์ ์ค์ฌ์ด ๋๋ ๋ผ์ฐํฐ๋ก DR ์ ์ด์ฉํด LAN traffic ์ ๊ฐ์์ํฌ
์ ์๋ค . BDR ์ DR ์์ ์ฅ์ ๊ฐ ๋ฐ์ํ์์๋ backup ์ฉ๋
LSA type 1 (router link advertisment) : area ๋ด์ ๋ผ์ฐํฐ๊ฐ ์ ๋ฌํ๋ ๊ฒ์ผ๋ก ๊ฐ ๋ผ์ฐํฐ์ link ์ ๋ณด๋ฅผ ์ ๋ฌ
LSA type 2 (network link advertisement) : DR ์ด ์ ๋ฌํ๋ ๊ฒ์ผ๋ก , LNA ์ ์ ์๋์ด ์๋ ๋ผ์ฐํฐ ์ ๋ณด๋ฅผ
์ ๋ฌ
LSA type 3 & 4 (summary link advertisement) : ABR ์ด ์ ๋ฌํ๋ ๊ฒ . interarea route ์ ๋ณด๋ฅผ ์ ๋ฌ .
type 3 ๋ AS ๋ด ๋ชฉ์ ์ง์ ๋ํ route ์ ๋ณด๋ฅผ , type4 ๋ ASBR ์ ๋ํ route ์ ๋ณด๋ฅผ ์ ๋ฌํ๋ค .
LSA type 5 (as external link advertisment) : ASBR ์ด ์ ๋ฌ . ์ธ๋ถ ๋ชฉ์ ์ง์ ๋ํ route ๋ฅผ ์ ๋ฌ
type 1 external route ๋ ์ธ๋ถ๋ชฉ์ ์ง์ ๋ํด internal cost ๋ฐ external cost ๋ฅผ ๋ชจ๋ ๋ฐ์ํ๋ ๋ฐ๋ฉด type 2
external route ๋ external cost ๋ง ๋ฐ์ํ๋ค .
OSPF router ID : OSPF ์์ ๊ฐ ๋ผ์ฐํฐ๋ฅผ ์๋ณํ ์ ์๋ ๊ณ ์ ๋ฒํธ . ๋ณดํต Interface ์ ํ ๋น๋ ๊ฐ์ฅ ํฐ IP
Address ๊ฐ ์ด์ฉ๋๋ค .
VLSM (variable length subnet mask) : class ํํ์ Network Number ์ ๋์ผํ subnet mask ๋ง ์ ์ฉํ๋
๊ฒ์ด ์๋๋ผ ๋ค์ํ ๊ธธ์ด์ subnet mask ์ ์ฉ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
netmask ์ ๊ธธ์ด๊ฐ default netmask ๊ธธ์ด๋ณด๋ค ๊ธธ์ด์ง ๊ฒฝ์ฐ ์ด๊ฒ์ subnetmask ๋ผ๊ณ ํ๋ฉฐ , ์ด๋ subnetti
ng
ํ๋ค๊ณ ํ๋ค . netmask ์ ๊ธธ์ด๊ฐ default netmask ๊ธธ์ด๋ณด๋ค ์งง์์ง ๊ฒฝ์ฐ ์ด๊ฒ์ supernetmask ๋ผ๊ณ ํ๋ฉฐ ,
์ด๋ supernetting ํ๋ค๊ณ ํ๋ค .
route summarization ์ด๋ผ๋ ๊ฒ์ ์ฌ๋ฌ๊ฐ์ subnetwork ํน์ class ํํ์ network number ๋ฅผ ์ถ์ฝํด
ํํํ๋ ๋ฐฉ๋ฒ์ด๋ค .
leaf area ์๊ฒ ์๊ธฐ AS๋ฐ์ ์ธ๋ถ ๊ฒฝ๋ก์ ๋ณด๋ฅผ ์ ๋ฌํ์ง ์์๋ ํด๋น leaf node ๋ฅผ stub area ๋ผ๊ณ ํ๋ค .
stub area ์ค ์๊ธฐ AS ๋ด์ ๋ด๋ถ ๊ฒฝ๋ก์ ๋ณด๋ง์ ์ ๋ฌํ์ง ์์๋ ํด๋น leat node ๋ฅผ totally stub area ๋ผ๊ณ
ํ๋ค .
passive-interface ๋ฅผ ์ ์ฉํ ๊ฒ๊ณผ ๋น์ทํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์๋ก์ด ๋คํธ์ํฌ๊ฐ ์ถ๊ฐ๋์๋๋ฐ ์ด๋ ํ ์ด์ ๋ก Area 0 ์ ์ง์ ์ ์๋ ์ ์์ ๋ ์ด์ฉ
๋๋๋ก์ด๋ฉด ์ด๋ฌํ ์ํฉ์ ํผํ ๊ฒ
Area 0
Area 1 Area n
Area n +1Virtual link
Classless Routing & VLSM
164.124.1.0 255.255.255.0 ->164.124.1.0/24(prefix notation)
classless routing ์ prefix ๋ฅผ ์ ๋ฌํจ์ผ๋ก์จ subnet ์ ๋ํ route ์ ๋ณด๋ ์ ๋ฌ๋๊ฒ ํจ .
์ด๊ฒ์ classless routing ์ด๋ผ๊ณ ํจ .
VLSM ์ด๋ผ๋ ๊ฒ์ class ํํ์ Network Number ์ ๋์ผํ subnet mask ๋ง ์ ์ฉํ๋ ๊ฒ์ด ์๋๊ณ ๋ค์ํ ๊ธธ์ด์ subnet mask ์ ์ฉ
Virtual Link
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
164.124.1.0/24
164.124.2.0/24
164.124.5.0/24
164.124.3.8/29
164.124.3.16/29
164.124.3.32/24
164.124.4.16/28
164.124.4.32/28
164.124.4.48/28
203.252.3.8/30
203.252.3.4/30
rip, igrp ์์๋ classless routing ์ด ์ง์๋์ง ์๋๋ค .
classless routing ์์๋ 1 ๊ฐ์ class network number ์ subnetwork ๋ค์ด ๋ถ๋ฆฌ๋์ด ์์ด๋ ๋๋ค .
VLSM ์ ์ด์ฉํ์ฌ class IP Network Number ๋ฅผ ๋ณด๋ค ๋ง์ด ํ์ฉํ ์ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Route Summarization(aggregation)
203.252.0.0
203.252.1.0
203.252.2.0
203.252.3.0
203.252.0.0
203.252.1.0
203.252.2.0
203.252.3.0
203.252.0.0
203.252.1.0
203.252.2.0
203.252.3.0
203.252.0.0/22
Subnetting ์ prefix ๋ฅผ ์ค๋ฅธ์ชฝ์ผ๋ก ์ด๋
Prefix Host
Prefix
length
Supernetting ์ prefix ๋ฅผ ์ผ์ชฝ์ผ๋ก ์ด๋
Prefix Host
Prefix
length
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
route summarization ์ update ํ routing information ์ ๊ธธ์ด๋ฅผ ์ค์ฌ์ค๋ค . ํ์ ์ ๋์ญ ๋ฐ ๋ผ์ฐํฐ๋ฉ๋ชจ๋ฆฌ ,
๋ผ์ฐํฐ CPU ์๋ชจ๋ฅผ ์ค์ฌ์ค๋ค .
OSPF ๋ฐ EIGRP ๋ prefix ์ ๋ณด๋ฅผ ์ ๋ฌํ๋ค .
BGP ๋ prefix ์ ๋ณด๋ฅผ ์ ๋ฌํ๋ค .
summarization ์ ์ฝ๊ฒ ํ๋ ๋ฐฉ๋ฒ
2^n ์ ๋ฐฐ์์ผ ๊ฒฝ์ฐ๋ ์์ ์ ํฌํจ ๊ฐ์ ๋ฑ๊ธ์ ์ฐ์๋ 2^n ๊ฐ์ IP Address ๊ฐ ์์๋ /
(default_netmask ์ - n) ์ผ๋ก summarization
203.252.0.0 ์์ 3๋ฒ์งธ ์๋ฆฌ 10 ์ง์ 0 ์ 2^2 ์ ๋ฐฐ์์ด๊ณ ์์ ์ ํฌํจ ๊ฐ์ netmask ๋ฅผ ๊ฐ๊ณ ์๋
IP Address 2^2 ๊ฐ๊ฐ ์ฐ์๋๋ฏ๋ก /(24 - 2) ์ฆ /22 ๋ก summarization ๊ฐ๋ฅ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
router(config)#router ospf process-id
ospf ๋ฅผ ํ์ฑํ ํจ
process-id ๋ ์์์ ๋ฒํธ
router(config-router)# network address wildcard-mask area area-id
address ์ routing update ์ ์ฐธ์ฌํ interface ์ ํ ๋น๋ network number ์ ์ธwildcard-mask ๋ access-list ์ ๊ฒ๊ณผ ๋์ผarea-id ๋ interface ๊ฐ ์ํ area ๋ฒํธ ์ ์ธ
neighbor ๊ด๊ณ๋ฅผ ์ด๋ฃจ๋ OSPF ๋ผ์ฐํฐ์ process-id ๋ ๋์ผํ ํ์๋ ์๋ค . ๊ทธ๋ฌ๋ ์๋ณ์ ํธ๋ฆฌํ๊ฒ ํ๊ธฐ ์ํด ๋์ผํ๊ฒ ์ง์ ํ๋ ๊ฒ๋ ๋์์ง ์๋ค .
network ๋ช ๋ น์ด๋ก ํด๋น address ๋ฅผ ๊ฐ์ง interface ๋ฅผ ํน์ area ์ ์ํ๊ฒ ํ๋ค .
address ๋ ๊ผญ class ํํ์ Network Number ์ผ ํ์๋ ์๋ค . OSPF ๋ VLSM ๊ณผ classless routing ์ ์ง์ํ๊ธฐ ๋๋ฌธ์ด๋ค . rip ์ด๋ igrp ์์ address ๋ ๊ผญ class ํํ์ network number ๋ฅผ ์ง์ ํด์ผ ํ๋ค .
address ์ ๋ํ netmask ๋ก subnetmask ๊ฐ ์๋ wildcard-mask ๊ฐ ์ด์ฉ๋๋ค๋ ๊ฒ์ ์ ์ํ์ .
area-id ๋ 0 ~ 4294967295 ๊ฐ ์ด์ฉ๋๋ค .
OSPF Default configuration ๋ฐฉ๋ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
OSPF Default Configuration
!router B
router ospf 100
network 130.100.44.0 0.0.1.255 area 0
network 130.100.46.0 0.0.1.255 area 0
network 130.100.24.0 0.0.7.255 area 0
!router C
router ospf 100
network 130.100.44.0 0.0.3.255 area 0
network 130.100.128.0 0.0.15.255 area 2
!router D
router ospf 100
network 130.100.128.0 0.0.15.255 area 2
network 130.100.144.0 0.0.15.255 area 2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
์์์ ospf process-id ๋ฅผ ๋ชจ๋ 100 ์ผ๋ก ํ์์๋ฐ ๋ชจ๋ ๋์ผํ 100 ์ ์ง์ ํ ํ์๋ ์๋ค .
๋ผ์ฐํฐ B ์ ๋ผ์ฐํฐ C ๋ ABR (area border router) ์ด๋ค . ABR ์ area 0 ๋ฅผ ๋ฐ๋์ ๊ฐ๊ฒ ๋๋ฉฐ , ๋๋ค๋ฅธ
leaf area ๋ฒํธ๋ฅผ ๊ฐ๊ฒ ๋๋ค .
๋ผ์ฐํฐ A, D, E ๋ internal router ์ด๋ฉฐ ์์์ backbone router ๋ ์๋ค .
๋ผ์ฐํฐ B ์ ospf nework ์ ์ธ์์ network 130.100.44.0 0.0.1.255 area 0
network 130.100.46.0 0.0.1.255 area 0 ๋ network 130.100.44.0 0.0.3.255 area 0 ๋ก ๋จ์ถ๋ ์ ์๋ค .
๋ผ์ฐํฐ D ์ ospf network ์ ์ธ์์ network 130.100.128.0 0.0.15.255 area 2
network 130.100.144.0 0.0.15.255 area 2 ๋ network 130.100.128.0 0.0.31.255 area 2 ๋ก ๋จ์ถ๋ ์ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
!routerC
router ospf 100
network 130.100.44.0 0.0.15.255 area 0
network 130.100.128.0 0.0.15.255 area 2
area 2 virtual-link 130.100.144.1
!routerD
router ospf 100
network 130.100.128.0 0.0.15.255 area 2
network 130.100.144.0 0.0.15.255 area 3
area 2 virtual-link 130.100.128.1
Virtual Link Configuration
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
backbone area ์ leaf area ๊ฐ์ ์ง์ LSA ๋ฅผ ๊ตํํ๋๋ฐ area 3 ๋ backbone area ์ ์ง์ ์ ์ธ ์ฐ๊ฒฐ์ ๊ฐ๊ณ ์์ง ์๋ฐ . ๋ฐ๋ผ์ backbone area ์ area 3 ๊ฐ์ virtual link ๊ฐ ํ์ํ๋ค .
virtual link ๋ ABR ์ธ ๋ผ์ฐํฐ C ์ ๋ผ์ฐํฐ D ๊ฐ์ ์ค์ ๋์ด์ผ ํ๋ค .
virtual link ๋ฅผ ๋งบ์๋ ๋ผ์ฐํฐ ID ๋ฅผ ๋ช ์ํ์ฌ์ผ ํ๋ค . router ID ๊ฐ ํน๋ณํ ์ง์ ๋์ง ์์ผ๋ฉด interface ์ ํ ๋น๋ ๊ฐ์ฅ ํฐ IP Address ๊ฐ ์ด์ฉ๋๋ค .
router C ๋ฐ router D ์ โ area 2 virtual-linkโ ๋ area 2 ๋ฅผ virtual-link ๋ฅผ ์ํ transit area ๋ก ์ ์ธํ๋ ๊ฒ์ด๋ค .
Route Summarization ์ค์ ๋ฐฉ๋ฒ ABR ์์ Inter Area routes summarization
- route(config-router)#area area-id range address mask
ASBR ์์ external routes summarization
- route(config-router)#summary-address address mask
IA 130.100.16.1/20
Area 1
O 130.100.16.1/21
O 130.100.24.2/21
Area 0
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
routing table ์ ํฌ๊ธฐ๋ฅผ ์ค์ด๊ธฐ ์ํด ๊ฐ area ์์๋ ์์ ์ด ๊ฐ๊ณ ์๋ routing information ์ summarizati
on ๋
ํํ๋ก ์ ๋ฌํ๋ค . ๋ํ summarization ๋ ํํ๋ก ์ ๋ฌํ๋ฉด ํด๋น area ์ ํน์ ๋คํธ์์ ๋ณํ๊ฐ ๋ค๋ฅธ area
์
์ํฅ์ ๋ฏธ์น์ง ์๊ฒ ํ ์ ์๋ค . ์ฆ ๋คํธ์์ ๋ณํ๋ก ์ธํ LSA message ์ ๋ฌ์ localize
๋ค์๊ณผ ๊ฐ์ subnetwork ๋ค์ด ์์๋ summarization ์ ์ฃผ์๊น๊ฒ ํด์ผ ํ๋ค . 130.100.4.0/22 130.100.12.0/20 (x) 130.100.4.0/22 (O)
130.100.8.0/22 130.100.8.0/21 (O)
130.100.12.0/22
130.100.16.0/22 130.100.16.0/20 (O)
130.100.20.0/22
130.100.24.0/22
130.100.28.0/22Route Summarization Example
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
!router B
router ospf 100
network 130.100.44.0 0.0.1.255 area 0
network 130.100.46.0 0.0.1.255 area 0
network 130.100.24.0 0.0.7.255 area 1
area 0 range 130.100.44.0 255.255.252.0
area 1 range 130.100.16.0 255.255.240.0
!router C
router ospf 100
network 130.100.44.0 0.0.3.255 area 0
network 130.100.128.0 0.0.15.255 area 2
area 0 range 130.100.44.0 255.255.252.0
area 2 range 130.100.128.0 255.255.224.0
[Totally] Stub Area Configuration Example
C D
External
ASArea 0 Area 2
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขArea 2 ๋ฅผ Stub Area ๋ฅผ ์ ์ธํ ๋
!router C
router ospf 100
area 2 stub
!router D
router ospf 100
area 2 stub
โขArea 2 ๋ฅผ Totally Stub Area ๋ฅผ ์ ์ธํ ๋
!router C
router ospf 100
area 2 stub no-summary
area 2 stub default-cost 20
!router D
router ospf 100
area 2 stub
stub area ๋ก๋ ์ธ๋ถ route ์ ์ ๋ณด๋ฅผ ์ ๋ฌํ์ง ์๋๋ค .
totally stub area ๋ก๋ AS ๋ด์ ์๋ summarized ๋ ์ ๋ณด๋ ์ ๋ฌํ์ง ์๋๋ค .
totally stub area ๋ฅผ ์ ์ธํ ๋ default-cost 20 ์ default route ๋ฅผ area 2 ๋ก ์ ๋ฌํ ๋ ๊ทธ๊ฒ์ ๋ํ cost ๋ฅผ 20 ์ด๋ผ๊ณ ์๋ ค์ค๋ค .
totally stub area ๋ฅผ ์ ์ธํ ๋ ๋ฐ๋์ no-summary ๋ฅผ ์ ์ธํด์ผ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
show ip ospf interface
- interface ๊ฐ area ์ ์ ๋๋ก ์ง์ ๋์๋์ง ํ์ธ
show ip ospf
- ospf ์ ๊ด๋ จ๋ ์ผ๋ฐ์ ์ธ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค
show ip ospf database
- ospf ๊ฐ ๊ฐ๊ณ ์๋ ๊ฐ์ข database ์ถ๋ ฅ
show ip ospf virtual-links
- virtual link ์ ๊ด๋ จ๋ parameter ์ถ๋ ฅ
show ip ospf neighbor detail
- ospf neighbor ์ ๋ณด ์ถ๋ ฅ
show ip ospf border-router
- ABR ๊ณผ ASBR ์ ๋ํ routing table ์ถ๋ ฅ
show ip ospf database
show ip ospf database router
show ip ospf database network
show ip ospf database summary
show ip ospf database asbr-summary
show ip ospf database external
show ip ospf database database-summary
OSPF ๋์ํ์ธ ๋ช ๋ น์ด
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข CISCO ์ Routing Protocol
โข Advanced Distance Vector Routing Protocol
โข classless routing ๋ฐ VLSM ๊ฐ๋ ์ง์
โข rapid convergence
โข partial bounded updates
โข multiple network-layer protocol support
EIGRP
IP routing
IP routing
IPX routing IPX routing
Appletalk routing Appeltalk routing
EIGRP ๋ Diffusing Update Algorithm(DUAL) ์ ์ด์ฉํ์ฌ convergence time ์ด ๋งค์ฐ ๋น ๋ฅด๋ค . ๊ธฐ๋ณธ ๋ฐฉ๋ฒ์ ์ธ์ ํ ๋ผ์ฐํฐ๋ค์
๋ผ์ฐํ ํ ์ด๋ธ์ ๋ชจ๋ ๊ฐ๊ณ ์์ด ๋คํธ์์ ๋ณํ์ ๋์ฒด๊ฒฝ๋ก๋ฅผ ๋น ๋ฅด๊ฒ ์ ํํ๋ค . ๋ง์ฝ ๋์ฒด๊ฒฝ๋ก๊ฐ ์์ผ๋ฉด ๋์ฒด๊ฒฝ๋ก๋ฅผ ์ธ์ ํ
๋ผ์ฐํฐ๋ค์๊ฒ ๋ฌผ์ด๋ณธ๋ค .
EIGRP ๋ ์ ๊ธฐ์ ์ธ update ํ์ง ์๋๋ค . ๋ณํ๊ฐ ๊ฐ์ง๋์์๋ ๋ณํ๋ ์ ๋ณด๋ง ์ ๋ฌํ๋ค .
EIGRP ๋ IP rouitng, Appletalk routing, IPX routing ์ ๋์์ ์ฒ๋ฆฌํด์ค๋ค .
๊ทธ์ธ์ ํน์ฑ์ IGRP ์ ๊ฑฐ์ ๋์ผํ๋ค .
Enhanced IGRP(EIGRP) ๊ฐ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข IGRP ์ค์ ๋ฐฉ๋ฒ๊ณผ ๊ฑฐ์ ๋์ผ
B
A
C
130.100.1.0/24
130.100.2.0/24
130.120.1.0/24
130.120.2.0/24
S1
S2
S0 130.140.1.0/24
!routerA
router eigrp 100
network 130.100.0.0
network 130.120.0.0
no auto-summary
!routerB
router eigrp 100
network 130.100.0.0
network 130.120.0.0
no auto-summary
!routerC
router eigrp 100
network 130.140.0.0
network 130.120.0.0
โขEIGRP ๋ฅผ ํ์ฑํํ์๋ default ๋ก subnetwork ์ ๋ํด auto-summary ๋ฅผ ํ๋ค . ์ฆ subnetwork ์ class network number ๋ก r
outing information ์ ์ ๋ฌํ๋ ๊ฒ์ด๋ค . ๋ผ์ฐํฐ A ์ ๋ผ์ฐํฐ B ์์ no auto-summary ๋ฅผ ์ ์ธํ์ง ์์ผ๋ฉด ๋ผ์ฐํฐ A ์ ๋ผ์ฐํฐ B ๋ ๊ฐ๊ฐ 130.100.0.0 ์ ๋ํ route ๋ฅผ C ์๊ฒ ์ ๋ฌํ๋ค . ์ด ๊ฒฝ์ฐ ๋ผ์ฐํฐ C ๋ 130.100.0.0 ์ ๋ํ route ๋ฅผ 2 ๊ฐ๋ฅผ ๊ฐ๊ฒ ๋๋ค . ์ฆ s
1, s2. ์ด ๊ฒฝ์ฐ ๋ผ์ฐํฐ C ๋ก 130.100.1.0/24 ๋ก ๊ฐ์ผํ packet ์ด ์ ๋ฌ๋๋ค๋ฉด ๋ผ์ฐํฐ C ๋ ์ด๋ค๋๋ s2 ๋ฅผ ์ ํํ ๊ฒ์ด๋ค . ์ด๊ฒ์ ํ๋ฆฐ ๊ฒ์ด๋ค . ์ด์ฒ๋ผ subnetwork ์ ๋ํ routing information ์ด ์ ๋ฌ๋ ์ ์๋๋ก ํ๋ ค๋ฉด no auto-summary ๋ฅผ ์ ์ธํด์ผ ํ๋ค .
โข EIGRP ๊ฐ์ ์ฌ๋ถ๋ฐฐ , ๋ค๋ฅธ routing protocol ๊ฐ์ ์ฌ๋ถ๋ฐฐ๋ IGRP ์์์ ๋์ผ
EIGRP ์ค์ ๋ฐฉ๋ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข default ๋ก class ํํ๋ก summarization ํ๋ฏ๋ก ์ด๊ฒ์ ์ํ์ง ์์ ๊ฒฝ์ฐ no auto-summary ์ ์ธ
โข EIGRP ์ ๋ณด๋ฅผ ์ ๋ฌํ ๋ ํน์ interface ๋ณ๋ก summarization ๋ ํํ๋ก ์ ๋ณด์ ๋ฌ ๊ฐ๋ฅ
- router(config-ig)#ip summary-address eigrp as-number address mask
!router C
interface serial 0
ip summary-address eigrp 100 130.100.0.0 255.255.0.0
B
A
C
130.100.1.0/24
130.100.2.0/24
130.120.1.0/24
130.120.2.0/24
S1
S2
S0 130.140.1.0/24AS 100
โข EIGRP ์ ๋์์ ํ์ธํ๋ ๋ช ๋ น์ด๋คโขshow ip protocols
โขshow ip route eigrp
โขshow ip eigrp neighbors
โขshow ip eigrp topology
โขshow ip eigrp traffic
EIGRP ์์์ Summarization
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข version 4 ๊ฐ ๊ฐ์ฅ ์ต์ (BGP4)
โข RFC 1163,1267,1654,1655 ๋ฑ ์ฐธ์กฐ
โข AS Number ๊ฐ ๋ค๋ฅธ ๋ ๋คํธ์ํฌ๋ฅผ ์ฐ๋ํ ๊ฒฝ์ฐ ์ด์ฉ๋จ
โข loop free routing protocol
โข ISP ๋ค์ด BGP4 ๋ฅผ ๋ง์ด ์ด์ฉ
โข ISP ์ ์ฐ๊ฒฐ๋๋ ํ์ ์ด 1 ๊ฐ ๋ฐ์ ์์ ๊ฒฝ์ฐ์๋ BGP4 ๋ฅผ ๊ผญ ์ด์ฉํ ํ์์์
โข Classless routing ์ง์
BGP 4
BGP 4BGP 4
BGP 4
RIP,IGRP
OSPF
EIGRP
Net A AS100
BGP 4
ISP net AS 200
RIP,IGRP
OSPF
EIGRP
BGP ๊ฐ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขBGP ์ route ์ ๋ณด๋ route ์ ๋ณด๊ฐ ์ ๋ฌ๋๊ธฐ๊น์ง ๊ฒฝ์ ํด์จ AS๋ฒํธ list ๋ฅผ ํฌํจํ๋ค . ๊ฐ ASN ๋ด์์์ ๊ฒฝ๋ก์ ๋ํ ์ ๋ณด๋ฅผ ํฌํจํ์ง ์๋๋ค .
โขnetwork 130.100.0.0 ์ ๋ํ route ์ ๋ณด๊ฐ AS400, AS300, AS200 ์ ์ง๋ AS100 ์ ์ ๋ฌ๋์๋ค๋ฉด 130.100.0.0์ ๋ํ route ์ ๋ณด์ ์ถ๊ฐ์ ์ผ๋ก 200 300 400 ์ด๋ผ๊ณ ํ์๋์ด ์๋ค . ์ด๊ฒ์ AS path ๋ผ๊ณ ํ๋ค . ์ฆ ์ง๋์จ ASN ์ด ํ์๋์ด ์๋ ๊ฒ์ด๋ค . ๋ฐ๋ผ์ looping ์ ์ ๊ฒํ๊ธฐ ๋งค์ฐ ์ฝ๋ค . ๊ฐ๋ น AS path ๊ฐ 300 200 300 400 ์ธ ๊ฒฝ์ฐ looping ์ด ์ผ์ด๋ ๊ฒ์ด๋ค .
โข๋คํธ์ AS100 ์ ์ธ๋ถ๋ก ๋๊ฐ๋ ๊ฒฝ๋ก๊ฐ 1 ๊ฐ๋ฐ์ ์๋ค . ์ด๋ฐ ๊ฒฝ์ฐ AS100 ๊ณผ AS200 ์ BGP4 ๋ก ์ฐ๊ฒฐํ ํ์๋ ์๋ค . AS100 ์์๋ AS200 ์ default route ๋ก ์ค์ ํ๊ณ AS100 ์ ์๋ ๋คํธ์์ ๋ณด๋ฅผ ์ฌ๋ถ๋ฐฐ๋ฑ์ ์ด์ฉํด AS200์ ์ ๋ฌํด์ฃผ๊ธฐ๋ง ํ๋ฉด ๋๊ธฐ ๋๋ฌธ์ด๋ค . AS200 ์์๋ AS100 ๊ณผ ์ฐ๊ฒฐํ๋ interface ๋ฅผ passive-interface ๋ก ์ ์ธํด๋ ๋ฌด๋ฐฉํ๋ค .
โขOSPF ๋ EIGRP ์ฒ๋ผ classless routing ์ ์ง์ํ๋ค .
โขBGP ๋ policy routing protocol ์ด๋ผ๊ณ ํ๋ค . ๋คํธ์์ด์์์ ์ ์ฑ ์ ๋ฐ๋ผ ๊ฒฝ๋ก๋ฅผ ์ ํํ๊ฑฐ๋ ์ด๋ค AS ๋ฅผ ์ฐจ๋จ ํ์ฉํ ์ ์๋ค .
โขBGP ๋ multipath routing ์ ์ง์ํ์ง ์๋๋ค . ์ต์ ์ ๊ฒฝ๋ก 1 ๊ฐ๋ง์ ์ ํํ์ฌ packet ์ ์ ๋ฌํ๋ค .
โข์ฌ๋ถ๋ฐฐ๋ BGP ์ IGP(RIP, IGRP, OSPF, EIGRP) ๊ฐ์ ์ฃผ๋ก ์ด๋ฃจ์ด์ง๋ค . IGP ๋ฅผ BGP ๋ก ์ฌ๋ถ๋ฐฐํ๋ ๊ณผ์ ์ ๋ฐ๋์ ํ์ํ์ง๋ง BGP ๋ฅผ IGP ๋ก ๋ฐ๋์ ์ฌ๋ถ๋ฐฐํด์ผํ ํ์๋ ์๋ค . default route ๋ก ์ฒ๋ฆฌ ๊ฐ๋ฅํ๊ธฐ ๋๋ฌธ์ด๋ค .
โขBGP ๋ RIP, IGRP ์ฒ๋ผ cost ๋ฅผ ๊ณ์ฐํ๋ ํน๋ณํ ๊ณ์ฐ์์ด ์๋ค . ๋ํ metric factor ๋ ๋ณด๋ค ๋ค์ํ๋ค . BGP ๋ผ์ฐํฐ๋ metric factor ๋ค์ ์ ํด์ง ์์์ ๋ฐ๋ผ ๋น๊ตํ๋ฉด์ ๊ทธ๋ ๊ทธ๋ ์ต์์ ๊ฒฝ๋ก๋ฅผ ์ ํํ๋ค . ๊ธฐ๋ณธ์ ์ผ๋ก ์ด๋ ํ ์กฐ์๋ ํ์ง ์์ผ๋ฉด ์ต์์ ๊ฒฝ๋ก๋ AS path ์ ๊ธธ์ด๊ฐ ์งง์ ๊ฒฝ๋ก๋ฅผ ์ ํํ๋ค .
โขpartial update ๋ฐฉ์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข eBGP(external BGP) ๋ ASN ์ด ๋ค๋ฅธ ๋ ๋ผ์ฐํฐ๊ฐ์ BGP ๋ฅผ ๋งํ๋ฉฐ iBGP(internal BGP) ๋ ๊ฐ์ AS ๋ด์ ๋ผ์ฐํฐ๊ฐ์ BGP ๋ฅผ ๋งํจ
โข eBGP session ์ ๋๊ฐ ์ง์ ์ฐ๊ฒฐ๋ ์ธ๋ถ AS ๋ผ์ฐํฐ์ ๋งบ์ผ๋ฉฐ iBGP Session ์ AS ๋ด์ ์ง์ ์ฐ๊ฒฐ๋์ง ์๋ ์ด๋ค ๋ผ์ฐํฐ์๋ ๋งบ์ ์ ์์
โข iBGP session ์ AS ๋ด์ ์ง์ ์ฐ๊ฒฐ๋์ง ์๋ ์ด๋ค ๋ผ์ฐํฐ์๋ ๋งบ์ ์ ์์
eBGPA B
C
D
iBGP
iBGPiBGP
AS100 AS200
โขeBGP ๋ผ์ฐํฐ๊ฐ 1 ๊ฐ ๋ฐ์ ์๋ค๋ฉด iBGP ๋ฅผ ํ์ฑํํ ํ์๋ ์๋ค .
โขiBGP session ์ eBGP ๋ฅผ ์ด์ํ๋ ๋ผ์ฐํฐ๊ฐ์ ๋งบ์ด์ฃผ๋ ๊ฒ์ด ๋ฐ๋์ง
โขiBGP ๋ eBGP ์ ๋ณด๋ฅผ AS ๋ด eBGP ๋ผ์ฐํฐ๊ฐ์ ์ ๋ฌํ์ฌ ๋๊ธฐํ์ํฌ๋ ์ฃผ๋ก ์ด์ฉ๋๋ค . ์ด์ธ์๋ eBGP ๋ณด๋ค ๋ค์ํ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ค .
โขiBGP session ์ BGP ๋ผ์ฐํฐ๊ฐ์ full message ํํ๋ก ๋งบ์ด์ฃผ์ด์ผ ํ๋ค .
โขBGP ์ ๋ํ ์์ธํ ์ฌํญ์ http://www.cisco.com/ ์์ โ using the border gateway protocol for interdomain routingโ ์ ๊ผญ ์ฐธ๊ณ ํ๊ธฐ ๋ฐ๋
eBGP ์ iBGP
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
Network Advertisement
IGP
routing
table
BGP
routing
table
BGP router
AS ์์ routing information ์ ์ธ๋ถ๋ก ์ ๋ฌํ๊ธฐ ์ํด IGP routing table ์ ๋ด์ฉ์ BGP routing table ๋ก ์ฌ๋ถํดํ์ฌ์ผ ํ๋ค .
3 ๊ฐ์ง ๋ฐฉ๋ฒ - static route ๋ฅผ ์ฌ๋ถ๋ฐฐ
- dynamic router ๋ฅผ ์ฌ๋ถ๋ฐฐ
- network command ๋ก ์ ๋ฌ
BGP ๋ผ์ฐํฐ๋ ๋ค์์ ๊ฒฝ์ฐ์ ์ํ๋ ๋คํธ์์ ๋ณด๋ฅผ ๋ค๋ฅธ BGP ๋ผ์ฐํฐ์๊ฒ ์ ๋ฌํ๋ค .
๋ค๋ฅธ AS ๋ก๋ถํฐ ์ ๋ฌ๋์ด ์จ network number (default action)static route ๋ฅผ ์ฌ๋ถ๋ฐฐ ํ ๊ฒฝ์ฐdynamic route ๋ฅผ ์ฌ๋ถ๋ฐฐ ํ ๊ฒฝ์ฐnetwork command ๋ก ๋ฑ๋กํ ๊ฒ
network command ๋ก ๋ฑ๋กํ network number ๊ฐ BGP routing table ์ ๋ฑ๋ก๋์ด ๋ค๋ฅธ BGP ๋ผ์ฐํฐ์๊ฒ ์ ๋ฌ๋ ์ ์์ผ๋ ค๋ฉด ๊ทธ network number ์ ๋ํ route ๊ฐ routing table์ ๋ฑ๋ก๋์ด ์์ด์ผ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข static route ๋ฅผ ์ฌ๋ถ๋ฐฐํ๋ ๋ฐฉ๋ฒ!routerrouter bgp 100 redistribute staticip route 130.100.0.0 255.255.0.0 130.130.1.1
โข dynamic route ๋ฅผ ์ฌ๋ถ๋ฐฐํ๋ ๋ฐฉ๋ฒ!routerrouter bgp 100 redistribute rip
โข network command ๋ก ๋ฑ๋กํ๋ ๋ฐฉ๋ฒ!router router bgp 100 network 130.100.0.0 network 130.120.0.0 network 130.130.0.0
BGP ์ค์ ๋ฐฉ๋ฒ
A B
AS 100
130.100.0.0
130.120.0.0
AS 100
130.100.0.0
130.120.0.0
BGP 4
130.130.1.5/30 130.130.1.6/30
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข router(config)#router bgp own-as-number
โข router(config-router)#neighbor peer-ip-address remote-as peer-as-number
โข router(config-router)#network network-number
โข router#clear ip bgp {*|peer-ip-address }
!router A
router bgp 100
neighbor 130.130.1.6 remote-as 200
network 130.100.0.0
network 130.120.0.0
!router A
router bgp 200
neighbor 130.130.1.5 remote-as 100
network 130.130.0.0
network 130.140.0.0
network 130.150.0.0
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขown-as-number ๋ ์์ ์ด ์ํ AS ์ AS number ๋ฅผ ์ง์ ํ๋ค .
โขpeer-ip-address ๋ bgp session ์ ๋งบ์ ์๋๋ฐฉ์ IP Address ๋ฅผ ์ง์ ํ๋ค .
โขpeer-as-number ๋ bgp session ์ ๋งบ์ ์๋๋ฐฉ์ด ์ํ AS ์ AS number ๋ฅผ ์ง์ ํ๋ค .
โขnetwork-number ๋ bgp session ์ ๋งบ์ ์๋๋ฐฉ ๋ผ์ฐํฐ์๊ฒ ์๋ ค์ค network-number ๋ค์ ์ ์ธํ๋ฉด ๋๋ค . ์์์๋ IGP ์ ๋ณด๋ฅผ BGP ์ ๋ณด๋ก ์ ๋ฌํ๋ ๋ฐฉ๋ฒ์๋ 3 ๊ฐ์ง๊ฐ ์๋๋ฐ ์ด์ค์์ ๊ฐ์ฅ ๊ถ๊ณ ํ ๋งํ ๊ฒ์ network command ๋ฅผ ์ด์ฉํ๋ ๊ฒ์ด๋ค .
โขbgp session ์ ๋งบ๊ณ ๋ ๋ค์์๋ previledged mode ์์ ๋ฐ๋์ clear ip bgp ๋ช ๋ น์ด๋ฅผ ์ ์ธํด ์ฃผ์ด์ผ ํ๋ค . clear ip bgp * ๋ ๋ชจ๋ bgp session ์ reset ํ๋ฉฐ , clear ip bgp 130.130.1.6 ๊ณผ ๊ฐ์ ๊ฒ์ ํด๋น peer ์์ bgp session ๋ง์ reset ํ๋ค .
โขBGP ๋์์ ํ์ธํ๋ ๋ช ๋ น์ด
โshow ip bgp
โshow ip bgp paths
โshow ip bgp summary
โshow ip bgp regexp regular-expression
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โข router(config-router)# \
aggregate-address address mask [summary-only]
โข example
!routerA
router bgp100
neighbor 130.130.1.6 remote-as 200
network 130.100.0.0
network 130.101.0.0
aggregate-address 130.100.0.0 255.254.0.0 summary-only
A B
AS 100
130.100.0.0
130.101.0.0
BGP 4
130.130.1.5/30 130.130.1.6/30
BGP ์์ summarization
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขaggregate-address ๋ช ๋ น์ด๋ route ์ ๋ณด๊ฐ ์์ถ๋ prefix ํํ๋ก ์ ๋ฌ๋๋๋ก ํ๋ค .
โขmask ๋ wildcard mask ๊ฐ ์๋ subnetmask ํน์ supernetmask ๋ฅผ ๋ช ์ํ๋ค .
โขsummary-only ๋ฅผ ์ ์ธํ์ง ์์ผ๋ฉด ์์ถ๋ prefix ํํํํ์ ์ ๋ณด์ธ์ , ์์ถ๋์ง ์์ network ์ ๋ณด๋ ์ ๋ฌ๋๋ค .
โข์์ถ๋ prefix ํํ๋ก ์ ๋ณด๊ฐ ์ ๋ฌ๋๊ธฐ ์ํด์๋ prefix ํํํํ์ ์ํ๋ ํน์ ํ network number๊ฐ ์ ์ด๋ ํ๋๋ bgp routing table ์ ๋ฑ๋ก๋์ด ์์ด์ผ ํ๋ค . ํน์ network command ์ ์ ์ด๋ ํ๋๋ ์ ์ธ๋์ด ์์ด์ผ ํ๋ค .
โข์์ ์๋ ๋ค์๊ณผ ๊ฐ์ด ํํ ๊ฐ๋ฅํ๋ค .
router bgp 100
neighbor 130.130.1.6 remote-as 200
network 130.100.0.0
aggregate-address 130.100.0.0 255.254.0.0 summary-only
ํน์ router bgp 100
neighbor 130.130.1.6 remote-as 200
network 130.100.0.0 mask 255.254.0.0
aggregate-address 130.100.0.0 255.254.0.0 summary-only
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
AS_path filtering
AS 100
AS 200
AS 300
130.160.0.0130.130.1.5/30
130.130.1.6/30
โข BGP ์ ์ํด ์ ๋ฌ๋๋ ๊ฐ Network Number ์๋ router์ธ์ AS_path ๊ฐ ํจ๊ป ์ ๋ฌ๋์ด ์ด
โข ์์ ๊ทธ๋ฆผ์์ AS 100 ์์ AS 200 ์ ๊ฑฐ์ณ์ค๋ AS300 ์ ๋ํ ์ ๋ณด๋ฅผ ์ฐจ๋จํ ๊ฒฝ์ฐโฆ ..
!routerA
router bgp 100
neighbor 130.130.1.6 remote-as 200
neighbor 130.130.1.6 filter-list 10 in
ip as-path access-list 10deny 300
ip as-path access-list 10permit .*
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขAS_path filtering ์ด๋ ๊ตํ๋๋ BGP routing information ์์ AS_path ๋ฅผ ์ ๊ฒํ์ฌ ์ ์ดํ๋ ๊ฒ์ด๋ค .
โขAS_path filtering ์ ์ด์ฉํ์ฌ ๋คํธ์๊ฐ์ ๋ผ์ฐํ ์ ์ฑ ์ ์ ์ , ๊ตฌํํ ์ ์๋ค .
โขBGP ์์ ์ด์ฉํ ์ ์๋ filtering ๋ฐฉ๋ฒ์๋ โdistribute-list
โas_path
โroute-map
โcommunity ๋ฑ์ด ์๋ค .
โข router(config)#ip as-path access-list \
as-path-access-list-number {permit|deny} regular-expression
- as-path access list ๋ฅผ ์ ์ธํ๋ ๊ฒ์
- as-path-access-list-number ๋ 1~99 ๊น์ง ์ด์ฉ
- regular-expression ์ ํ์ ์ค๋ช ์ฐธ์กฐ
โข router(config-router)#neighbor peer-ip-address filter-list \ as-path-access-list-number{in|out}
-as-path access list ๋ฅผ ํน์ bgp session ์ ์ ์ฉํ๋ ๊ฒ
AS_path filtering ๋ฐฉ๋ฒ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
โขregular expression. ์์์ ๋ฌธ์๋ก ๊ณต๋ฐฑ๋ ์ธ์ ๋จ* ํน์ ํํ๊ฐ 0๋ฒ ์ด์ ๋ฐ๋ณต+ ํน์ ํํ๊ฐ 1๋ฒ ์ด์ ๋ฐ๋ณต? ํน์ ํํ๊ฐ 1๋ฒ ์ดํ ๋ฐ๋ณต[] ํ ๋ฌธ์์ ๋ฒ์๋ฅผ ์ง์ - ํ ๋ฌธ์์ ๋ฒ์๋ฅผ ์ง์ ํ ๋ ์์๊ณผ ๋์ ๋ถ๋ฆฌ^ ๋ฌธ์์ด์ ์์$ ๋ฌธ์์ด์ ๋_ ์ผํ , {, }, (, ), ^, $, ๊ณต๋ฐฑ
โขregular expression ์a.b aab, acb, a b, a+ba* ์์ , a, aa, aaa, .....(ab)* ์์ , ab, abab, ababab, ......* ์์ , ์ด๋ค ๋ฌธ์์ด์ด๋ผ๋ ์๊ด์์a?bb bb, abb [a-z]b ab, bb, cb, ..., zb
โขas_path ์ regular expression ์ ์ฉ ์โ^100$ 100โ100 100, 100 200, 200 100 300, 200 300 100, ....โ^100 100, 100 200, 100 200 300, ......โ^100.* ^100โ^$ ์์ ์ AS ์์ ๋ฐ์ํ ๊ฒโ_100_ ^100$, 100, ^100, ^100.*, 100$ ๋ฅผ ๋ชจ๋ ํฌํจ
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
1. ๋ผ์ฐํฐ์ Log ๋ฉ์์ง๋ฅผ Sun Workstation ์ ์ ์ฅํ๋ ๋ฐฉ๋ฒ โข ๋ด์ฉ - root ๋ก login ํ๋ค - /etc/syslog.conf ํ์ผ์์ ๋ค์๊ณผ ๊ฐ์ ๋ฌธ๊ตฌ๋ฅผ ๋งจ ๋ท๋ถ๋ถ์ ์ถ๊ฐํ๋ค . - local7.debug /var/adm/log ( ์ฌ๊ธฐ์ ๋น์นธ์ ๋ฐ๋์ tab ์ ์ฌ์ฉํ์ฌ์ผ ํจ . space ๋ฅผ ์ฌ์ฉํ๋ฉด ์ธ์ํ์ง ๋ชปํ๋ค ) - log ํ์ผ์ ๋ง๋ ๋ค % cd /usr/adm % touch log - ํ์ผ์ permission ์ rw-rw-rw-(0666) ์ผ๋ก ๋ณ๊ฒฝํ๋ค . % chmod 0666 log - ์๋ก์ด syslog.conf ์ ๋ณด๋ฅผ ์ฝ์ด๋ค์ผ ์ ์๋๋ก process ๋ฅผ ์ฌ ์๋ํ๋ค % kill -HUP `cat /etc/adm/syslog.pid` - ๋ผ์ฐํฐ์์ ๋ค์ ์ค์ ์ ์ ๋ ฅํ๋ค . (config)# service timestamps(log message ์ ์๊ฐ์ ๋จ๊ธฐ๊ธฐ ์ํจ ) (config)# logging 1.2.3.4 (Sun Workstation ์ IP ์ฃผ์ ) ์์ ๊ฐ์ ๊ณผ์ ์ ๊ฑฐ์น๋ฉด ๋ผ์ฐํฐ์ log ๋ฉ์์ง๊ฐ /usr/adm/log ์ ์ ์ฅ๋๊ฒ ๋๋ค . โข ๋ณ๋ ์ฅ๋น ์์ด ๋ผ์ฐํฐ์ log ๋ฉ์์ง๋ฅผ ์ ์ฅํ ํ ๋ณด๊ณ ์ ํ ๊ฒฝ์ฐ์๋ (config)# service timestamps (config)# logging buffered 8192 (log buffer ์ ํฌ๊ธฐ :byte) ์ดํ show logging ์ ์ฌ์ฉํ๋ฉด log ๋ฉ์์ง๋ฅผ ์กฐํํ ์ ์๋ค
Cisco Router TIP
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
2. Cisco Router Y2K ํด๊ฒฐ ์ํฉ ( ์์ธํ ๋ด์ฉ์ www.cisco.com ์ฐธ์กฐ )
์ ํ Y2K ํด๊ฒฐIOS ์ ํ Y2K ํด๊ฒฐIOScisco 760 4.1 ์ด์ AS 5100 TCS 3.0 ์ด์cisco/CPA 1000 11.0 ์ด์ AS 5200 11.1 ์ด์cisco 1600/3600 11.1 ์ด์ AS 5300 11.2 ์ด์cisco 2600 11.3 ์ด์ AS 5800 11.3 ์ด์cisco/CPA 2500 11.0 ์ด์ cisco 7000/7500 11.0 ์ด์cisco 3800 11.2 ์ด์ cisco 7200 11.1 ์ด์cisco/CPA 4000 11.0 ์ด์ cisco 12000 11.2 ์ด์
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
3. Cisco IOS ์ด๋ฆ ๋ช ๋ช ๋ฒ
โข Cisco IOS ๋ ๋ค์๊ณผ ๊ฐ์ ๊ท์น์ ์ํด์ ์ด๋ฆ์ด ๋ถ์ฌ๋๋ค . xxxx-yyyy-ww xxxx : Platform yyyy : Feature ww : ์ด๋๋ก ๋ถํฐ IOS ๊ฐ ์คํ๋๋๊ฐ , ๋๋ ์์ถ ์ ๋ฌด โข Platform as5200 5200 cpa25 CiscoPro 2500 c1005 1005 c2500 25xx, 3xxx, 5100, AP (11.2 and later only) c2600 2600 Quake platform c2800 Catalyst 2820 c2900 2910, 2950 c3620 3620 c3640 3640 c4000 4000 (11.2 and later only) c4500 4500, 4700 c5rsm Catalyst 5000 RSP platform c5atm Catalyst 4000 ATM platform c7000 7000, 7010 (11.2 and later only) c7200 7200 igs IGS, 25xx, 3xxx, 5100, AP gs7 gateway server (7000, 7010)
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
mc3810 Ardent Multiservice Cisco 3810 platform rsp 75xx xx 4000 โข Feature a - APPN a2 - ATM b - Appletalk boot - used for boot images c - Comm-server/Remote Access Server(RAS) subset (SNMP, IP, Bridging, IPX, AT, Decnet, FR, HDLC,
PPP, X.25, ARAP, tn3270, PT, XRemote, LAT) c - Comm-server Lite(CiscoPro) c2 - Comm-server/Remote Access Server(RAS) subset d - Desktop subset (SNMP, IP, Bridging, WAN, Remote Node, Terminal Service, IPX, AT, ARAP) d2 - reduced Desktop subset (SNMP, IP, IPX, AT, ARAP) eboot - ethernet boot image for mc3810 platform f - FRAD subset (SNMP, FR, PPP, SDLLC, STUN) f2 - modified FRAD subset (EIGRP, Pcbus, Lan Mgr, removed, OSPF added) g - ISDN subset (SNMP, IP, Bridging, ISDN, PPP, IPX, AT) g2 - gatekeeper proxy, voice and video i - IP subset(SNMP, IP, Bridging, WAN, Remote Node, Terminal Service) i2 - subset similar to IP subset for system controller image(3600) i3 - reduced IP subset with BGP/MIB, EGP/MIB, NHRP, DIRRESP removed j - enterprise subset (formerly bpx, includes protocol translation) **10.3 ๊น์ง๋ ์ฌ์ฉ๋์ง ์์ k - kitchen sink (enterprise for high-end) **10.3 ์ดํ์๋ ์ฌ์ฉ๋์ง ์์ l - IPeXchange IPX, static routing, gateway m - RMON (11.1 only) n - IPX
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
o - FIrewall (Formerly IPeXchange Net Management) p - Service Provider (IP RIP/IGRP/EIGRP/OSPF/BGP, CLNS, ISIS/IGRP) p2 - Service Provider w/CIP2 ucode p3 - AS5200 service provider p4 - 5800(Nitro) service provider q - Async q2 - IPeXchange Async r - IBM base option (SRB, SDLLC, STUN, DLSW, QLLC) - i, in, d ์ ๊ฐ์ด ์ฌ์ฉ r2 - IBM variant for 1600 images r3 - IBM variant for Ardent images (3810) r4 - reduced IBM subset with BSC/MIB, BSTUN/MIB, ASPP/MIB, RSRB/MIB removed s - source route switch (SNMP, IP, Bridging, SRB) (10.2 and following) s - (11.2 only) addition to the basic subset (Plus version) c1000 - (OSPF, PIM, SMRP, NLSP, ATIP, ATAURP, FRSVC, RSVP, NAT) c1005 - (X.25, full WAN, OPSPF, PIM, NLSP, SMRP, ATIP, ATAURP, FRSVC, RSVP, NAT) c1600 - (OSPF, IPmulticast, NHRP, NTP, NAT, RSVP, FRSVC) c2500 - (NAT, RMON, IBM, MMP, VPDN/L2F) c2600 - (NAT, IBM, MMP, VPDN/L2F, VoIP and ATM) c3620, 3640 - (NAT, IBM, MMP, VPDN/L2F) in 11.3T added VoIP c4500 - (NAT, ISL, LANE, IBM, MMP, VPDN/L2F) c5200 - (PT, v.120, managed modems, RMON, MMP, VPDN/L2F) c5300 - (MMP, VPDN, NAT, managed modems, RMON, IBM) c5rsm - (NAT, LANE and VLANS) c7000 - (ISL, LANE, IBM, MMP, VPDN/L2F) c7200 - (NAT, ISL, IBM, MMP, VPDN/L2F) rsp - (NAT, ISL, LANE, IBM, MMP, VPDN/L2F) t - (11.2)AIP w/ modified Ucode to connect to Teralink 1000 Data
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
u - IP with VLAN RIP (Network Layer 3 Switching Software, rsrb, srt, srb, sr/tlb) v - VIP and dual RSP(HSA) support w - Reserved for WBU w2 - Reserved for CiscoAdvantage ED train w3 - Reserved for Distributed Director x - X.25 in 11.1 and earlier release y - reduced IP (SNMP, IP RIP/IGRP/EIGRP, Bridging, ISDN< PPP) (C1003/4) - reduced IP (SNMP, IP RIP/IGRP/EIGRP, Bridging, WAN - X.25) (C1005) (11.2 - includes X.25) (C1005) y - IP variant (no Kerberos, Radius, NTP, OSPF, PIM, SMRP, NHRP...) (C1600) y2 - IP variant (SNMP, IP RIP/IGRP/EIGRP, WAN - X.25, OSPF, PIM) (C1005) y2 - IP Plus variant (no Kerberos, Radius, NTP...) (C1600) y3 - IP/X.31 Y4 - reduced IP variant (Cable, Mibs, DHCP, EZHTTP) z - managed modems 40 - 40 bit encrytion 56 - 50 bit encryption 56i - 56 bit encryption with IPSEC
โข ์ด๋๋ก ๋ถํฐ IOS ๊ฐ ์คํ๋๋๊ฐ , ๋๋ ์์ถ ์ ๋ฌด
f - Flash m - RAM r - ROM l - relocatable z - zip compressed x - mzip compressed
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
4.Cisco IOS Bootstrap Option(IOS ์์น )
โข ๋ด์ฉ Cisco Router ์์๋ ๋ถํ ํ ๋ IOS Image ๋ฅผ Load ํ๊ธฐ ์ํ ์์๋ฅผ ์ง์ ํด์ฃผ๊ธฐ ์ํ ์ค์ ์ด ์๋ค . IOS ๋ฅผ Load ํ๊ธฐ ์ํ ๋ฐฉ๋ฒ์๋ ๋ค์๊ณผ ๊ฐ์ด ์ธ๊ฐ์ง๊ฐ ์๊ณ ๊ฐ๊ฐ์ โ boot systemโ ์ด๋ผ๋ ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ์ค์ ํ ์ ์๋ค . ์ด๋ Mission Critical ํ ํ๊ฒฝ์์ Flash Memory ๊ฐ ๊นจ์ง๊ฑฐ๋ ๋ฌธ์ ๊ฐ ์๊ฒผ์ ๊ฒฝ์ฐ์ ๋์ฒํ๋ ๋ฐฉ๋ฒ์ผ๋ก ์ฌ์ฉํ ์ ์๋ค .
โข Flash ๋ก๋ถํฐ Router(config)# boot system flash flash_IOS_filename
โข Network(tftp server) ๋ก๋ถํฐ Router(config)# boot system flash_IOS_filename tftp_server_address
โข ROM ์ผ๋ก๋ถํฐ Router(config)# boot system rom
์์ ๊ฐ์ ๋ฐฉ์์ผ๋ก ์ค์ ํ๊ฒ ๋๋ฉด ์์๋๋ก IOS Image ๋ฅผ Load ํ๊ธฐ ์ํด์ ์๋ํ๊ฒ ๋๊ณ ์คํจํ ๊ฒฝ์ฐ ๋ค์ ์์๋ก ๋์ด๊ฐ๋ฉด์ ์ฐพ๊ฒ ๋๋ค . ์ฆ , ๋งจ์ฒ์ Flash Memory ์์ IOS ๋ฅผ ์ฐพ๊ณ ์ด๋ฅผ ์คํจํ๋ฉด ์ฐจ๋ก๋๋ก TFTP ์๋ฒ , ROM ์ผ๋ก IOS ๋ฅผ Load ํ๊ธฐ ์ํด ์๋ํ๊ฒ ๋๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
5.Configuration ์ ๋ณด๋ฅผ Backup/Restore ํ๋ ๋ฐฉ๋ฒ
โข ๊ฐ์ Cisco Router. ์ Configuration ์ ๋ณด๋ฅผ ๋ค๋ฅธ ์์คํ ์ Backup ํ๊ฑฐ๋ ๋ค๋ฅธ ์์คํ ์ Backup ๋์ด์๋ Configuration ์ ๋ณด๋ก ๋ถํฐ Router ๋ก ๋ณต์ฌํ๋ ๋ฐฉ๋ฒ
โข ๋ด์ฉ "show config" ๋ฅผ ์ํํ๋ฉด ํ์ฌ Router ์ ์ค์ ๋์ด์๋ ๋ชจ๋ Config ์ ๋ณด๊ฐ ์ ์ฅ๋์ด์๋ค . ์ด ์ ๋ณด๋ Router ์ NVRAM ์ ์ ์ฅ๋์ด์๋ ์ ๋ณด๋ก์จ ๋ถํ ์์ DRAM ์ผ๋ก Load ๋๋ฉด์ Router ์ ๊ธฐ๋ณธ์ค์ ์ ๊ธฐ๋ฅ ์ ํ๊ฒ๋๋ค . ๋ง์ฝ ์์ ์ ๋ณด๊ฐ ์ง์์ง๊ฑฐ๋ ๋ค๋ฅธ ๊ณณ์ผ๋ก๋ถํฐ ์ค์ ๋ ์ ๋ณด๋ฅผ ๊ฐ์ ธ์ค๊ธฐ ์ํด์๋ ๋ค๋ฅธ ์์ค ํ ์ผ๋ก ์ ์ฅ /๋ณต๊ตฌํ ์ ์๋ ๊ธฐ๋ฅ์ด ํ์ํ๊ฒ ๋๋ค . ์ด๋ ํ์ฌ Network ์์ TFTP Server ์ ์ญํ ์ ํ๋ ์์คํ ์ด ์กด์ฌํ๊ณ ์์ด์ผ๋ง ๊ฐ๋ฅํ๊ณ ๋ฐฉ์์ ๋ค์๊ณผ ๊ฐ๋ค .
โข Router ์์ ๋ค๋ฅธ ์์คํ (TFTP ์๋ฒ ) ์ผ๋ก ์ค์ ์ ๋ณด๋ฅผ Backup ๋ฐ๋ ๋ฐฉ๋ฒ - copy startup tftp - tftp_server ์ ์ฃผ์๋ฅผ ์ ๋ ฅํ๋ค . - ๋ฐฑ์ ๋ฐ๊ณ ์ ํ๋ ํ์ผ์ ์ด๋ฆ์ ์ ๋ ฅํ๋ค (default ๋ก Router ์ "hostname-confg" ๋ก ์ค์ ๋๋ค ) ์์ ๊ณผ์ ์ ๊ฑฐ์น๊ฒ ๋๋ฉด tftp server ์ tftp_root directory ๋ก ์ง์ ํ ํ์ผ์ด ์ ์ฅ๋๊ฒ ๋๋ค .
โข ๋ค๋ฅธ ์์คํ (TFTP ์๋ฒ ) ์ผ๋ก๋ถํฐ ์ค์ ์ ๋ณด๋ฅผ ๋ณต์ฌํด์ค๋ ๋ฐฉ๋ฒ - cpy tftp startup - tftp_server ์ ์ฃผ์๋ฅผ ์ ๋ ฅํ๋ค . - ๋ณต์ฌํ๊ณ ์ ํ๋ ํ์ผ์ด๋ฆ์ ์ ๋ ฅํ๋ค
์์ ๊ฐ์ด TFTP ์๋ฒ๋ก ๋ฐฑ์ ๋ฐ์๋์ ์ค์ ์ ๋ณด๋ Window 95 ์ " ์๋ํจ๋ " ๋ฅผ ํตํด์ ๋ด์ฉ์ ๋ณผ ์ ์๋ค("๋ ธํธํจ๋ " ๋ก๋ ์ ๋๋ก ๋ณด์ด์ง ์๋๋ค )
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
6.S/W Feature Pack ์ ์ด์ฉํ IOS Upgrade
Cisco Router ์ ๊ฒฝ์ฐ IOS Upgrade ๋ฐฉ๋ฒ์ TFTP service ๋ฅผ ์ฌ์ฉํ์ฌ ์งํํ๊ฒ ๋์ด์๋ค . ์ด๋ File Copy ๋ฐฉ์์ ์ทจํ๋ ํ๋ก๊ทธ๋จ์ค์์ TFTP service ๊ฐ ๊ฐ์ฅ ์ ์ ์คํ๋ชจ๋์ ๊ฐ์ง๊ณ ์๊ธฐ ๋๋ฌธ์ FTP service ์ ๊ฐ์ด ๋์ค์ ์ด์ง๋ง ์คํ๋ชจ๋์ด ํฐ ํ๋ก๊ทธ๋จ์ ๋นํด Router S/W ์ ๋ถ๋ด์ ๋ ์ฃผ๊ธฐ ๋๋ฌธ์ด๋ค . ์์ ๋ฐฉ์์ ๋ณดํต Unix ์์คํ ์์ TFTP service ๋ฅผ ๊ธฐ๋ํ ํ ์ฌ์ฉํ๊ฒ ๋๋๋ฐ ์ด์ ๋ฐฉ์์ด ๊น๋ค๋กญ๊ณ , ๋ํ ํ์ฌ๋ Unix ์์คํ ์ ์ฌ์ฉํ์ง ์๋ ๊ฒฝ์ฐ๋ ๋ง์ด ์๊ธฐ ๋๋ฌธ์ Cisco ์์๋ ๋ณ๋์ S/W Feature Pack CD ๋ฅผ ํ๋งคํ์ฌ ์ด๋ฅผ Window95 PC ๋ฅผ ํตํด์ GUI ํ๊ฒฝ์์ ์ฝ๊ฒ IOS ๋ฅผ Upgrade ํ ์ ์๊ฒ ํ๋ Tool ์ ์ ๊ณตํ๊ณ ์๋ค .
โข ๋ด์ฉ๋ค์๊ณผ ๊ฐ์ ์ ์ฐจ๋ฅผ ๊ฑฐ์ณ์ IOS ๋ฅผ Upgrade ํ๋ค . 1. PC ์ Com Port ์ Router ์ console port ๋ฅผ console cable ์ ํตํด์ ์ฐ๊ฒฐํ๋ค . 2. PC ์ LAN Port ์ Router ์ ethernet port ๋ฅผ crossover cable ์ ํตํด์ ์ฐ๊ฒฐํ๋ค . 3. PC ์ S/W Feature Pack CD ๋ฅผ ๋ฃ์ ํ cpwsinst.exeํ์ผ์ ์คํํ๋ค . 4. Media type( ๋๊ฐ์ ๊ฒฝ์ฐ Ethernet) ๊ณผ Router ์ password ๊ฐ ์ค์ ๋์ด ์๋ ๊ฐ๋ฅผ ๊ธฐ์ค์ผ๋ก New Router/Preconfigured Router ๋ฅผ ๊ตฌ๋ถํ์ฌ ๊ฒฐ์ ํ๋ค . 5. ์ดํ console ๋ฐ Lan cable ์ ํตํด์ Router ์์ ์ฐ๊ฒฐ์ํ๋ฅผ ์ ๊ฒํ ๊ฒ์ด๋ค . 6. ์ฐ๊ฒฐ์ํ๊ฐ ์ ํํ๋ฉด ๋ค์ํ๋ฉด์ผ๋ก ๋์ด๊ฐ๋ฉฐ , ์ฌ๊ธฐ์ Upgrade ํ๊ณ ์ ํ๋ IOS ์ ์ข ๋ฅ๋ฅผ ์ ํํ๊ณ ์ด๋ฅผ ๋๋ฒ Click ํ๋ฉด Upgrade ๊ฐ ์งํ๋ ๊ฒ์ด๋ค . 7. Upgrade ๊ฐ ๋๋๋ฉด ํด๋น ํ๋ก๊ทธ๋จ์ ์ข ๋ฃํ๋ค . - step 4 ์์ ์ด๋ค ๋ฐฉ์์ผ๋ก Router ๋ฅผ ์ค์ ํ๋์ง ๊ฐ์ IP network ํ๊ฒฝ์์ ํต์ ์ ํ๊ธฐ ์ํด์๋ router ์ ethernet port ์ address ๋ฅผ ์ค์ ํด ์ฃผ์ด์ผ ํ๊ธฐ ๋๋ฌธ์ ์์ ํ๋ก๊ทธ๋จ์ router ์ ์์์ ์ผ๋ก ethernet address ๋ฅผ ํ ๋นํ๋ค . ์ด๋ฅผ upgrade ๊ฐ ๋๋ ์์ ์์ ๋ค์ ์๋์ ip address ๋ก ๋ณํํด ์ฃผ์ด์ผ ํ๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
7.TFTP Server ๋ฅผ ์ด์ฉํ IOS Upgrade
โข๊ฐ์Cisco Router ์ ๊ฒฝ์ฐ IOS Upgrade ๋ฐฉ๋ฒ์ TFTP service ๋ฅผ ์ฌ์ฉํ์ฌ ์งํํ๊ฒ ๋์ด์๋ค . ์ด๋ File Copy ๋ฐฉ์์ ์ทจํ๋ ํ๋ก๊ทธ๋จ์ค์์ tftp service ๊ฐ ๊ฐ์ฅ ์ ์ ์คํ๋ชจ๋์ ๊ฐ์ง๊ณ ์๊ธฐ ๋๋ฌธ์ FTP service ์ ๊ฐ์ด ๋์ค์ ์ด์ง๋ง ์คํ๋ชจ๋์ด ํฐ ํ๋ก๊ทธ๋จ์ ๋นํด Router S/W ์ ๋ถ๋ด์ ๋ ์ฃผ๊ธฐ ๋๋ฌธ์ด๋ค . ๋คํธ์ํฌ ์์ TFTP ์๋น์ค๋ฅผ ์คํ์ค์ธ ์๋ฒ๊ฐ ์์ด์ผ ํ๋ค . UNIX ๋ TFTP daemon ์ด OS ์ ๊ธฐ๋ณธ ๋ด์ฅ๋์ด ์์ผ๋ฏ๋ก ๊ธฐ์ข ์ ๋ฐ๋ฅธ ์ค์น๋ฒ๋๋ก ์ค์น ํ๋ค . NT ๋ฐ Windows 9x ์ ๊ฒฝ์ฐ ๊ณต๊ฐ์ฉ TFTP service ๊ฐ ์์ผ๋ฏ๋ก ๋ค์ด๋ก๋ ๋ฐ์ ์ค์น ํ๋ค . โข ๋ด์ฉ
1. IOS ํ์ผ ( ๋ณดํต ํ์ฅ๋ช ์ด .bin) ์ TFTP ์๋ฒ์ service root ๋๋ ํ ๋ฆฌ๋ก ๋ณต์ฌํ๋ค . 2. Router ์ Ethernet port ๋ฅผ ์ค์ ํ์ฌ (์ค์ ๋ฐฉ๋ฒ์ "Cisco Router ๋ถํ ํ ์ด๊ธฐํ ์ค์ ๋ฐฉ๋ฒ " ์ฐธ์กฐ ) ๋คํธ์ํฌ์ ์ฐ ๊ฒฐํ๋ค .( ์ด๋ ๋ฐ๋์ "Router# write" ๋ฅผ ์ํํ๊ณ ์ด๋ฏธ ์ฌ์ฉ์ค์ธ ๊ฒฝ์ฐ์๋ ์๋ตํจ ) 3. Router ๋ฅผ ๋ถํ ํ๊ณ privilege mode ๋ก ์ด๋ํ๋ค . - Router>en - Router# 4. Copy ๋ช ๋ น์ ์ด์ฉํ์ฌ IOS ๋ฅผ ๋ฐฑ์ ํด ๋๋ค . - Router# copy flash tftp 5. ํ์ผ๋ช ์ ์ ํํ ๊ธฐ์ ํ๋ฉฐ TFTP ์๋ฒ์ ์์น๋ฅผ ๋ฌผ์ผ๋ฉด TFTP ์๋ฒ์ IP address ๋ฅผ ์ ํํ ์ ๋ ฅํ๋ค . "Router# show flash" ๋ก ํ์ธ ๊ฐ๋ฅ 6. copy ๋ช ๋ น์ผ๋ก IOS ๋ฅผ Flash ๋ก ๋ก๋ ํ๋ค . - Router# copy tftp flash 7. ํ์ผ๋ช ์ ์ ํํ ๊ธฐ์ ํ๋ฉฐ TFTP ์๋ฒ์ ์์น๋ฅผ ๋ฌผ์ผ๋ฉด TFTP ์๋ฒ์ IP address ๋ฅผ ์ ํํ ์ ๋ ฅํ๋ค . 8. ๋ณต์ฌ์ ์ Flash ๋ฅผ erase ํ ๊ฒ์ธ์ง๋ฅผ ๋ฌผ์ผ๋ฉด yes ๋ฅผ ์ ๋ ฅํ๋ค . 9. IOS ๋ณต์ฌํ reload ํ ๊ฒ์ด๋ค . โข ๋น๊ณ
- ๋ชจ๋ธ์ ๋ฐ๋ผ FastEthernet ๋ชจ๋์ด ์ค์น ๋์ด ์๋ ๊ฒฝ์ฐ Boot ROM Flash ๊ฐ ์ด๋ฅผ ์ธ์ํ์ง ๋ชปํ๋ ๊ฒฝ์ฐ๊ฐ ์ ๊ณ ์ด ๋๋ ์์ ๋ฐฉ๋ฒ์ ์ฌ์ฉํ ์ ์๋ค .
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
8.Cisco Router Password Recovery โข ์์ธ Cisco Router ์ ๊ฒฝ์ฐ configuration ์ ๋ณด๋ NVRAM(password ํฌํจ ) ์ ์ ์ฅ๋๊ณ default ๋ก booting ์์ NVRAM ์ ์ ๋ณด๋ฅผ ์ฝ์ด๋ค์ฌ์ ํ์ฌ ์ค์ ๋์ด ์๋ password ๋ฅผ ๋ฌผ์ด๋ณด๊ฒ ๋๋ค . ์ด๋ฅผ ์์ด๋ฒ๋ ธ์ ๊ฒฝ์ฐ์๋ booting ์์ NVRAM ์ ์ ๋ณด๋ฅผ ๋ฌด์ํ๊ณ booting ํ๊ฒ ๋ง๋ ํ ์๋ก์ด password ๋ง์ ๋ณ๊ฒฝํ์ฌ ์ ์ฅํ๊ณ ๋ค ์ booting ํ๋ ์ ์ฐจ๋ฅผ ์ทจํด์ผ ํ๋ค . โข ํด๊ฒฐ๋ฐฉ๋ฒ ๋ค์๊ณผ ๊ฐ์ ๊ณผ์ ์ ํตํด password ๋ฅผ ์๋ก์ด ์ค์ ํ ์ ์๋ค - PC ์ Com Port ์ Router ์ console port ๋ฅผ console cable ์ ํตํด์ ์ฐ๊ฒฐํ๋ค . - Terminal Emulation ํ๋ก๊ทธ๋จ ( ex:โHyperTerminalโ) ์ ์ฌ์ฉํ์ฌ ๋ค์๊ณผ ๊ฐ์ด ์ค์ ํ๋ค . (9600 baudrate,1 stopbit, no parity) - 'show versionโ๋ช ๋ น์ ์ฌ์ฉํ์ฌ ํ์ฌ router ์ ์ค์ ๋์ด ์๋ configuration register ์ ๊ฐ์ ๊ธฐ๋กํด ๋๋ค ( ๋ณดํต 0x2102 or 0x102). - router ์ ์ ์์ ๊ป๋ค๊ฐ ์ผ ๋ค . - ์ ์์ด ๋ค์ด์จ ํ 60์ด์ด๋ด์ terminal ์์ Break Key(Ctrl-Break) ๋ฅผ ๋๋ฅธํ ์ํฐํค๋ฅผ ์น๋ฉด โ >โ prompt ๊ฐ ๋ณด์ด๊ฒ ๋๋ค . ๋ง์ฝ ์์ ๊ฐ์ด Break Key ๊ฐ ์ ๋๋ก ์ธ์๋์ง ์์ ๊ฒฝ์ฐ์๋ ํด๋น terminal emulation ํ๋ก๊ทธ ๋จ์์ Break Key ๊ฐ ํน์ ๊ธฐ๋ฅ์ผ๋ก ์ค์ ๋์ด ์๋ ๊ฒฝ์ฐ์ด๋ฏ๋ก , Hyper Terminal ํ๋ก๊ทธ๋จ์ ์ฌ์ฉํ๋ ๊ฒ์ ๊ถ์ฅํ๋ค . - Cisco Router ์ ๊ฒฝ์ฐ configuration ์ ๋ณด (password ํฌํจ ) ๊ฐ NVRAM ์ ์ ์ฅ๋์ด ์๋๋ฐ booting ์์ NVRAM ์ ์ ๋ณด๋ฅผ ๋ฌด์ํ๊ฒํ๋ ์ค์ ์ ๋ค์๊ณผ ๊ฐ์ด ํด์ฃผ์ด์ผ ํ๋ค . - Flash Memory ๋ก ๋ถํฐ Booting ํ ๊ฒฝ์ฐ : โo/r0x42โ - ROM ์ผ๋ก ๋ถํฐ Booting ํ ๊ฒฝ์ฐ : โo/r0x41โ (flash memory ๊ฐ ์๊ฑฐ๋ ์์๋์์ ๊ฒฝ์ฐ ) "o" ๋ ์ํ๋ฒณ ์๋ฌธ์ โ oโ ์ . - Cisco 1600/2600/3600 ๋ ์์ ์ ๋ ฅ๋์ โ confreg 0x42โ or โconfreg 0x41โ ์ ์ ๋ ฅํ๋ค . 0x41 ์ ์ฌ์ฉํ ๊ฒฝ ์ฐ์๋ ๋จ์ง configuration ์ ๋ณด๊ฑฐ๋ ์ง์ฐ๋ ๊ฒ๋ง ๊ฐ๋ฅํ๊ณ password ๋ฅผ ๋ณ๊ฒฝํ๋ ๊ฒ์ ๊ฐ๋ฅํ์ง ์๋ค . - ๋ค์ โ >โ prompt ์์ โ iโ ์ ์ ๋ ฅํ๋ฉด router ๋ ๊ธฐ์กด์ ์ ์ฅ๋ configuration ์ ๋ฌด์ํ๊ณ booting ํ๊ฒ ๋๋ค (Cisco 1600/2600/3600 ๋ฑ์ ์ ํ์ โ resetโ ์ ์ ๋ ฅํ๋ค )
Co
nn
ecti
ng
Pe
op
le T
o In
form
ati
on
- ๋ชจ๋ ๋ฌผ์์ ๋ํ์ฌ โ noโ ๋ผ๊ณ ์ ๋ ฅํ๋ค . - booting ์ด ์๋ฃ๋ ํ โ Router>โ prompt ์์ โ enableโ ์ ์ ๋ ฅํ๋ฉด โ Router #โ ๋ก prompt ๊ฐ ๋ฐ๋๊ฒ ๋๋ฉฐ ์ง ๊ธ๋ถํฐ ๊ธฐ์กด์ password ๋ฅผ ๋ฌด์ํ๊ณ ์๋ก์ด password ๋ฅผ ์ค์ ํ๋ ๊ฒ์ด ๊ฐ๋ฅํ๊ฒ ๋๋ค . - "config termโ ์ ์ ๋ ฅํ๊ณ โ enable secret passwordโ( ์ฌ๊ธฐ์ password ๋ ๋ณ๊ฒฝํ๊ณ ์ ํ๋ ์๋ก์ด password ๋ฅผ ์๋ฏธ ) ๋ฅผ ์ฌ์ฉํ์ฌ password ๋ฅผ ๋ณ๊ฒฝํ๋ค . - ์์์ ๊ธฐ๋กํด ๋์ ์๋์ configuration register๊ฐ์ผ๋ก ๋ณต๊ตฌํ๋ค . (config)# config-register 0x2102 or 0x102 - "ctrl-zโ ์ ์ ๋ ฅํ์ฌ configuration mode ์์ ๋น ์ ธ ๋์จ๋ค . - "writeโ ์ ์ ๋ ฅํ์ฌ ํ์ฌ๊น์ง ์์ ํ ๋ด์ฉ์ ์ ์ฅํ ํ โ reloadโ ์ ์คํํ๋ฉด ์๋ก์ด ์ ์ฅ๋ ๋ด์ฉ์ผ๋ก router ๊ฐ booting ํ ๊ฒ์ด๋ค .
9.Cisco Router ์์์ Serial Port ์ ์ ์ ๋ฌด ํ์ธ๋ฐฉ๋ฒ โข๋ด์ฉ ๋ค์๊ณผ ๊ฐ์ ์ ์ฐจ๋ฅผ ํตํด์ Serial Port ์ ์ ์์ฌ๋ถ๋ฅผ ํ์ธํ ์ ์๋ค . - Serial Port ์ DCE(DSU/CSU) ๋ฅผ V.35 Cable ์ ์ฌ์ฉํ์ฌ ์ฐ๊ฒฐํ๋ค . - Router ์ console port ์ PC ์ com port ๋ฅผ console cable ์ ์ฌ์ฉํ์ฌ ์ฐ๊ฒฐํ๋ค . - Serial port ์ ์์์ IP Address ๋ฅผ ์ค์ ํด์ฃผ๊ณ ํด๋น port ๋ฅผ โ no shutdownโ ์ ํตํด์ enable ์ํจ๋ค . - DCE(DSU/CSU) ์ฅ๋น์์ LLB(Local Loopback) ์ ์ค์ ํ๋ค . - "sh interface serial port-noโ ์ ์ ๋ ฅํด์ ํด๋น port ๊ฐ โ Loopingโ ์ด๋ผ๊ณ ํ์๋๊ณ ์์ ์ port ์ Ping ์ ์ฌ์ฉ ํด์ ์ ๋๋ก reply ๊ฐ ๋์์ค๋์ง๋ฅผ ํ์ธํ๋ค . - serial port ๊ฐ looping ์ํ๋ก ํ์๋๊ณ ์์ ์ port ๋ก ํ ์คํธํ ping๋ช ๋ น์ด๊ฐ ์ ์์ ์ผ๋ก ์ํ๋๋ฉด serial port ๋ ์ ์์ ์ธ ๊ฒ์ผ๋ก ๊ฐ์ฃผํ ์ ์๋ค .
์์ ๊ณผ์ ์ V.35 Cable ๊ณผ DCE ์ฅ๋น๊ฐ ์ ์์ ์ธ ๊ฒฝ์ฐ๋ผ๊ณ ๊ฐ์ ํ์ ๋ ์ ํจํ๋ค .