You are on page 1of 9

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

Tn ti khon Mt Khu

ng nhp

Ghi nh?

Help

ng K

Trang ch

Din n

Tuyn tp lab

Tuyn Tp Video Lab

Microsoft

Facebook

ng k Tm kim nng cao

Bi mi Hi - p Lch Cng ng

Thit Lp Nhanh

Lin kt nhanh

Din n

QUN TR MNG CISCO

nh Tuyn v Access-list

Redistribute gia RIP Ver2,OSPF v EIGRP

[S KIN] HI LC U XUN 2013 KHA HC ACNA PLUS 2012 TUYN TP LAB QUN TR MNG CISCO TUYN TP LAB QUN TR MNG MICROSOFT TUYN TP LAB CNG NGH O HA TUYN TP VIDEO LAB QUN TR MNG
Tm kim

Kt qu 1 n 3 ca 3

Ch : Redistribute gia RIP Ver2,OSPF v EIGRP


Like 17 people like this. LinkBack Cng c Ch Tm Ch Hin th

12-30-2011,

07:24 PM

#1
Ngy tham gia: Dec 2011 Bi vit: 521 Cm n: 4 Cm n 45 ln / 27 Bi vit

ThanhCatTuHan
Support Team

Redistribute gia RIP Ver2,OSPF v EIGRP

Redistribute gia RIP Ver2,OSPF v EIGRP I. M hnh

Redistribute EIGRP RIP OSPF II. Mc tiu ca bi lab


t a ch IP cho cc interface trn cc Router R1, R2,R3 v R4. Cu hnh nh tuyn RIPv2, EIGRP, OSPF. Redistribute gia cc giao thc theo m hnh cc router ny c th lin lc c vi nhau. 1. Cu hnh khi to cho cc thit b mng, cu hnh cc interface ca router. - t tn thit b. - Cu hnh banner motd - Cu hnh password cho console, telnet, Privileged, enable password, m ha mt khu file cu hnh. - Cu hnh a ch IP - Cu hnh description - Cu hnh enable cc interface 2. Ping qua li gia cc interface c kt ni trc tip vi nhau. 3. Thit lp giao thc nh tuyn trn cc router nh m hnh trn. 4. Redistribute gia cc giao thc. 5. Xem bng nh tuyn (routing table).

1 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

6. Kim tra cc router c th ping qua li ln nhau.

III. Cu hnh chi tit


1. Cu hnh khi to cho cc thit b mng, cu hnh cc interface ca router. *Cu hnh trn R1 - Cu hnh t tn thit b
Router>enable Router#configure terminal Router(config)#hostname R1 R1(config)#

- Cu hnh Banner motd


R1(config)#banner motd "BACHKHOA-NPOWER"

- Cu hnh console
R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#loggin synchronous R1(config-line)#exit

- Cu hnh telnet
R1(config)#line vty 0 4 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit

- Cu hnh password privileged


R1(config)#enable secret bachkhoa-npower

- Cu hnh enable password


R1(config)#enable password cisco123

- Cu hnh m ha mt khu trong file cu hnh


R1(config)#service password-encryption

- Cu hnh cc interface ca route


R1(config)#interface serial 0/1 R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#description "R1 Connection to R2" R1(config-if)#no shut R1(config-if)#clock rate 64000 R1(config-if)#exit R1(config)#interface loopback 0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#end

*Cu hnh trn R2 - Cu hnh t tn thit b


Router>enable Router#configure terminal Router(config)#hostname R2 R2(config)#

- Cu hnh Banner motd


R2(config)#banner motd "BACHKHOA-NPOWER"

- Cu hnh console
R2(config)#line console 0 R2(config-line)#password cisco R2(config-line)#loggin synchronous R2(config-line)#exit

- Cu hnh telnet
R2(config)#line vty 0 4 R2(config-line)#password cisco R2(config-line)#login R2(config-line)#exit

2 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

- Cu hnh password privileged


R2(config)#enable secret bachkhoa-npower

- Cu hnh enable password


R2(config)#enable password cisco123

- Cu hnh m ha mt khu trong file cu hnh


R2(config)#service password-encryption

- Cu hnh cc interface ca route


R2(config)#interface serial 0/0 R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#description "R2 Connection to R1" R2(config-if)#no shut R2(config-if)#exit R2(config)#interface serial 0/1 R2(config-if)#ip address 192.168.3.1 255.255.255.0 R2(config-if)#description "R2 Connection to R3" R2(config-if)#no shut R2(config-if)#clock rate 64000 R2(config-if)#end

*Cu hnh trn R3 - Cu hnh t tn thit b


Router>enable Router#configure terminal Router(config)#hostname R3 R3(config)#

- Cu hnh Banner motd


R3(config)#banner motd "BACHKHOA-NPOWER"

- Cu hnh console
R3(config)#line console 0 R3(config-line)#password cisco R3(config-line)#loggin synchronous R3(config-line)#exit

