ͥåȥڥꥹ - SE̼η -

ͥåȥڥꥹȤλкȤǤͥåȥڥꥹȻι
̡ʤΥġ⡢μʤɤξǺܤޤкߥʡԤäƤޤ ͥåȥڥꥹ
кʤ麸κǤܤ֥ͥڡץ꡼ʵɾҡˤǡ
ͥåȥڥꥹȻ˹ʤȡͥåȥ˴ؤμ䵻ѤǤʤɲϤʸϤȤˤĤޤ
ˡλ˹ʤǤȤ뤳ȤǤޤ

ƥꡧ11.롼ƥ > 11.4 OSPF

OSPFϤޤǤβǤϡƧ߹꤬ޤꤵƤʤǾ夲ƤΤȡH20θ2ǷڤƤǤ롣
OSPFγǰŪʸդΤäƤ٤Ǥ뤬ޤƧ߹ٶפ⤷ʤޤơCCNAǽФƤ褦ƤޤǤפȹͤ롣
1

⤽⡢OSPFϤʤɬפʤǤä
RIPǤ⽽ʬǤϡ
ΡȤȤǰΤΰĤǤ롣RIPϥۥå׿Ȥ롼οǤϩ椬Ǥʤ100Mβ1MβǤϡ100Mͥ褷ϩ椬졢¸ˤOSPFɬפ

ǤϤǡ濴ˤOSPFδŪƤʲ˽Ҥ٤롣

OSPFδŪ
ȤȤǰѤƤ롣
ǤϡOSPFηϩ˴ؤơַϩϡꥢγǰ줿󥯾Ǥ롣H19NW28ˡפȽҤ٤Ƥ롣󥯾դ󥯥ơȷ르ꥺȤդΤۤ߿Ǥ
Ȥϩͥ褵롣ޤƱȤξ硢ʬ롣H14NW44򻲾ȡ
ǤϡIPͥåȥΥ롼ƥ󥰥ץȥΰĤǤOSPFȤơ֥ͥåȥ򥨥ꥢȸƤñ̤ʬ䤷ꥢ֤ХåܡǷַ֤Τꡢ®٤ʤɤθ㥳ȥ롼ƥ󥰤ԤץȥǤ롣H20NW28ˡפȽҤ٤Ƥ롣
浬ϤʥͥåȥѤ뤳Ȥ¿ä浬ϤȤǤ뤬ʤȤRIPϾϡ

OSPFǤϡΡϤȸƤФȥå򰷤ޤ
ά
OSPFѤˤϡL3SWߤOSIܻȥǥΡΡؤˤä̿ǤɬפΤǡIPѥåȤѤǤܤǤOSPFǤΥ֥ɥ㥹ȲǽʥͥåȥˤϩѤ̿IPޥ㥹ȤǤꡤIPɥ쥹ƬХȤͤΡaϤǤ륯饹DIPɥ쥹ȤƤޤH20NW14)
ͤޤǤˡϰʲǤ

ǡ
a224

ǤϤǡOSPFCisco롼ξǾҲ𤹤롣ΰտޤϡɤ꤬Ƥ뤫ߤ뤳Ȥǡ򿼤뤿Ǥ롣
ip routing롼ƥ󥰤ͭˤ
ip classless饹쥹롼ƥ
router ospf 1 1ϥץIDǡʣΥץľ˻Ȥʤޤ굤ˤʤ
network 192.168.1.0 0.0.0.255 area 0롼ĥȤ򵭺ܤ롣Υꥢ0
network 192.168.2.0 0.0.0.255 area 0
ȤƤ⥷ץǴñǤ

͡ǤʤȻפ
ʹߤϥƥкʾƧ߹ǤΤǡͥ٥ǡ󥯥ơȷ르ꥺǤ롣OSPFΤۤˤϤIS-IS
LSALink-State Advertisement)󥯾򹭹DRBDRˤΤ롣
롼ȥҥåˤʤ롣ǡꥢ˳ƣĤФ줿DRBDRȤΤߡ󥯾򴹤롣
ϩϥޥ㥹Ȥޤϥ˥㥹Ȥ롣RIPv1Υ֥ɥ㥹ȤͥƤ롣
LSA򸵤LSDBLink-State DateBase)
CiscoϰŪˣꥢ50롼ĶʤȤ侩
OSPFTCPUDPѤʤȼOSPF89֡ˤѡ
ƥꥢɬꥢ0ȤĤʤäƤɬפ롣
LSALink State Advertisement)󥯥ơȾΥɥХʹˤˤäƾ򴹤򤹤롣
LSDB(Link State Databese)LSAˤLSDBȤʬ濴Ȥ󥯥ơȤΥǡ١ͭ롣
ABR(Area BorderRouter)ꥢ롼
ASBRAS Boundary Router) AS֤ޤ롼

1

OSPFϥȤȤäϩ򤹤Ȼפޤ
ŪˤϡɤäƥȤ׻ޤ
Ȥη׻ˡ
񤭤ǤʤʲΤ褦ʥͥåȥͤ롣
R1R3ϥ롼Ǥ롣
R1ߤ10.1.1.0/24ΥȤϤĤ
ʲ2ѥǷ׻Ƥۤ
R1R2
R1R2R3

ospf
ľΩ
狼ޤ衣
ΥȤ100ӰMbpsˤǷ׻뤿ᡢ10MbpsӰΥȤ10ˤʤޤ
äƤξ硢R1Υ롼顢10.1.2.0/24ͥåȥؤΥȤ10ˤʤޤ
ȡR2ϤޤǤΥȤ͡
10.1.1.0/24Υͥåȥޤ̿ˤϡR2α¦10Mβ̤ɬפ뤫顢ΥȤäɬפ롣
顢101020ˤʤ롣
Ʊͤˡξ硢100MbpsΥȤϣǤ뤿ˡȤ111012ˤʤ롣

ޤꭢȤʤ뤿ᡢR1R3R2Ȥϩ򤹤롣νOSPFϼưǤäƤΤǡȤƤ

Ȥѹ
Ȥư׻ƤΤϤȤƤ⤢꤬Ȥ˼ưǥȤѹɬפ롣ϤɤʤȤ
ۤŤ

㤨10MӰݾڤ10MΥ٥ȥեȤǤϡԤ®ưǤΤǤ͡
̤ꡣH20NW14)Ǥ⡢˴ؤ꤬ä
ƵL3SWǤ,ϩץȥȤOSPFưޤOSPF Ǥ,[]ȸƤФȥå򰷤ޤL3SWǤ,ʪݡȤ̿®٤׻줿ͤȥåΥǥեͤˤʤޤ,֤ηϩŬڤ˹ԤƽL3SWΥݡȤΰĤˤϥǥեͤ礭ͤꤷƤޤ
2 (1)ʸ[]Ŭڤʿͤ衣
 (2)ʸβԤΤ,ǥեͤΤޤޤǤϲξȿǤƤʤ餫

󥿡β
1
2(2)֤̿μ¼Ūʲ®٤ξ
3
ʤۤɡǤޤ
Ǥ⡢ȤϡL3SWΥݡȡפꤹǤ͡
ǽοޤǤȡR1α¦ΥݡȤꤹǤ
Ȥ⡢R1α¦ȡR2κ¦ξꤹǤ
ȤϡФȤ˥UP졢äƤȤˤϥUPʤ
ʤΤǡR1ߤ10.1.1.0/24ΥȡפˤϡR2κ¦ΥȤϡꤷƤȿǤʤ
ϰʲǤ롣
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip ospf cost 10Ȥ


ݥ󥵡ɥ

ΥڡΥȥåץ