ccna 640-802

Post on 13-Nov-2014

431 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Training Cisco Certified Network Associate (CCNA 640-802)

Mr.Kriangsak Namkot

jodoi@jodoi.com

jodoi1819@hotmail.com

http://www.jodoi.com

Day 3

• IP Routing , Static route , Default route , rip , igrp

• Enhanced IGRP(EIGRP) and Open Shortest Path first(OSPF)

• LAB Configuration

IP Routing

Routing-Static-Dynamic

Config static routeConfig# ip route ________ ________ ________( Network ip ) ( subnet mask) ( gateway ip )

ExR2 config# ip route 192.168.1.0 255.255.255.0 10.10.10.1R1 config# ip route 192.168.2.0 255.255.255.0 10.10.10.2

Default routeconfig# ip route 0.0.0.0 0.0.0.0 10.10.10.2

AS Numbers

Classful Routing Overview

–Classful routing protocols do not include the subnet mask with the route advertisement.

–Within the same network, consistency of the subnet masks is assumed.

–Summary routes are exchanged between foreign networks.

–Examples of classful routing protocols:• RIP Version 1 (RIPv1)• IGRP

Classless Routing Overview– Classless routing protocols include the subnet

mask with the route advertisement.

– Classless routing protocols support variable-length subnet masking (VLSM).

– Summary routes can be manually controlled within the network.

– Examples of classless routing protocols:• RIP Version 2 (RIPv2)

• EIGRP

• OSPF

• IS-IS

IP RoutingDynamic routing-Interier Gateway Protocol (IGP) Autonomous System (AS) เดี�ยวกั�น-Exterier Gateway Protocol (EGP) Autonomous System (AS) ต่างกั�น

ใน CCNA จะเรี�ยนเฉพาะ IGP

Interier Gateway Protocol (IGP)

-Distance vector rip , igrp update table ช่วงเวลาหน��ง-Link-state ospf ,IS-IS เกั�บข้�อมู�ลเป็!น database-Balancing Hybrid EIGRPเกั�บข้�อมู�ลแบบ link-state แต่ทำ$า routing แบบ distance vector

Selecting the Best Route with Metrics

Configuration RouterRouting Information Protocol (RIP)Config#router ripConfig#network ____________Ex 172.16.1.30/24 Mojor network จะไดี� 172.16.0.010.10.10.3/26 Mojor network จะไดี� 10.0.0.0192.168.1.5/28 Mojor network จะไดี� 192.168.1.0

config#router ripconfig-router#network 172.16.0.0config-router#network 10.0.0.0config-router#network 192.168.1.0

(major network)

Routing Information Protocol (RIP) # ต่อ

Rip ใช่� hop ในกัารีคำ$านวณเส้�นทำาง ทำางไหนน�อยไป็ทำางน�)นconfig#router ripconfig-router#version 2 : version 1 ไมู support triggered

#debug ip rip#show ip protocol เพ*�อต่รีวจส้อบ routing #show ip route จะข้�)นเป็!นต่�ว R

Configuration Router

Interier Gateway Routing Protocol (IGRP)

config#router igrp ___________

config#router igrp 100

config-router#network ___________

config-router#network 192.168.1.0

#debug ip igrp _____________

Igrp เล*อกัเส้�นทำางจากัคำา Metric โดียใช่�คำา Bandwidth และ คำา Delay เมู*�อใช่� command show ip protocol จะคำ*อคำา K1 และ K3 ต่ามูล$าดี�บ

และ igrp ส้ามูารีถทำ$า load balancing ไดี�

Configuration Router

( AS Number )

(major network)

( events )

( transactions )

Default Administrative Distance

หน�งส้*อ อ.เอกัส้-ทำธิ์-/ หน�า 188

RIPv1 vs. RIPv2

IGRP vs RIP

OSPF (Open Shorted Path First )

config#router ospf ___________

config#router ospf 101config-router#network _________ _________ area _______

config-router#network 192.168.1.0 0.0.0.255 area 0

#show ip ospf neighbor ใช่�เพ*�อดี�วาใคำรีเป็!นคำนส้ง LSAlink-state เกั�บข้�อมู�ลเป็!น database จะมู�กัารีส้ง LSA (link-state

advertisements) น$าข้�อมู�ลทำ��ไดี�มูาส้รี�าง routing โดียใช่� algolithm

SPF ( Shorted Path First ) และพ-จารีณาจากัคำา Cost (cost = )

Configuration Router

( process-id )

(network id) ( wildcard ) ( area-id )

10BW

8

OSPF (Open Shorted Path First ) # ต่อEx 192.168.3.126/27config#router ospf 101config-router#network 192.168.3.96 0.0.0.31 area 0

EIGRP (Enhanced IGRP)(config)#router eigrp ______________

(config)#router eigrp 102(config-router#network ______________(config-router#network 192.168.1.0

Configuration Router

(major network)

( AS Number )

OSPF Network Types

Link State Routing และ Distance Vector Routing

Routing Protocol Comparison Chart

Routing ospfRouter#show ip route 10.0.0.0/30 is subnetted, 1 subnetsC 10.10.10.4 is directly connected, Serial0/0 20.0.0.0/30 is subnetted, 1 subnetsO 20.20.20.8 [110/128] via 10.10.10.6, 00:00:29, Serial0/0 30.0.0.0/30 is subnetted, 1 subnetsO 30.30.30.12 [110/128] via 10.10.10.6, 00:00:29, Serial0/0C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/29 is subnetted, 1 subnetsO 192.168.2.8 [110/65] via 10.10.10.6, 00:00:29, Serial0/0 192.168.3.0/28 is subnetted, 1 subnetsO 192.168.3.16 [110/129] via 10.10.10.6, 00:00:29, Serial0/0 192.168.4.0/28 is subnetted, 1 subnetsO 192.168.4.240 [110/129] via 10.10.10.6, 00:00:29, Serial0/0

Routing rip

Router#show ip route

10.0.0.0/30 is subnetted, 1 subnetsC 10.10.10.0 is directly connected, Serial0/0R 20.0.0.0/8 [120/1] via 10.10.10.2, 00:00:10, Serial0/0C 192.168.1.0/24 is directly connected, FastEthernet0/0R 192.168.2.0/24 [120/1] via 10.10.10.2, 00:00:10,Serial0/0R 192.168.3.0/24 [120/2] via 10.10.10.2, 00:00:10, Serial0/0

Routing eigrp

Router#show ip route

D 10.0.0.0/8 [90/11023872] via 20.20.20.1, 00:00:08, Serial0/0

20.0.0.0/8 is variably subnetted, 2 subnets, 2 masksD 20.0.0.0/8 is a summary, 00:00:08, Null0C 20.20.20.0/30 is directly connected, Serial0/0D 192.168.1.0/24 [90/11026432] via 20.20.20.1, 00:00:08,

Serial0/0D 192.168.2.0/24 [90/2172416] via 20.20.20.1, 00:00:08,

Serial0/0C 192.168.3.0/24 is directly connected, FastEthernet0/0

top related