- Cu hnh telnet
R3(config)#line vty 0 4 R3(config-line)#password cisco R3(config-line)#login R3(config-line)#exit

- Cu hnh password privileged


R3(config)#enable secret bachkhoa-npower

- Cu hnh enable password


R3(config)#enable password cisco123

- Cu hnh m ha mt khu trong file cu hnh


R3(config)#service password-encryption

- Cu hnh cc interface ca route


R3(config)#interface serial 0/0 R3(config-if)#ip address 192.168.3.2 255.255.255.0 R3(config-if)#description "R3 Connection to R2" R3(config-if)#no shut R3(config-if)#exit R3(config)#interface serial 0/1 R3(config-if)#ip address 192.168.4.1 255.255.255.0 R3(config-if)#description "R3 Connection to R4" R3(config-if)#no shut R3(config-if)# clock rate 64000 R3(config-if)#end R3#

*Cu hnh trn R4

3 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

- Cu hnh t tn thit b
Router>enable Router#configure terminal Router(config)#hostname R4 R4(config)#

- Cu hnh Banner motd


R4(config)#banner motd "BACHKHOA-NPOWER"

- Cu hnh console
R4(config)#line console 0 R4(config-line)#password cisco R4(config-line)#loggin synchronous R4 (config-line)#exit

- Cu hnh telnet
R4(config)#line vty 0 4 R4(config-line)#password cisco R4(config-line)#login R4(config-line)#exit

- Cu hnh password privileged


R4(config)#enable secret bachkhoa-npower

- Cu hnh enable password


R4(config)#enable password cisco123

- Cu hnh m ha mt khu trong file cu hnh


R4(config)#service password-encryption

- Cu hnh cc interface ca route


R4(config)#interface serial 0 R4(config-if)#ip address 192.168.4.2 255.255.255.0 R4(config-if)#description "R4 Connection to R3" R4 (config-if)#no shut R4(config-if)#end R4 (config)#interface loopback 0 R4(config-if)#ip address 192.168.5.1 255.255.255.0 R4(config-if)#exit

2. Ping qua li gia cc interface c kt ni trc tip vi nhau. *Trn Router R1:
R1#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms R1#

*Trn Router R2:


R2#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/8 ms R2#ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/6 ms R2#

*Trn Router R3:


R3#ping 192.168.3.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms R3#ping 192.168.4.2 Type escape sequence to abort.

4 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

Sending 5, 100-byte ICMP Echos to 192.168.4.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/6 ms R3#

*Trn Router R4:


R4#ping 192.168.4.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/6 ms R4#

3. Thit lp giao thc nh tuyn EIGRP trn cc router. *Trn Router R1:
R1#configure terminal R1(config)#router rip R1(config-router)#version 2 R1(config-router)#network 192.168.1.0 R1(config-router)#network 192.168.2.0 R1(config-router)#no auto-summary R1(config-router)#end R1#

*Trn Router R2:


R2#configure terminal R2(config)#router rip R2(config-router)#version 2 R2(config-router)#network 192.168.2.0 R2(config-router)#no auto-summary R2(config-router)#exit R2(config)#router eigrp 10 R2(config-router)#network 192.168.3.0 R2(config-router)#no auto-summary R2(config-router)#exit R2(config)#

*Trn Router R3:


R3#configure terminal R3(config)#router eigrp 10 R3(config-router)#network 192.168.3.0 R3(config-router)#no auto-summary R3(config-router)#exit R3(config)# R3(config)#router ospf 1 R3(config-router)#network 192.168.4.0 0.0.0.255 area 0 R3(config-router)#exit R3(config)#

*Trn Router R4:


R4#configure terminal R4(config)#router ospf 1 R4(config-router)#network 192.168.4.0 0.0.0.255 area 0 R4(config-router)#network 192.168.5.0 0.0.0.255 area 0 R4(config-router)#end R4#

4. Redistribute gia cc mng *Trn Router R2:


R2(config)#router rip R2(config-router)#redistribute eigrp 10 metric 1 R2(config-router)#exit R2(config)#router eigrp 10 R2(config-router)#redistribute rip metric 1000000 10 255 1 1500 R2(config-router)#end R2#

*Trn Router R3:


R3(config)#router eigrp 10 R3(config-router)#redistribute ospf 1 metric 1000000 10 255 1 1500 R3(config-router)#exit R3(config)#router ospf 1 R3(config-router)#redistribute eigrp 10 metric 1 subnets

5 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

R3(config-router)#end

5. Xem bng nh tuyn (routing table). *Trn Router R1:


R1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C 192.168.1.0/24 is directly connected, Loopback0 C 192.168.2.0/24 is directly connected, Serial0/1 R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:05, Serial0/1 R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:05, Serial0/1 192.168.5.0/32 is subnetted, 1 subnets R 192.168.5.1 [120/1] via 192.168.2.2, 00:00:05, Serial0/1 R1#

*Trn Router R2:


R2#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:23, Serial0/0 C 192.168.2.0/24 is directly connected, Serial0/0 C 192.168.3.0/24 is directly connected, Serial0/1 D EX 192.168.4.0/24 [170/2172416] via 192.168.3.2, 00:02:23, Serial0/1 192.168.5.0/32 is subnetted, 1 subnets D EX 192.168.5.1 [170/2172416] via 192.168.3.2, 00:02:23, Serial0/1 R2#

*Trn Router R3:


R3#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set D EX 192.168.1.0/24 [170/2172416] via 192.168.3.1, 00:05:42, Serial0/0 D EX 192.168.2.0/24 [170/2172416] via 192.168.3.1, 00:05:42, Serial0/0 C 192.168.3.0/24 is directly connected, Serial0/0 C 192.168.4.0/24 is directly connected, Serial0/1 192.168.5.0/32 is subnetted, 1 subnets O 192.168.5.1 [110/65] via 192.168.4.2, 00:08:47, Serial0/1 R3#

*Trn Router R4
R4#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set O E2 192.168.1.0/24 [110/1] via 192.168.4.1, 00:02:38, Serial0/0 O E2 192.168.2.0/24 [110/1] via 192.168.4.1, 00:02:38, Serial0/0 O E2 192.168.3.0/24 [110/1] via 192.168.4.1, 00:02:38, Serial0/0 C 192.168.4.0/24 is directly connected, Serial0/0 C 192.168.5.0/24 is directly connected, Loopback0 R4#

6. Kim tra cc router c th ping qua li ln nhau.


*Trn Router R1: R1#ping 192.168.3.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds: !!!!!

6 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/5 ms R1#ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 5/8/11 ms R1#ping 192.168.4.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/6/8 ms R1#ping 192.168.4.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 11/12/14 ms R1#ping 192.168.5.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.5.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/10/15 ms R1#

*Trn Router R2:


R2#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms R2#ping 192.168.4.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/5 ms R2#ping 192.168.4.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/10 ms R2#ping 192.168.5.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.5.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/10 ms R2#

*Trn Router R3:


R3#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/10 ms R3#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 7/9/11 ms R3#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/5 ms R3#ping 192.168.5.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.5.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/6 ms R3#

*Trn Router R4:


R4#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/10 ms R4#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 7/10/16 ms R4#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

7 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/11 ms R4#ping 192.168.3.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/6/10 ms R4#ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/3/6 ms R4#

Xem bi vit lin quan cng chuyn mc: CCNA - Cu hnh Redistribute RIPv2 v OSPF CCNA - Cu hnh Redistribute OSPF v EIGRP CCNA - Cu hnh Redistribute EIGRP v RIP CCNA - Cu hnh nh tuyn OSPF CCNA - Cu hnh nh tuyn EIGRP CCNA - Cu hnh nh tuyn RIP - phn 2 CCNA - Cu hnh nh tuyn RIP CCNA - Cu hnh nh tuyn tnh CCNA - Cu hnh Switch Cisco cn bn Cn gip v Cu hnh chng thc cho EIGRP...
Ln sa cui bi congdd, ngy 01-01-2012 lc 09:49 PM. Tr li km Trch dn

02/01/2013 02/01/2013 02/01/2013 02/01/2013 02/01/2013 02/01/2013 02/01/2013 02/01/2013 02/01/2013 30/12/2012

Cc thnh vin cm n ThanhCatTuHan v bi vit c ch, xin cm n!


dangduclong,luongantam257
12-30-2011, 07:36 PM #2
Ngy tham gia: Dec 2011 Bi vit: 82 Cm n: 19 Cm n 73 ln / 27 Bi vit

chungnt
Super Moderator

Redistribute EIGRP RIP OSPF Olala nht anh :o

Din n Qun tr mng BachKhoa-Npower Chia s ti liu, gio trnh qun tr mng Tuyn tp cc bi lab qun tr mng, o ha, video lab Password Unlock File: forum.bachkhoa-npower.vn

Tr li km Trch dn

05-07-2012,

07:01 PM

#3
Ngy tham gia: May 2012 Bi vit: 1 Cm n: 0 Cm n 0 ln / 0 Bi vit

zinniabv
Member

Sao down ve may day hi???bai nay hay do ma down ko dc bun kin ~_~

Din n Qun tr mng BachKhoa-Npower Chia s ti liu, gio trnh qun tr mng Tuyn tp cc bi lab qun tr mng, o ha, video lab Password Unlock File: forum.bachkhoa-npower.vn

Tr li km Trch dn

8 trong 9

2/20/2013 5:47 PM

Redistribute gia RIP Ver2,OSPF v EIGRP

http://forum.bachkhoa-npower.vn/150-redistribute-giua-rip-ver2-ospf-...

Ch trc | Ch Tip theo

Mi gi GMT +7. By gi l 05:36 PM. Copyright 2013 vBulletin Solutions, Inc. All rights reserved. Din n pht trin bi BQT v cc thnh vin ca BachKhoa-Npower

9 trong 9

2/20/2013 5:47 PM

You might also like