[上課筆記] EIGRP
**本練習題不做.pka檔,因需自行判斷網路是否完成設定
1. 請依圖示完成Router與PC之IP設定(本練習Switch暫時不設管控IP)
2. 請於三顆Router啟動EIGRP(AS number=1),每一個路由器的Network宣告請用wildcard mask做最精確的宣告
3. 請觀察三顆Router的路由表。請問EIGRP有自動摘要嗎?是否需關閉?
4. 站在R3的角度,到172.16.3.0/30有幾條最佳路徑?你可以調整成到172.16.3.0/30只有走R1為最佳路徑嗎?
------------------------------------------------------------------------------------------------
----------------IP設定 R2-----------------
R2>en
R2#sh con s0/0/0 //檢查此介面是否需要設定clock
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#ip address 172.16.3.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#clock rate 64000
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#sh con s0/0/1
Interface Serial0/0/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s0/0/1
R2(config-if)#ip address 192.168.10.9
% Incomplete command.
R2(config-if)#ip address 192.168.10.9 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#clock rate 64000
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int fa0/0
R2(config-if)#ip address 192.16.2.1 255.255.255.0
R2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R2#
R2#
--------------IP設定R1------------------
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#ip address 172.16.3.1 255.255.255.252
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upexit
R1(config)#int fa 0/0
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#sh con s0/0/1
Interface Serial0/0/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0/1
R1(config-if)#ip address 192.168.10.5 255.255.255.252
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R1(config-if)#clock rate 64000
R1(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R1#
--------------IP設定 R3------------------
R3>en
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s0/0/0
R3(config-if)#ip address 192.168.10.10 255.255.255.252
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R3(config)#int s0/0/1
R3(config-if)#ip address 192.168.10.6 255.255.255.252
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R3(config-if)# exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
R3(config)#int fa 0/0
R3(config-if)#ip address 192.168.1.1 255.255.255.0
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R3#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R3#
--------------------PC設定-----------
略,請自行點擊電腦桌面設定
-----------------EIGRP設定------------------
R3>en
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router eigrp 1
R3(config-router)#network 192.168.10.4 0.0.0 .3 //使用萬用遮罩wildcard mask
R3(config-router)#network 192.168.10.4 0.0.0 .
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0
% Ambiguous command: "n"
R3(config-router)#network 192.168.10.4 0.0.0 .3
R3(config-router)#no network 192.168.10.4 0.0.0 .3
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/1) is down: interface downR3(config-router)#
R3(config-router)#network 192.168.10.4 0.0.0 .3
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/1) is up: new adjacency
R3(config-router)#network 192.168.10.8 0.0.0 .3
R3(config-router)#
R3(config-router)#network 192.168.1.10 0.0.0 .255
R3(config-router)#
%SYS-5-CONFIG_I: Configured from console by console
R3#
--------
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 1
R1(config-router)#network 172.16.1.0 0.0.0 .255
R1(config-router)#network 172.16.3.0 0.0.0 .3
R1(config-router)#n
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new adjacenc
R1(config-router)#network 192.168.10.4 0.0.0 .3
R1(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.6 (Serial0/0/1) is up: new adjacency
-------
R2>en
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#network 172.16.3.0 0.0.0 .3
R2(config-router)#network 192.168.10.8 0.0.0 .3
R2(config-router)#network 172.16.2.0 0.0.0 .255
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up: new adjacency
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/0/1) is up: new adjacency
----------------auto summy----------
**本練習題不做.pka檔,因需自行判斷網路是否完成設定
1. 請依圖示完成Router與PC之IP設定(本練習Switch暫時不設管控IP)
2. 請於三顆Router啟動EIGRP(AS number=1),每一個路由器的Network宣告請用wildcard mask做最精確的宣告
3. 請觀察三顆Router的路由表。請問EIGRP有自動摘要嗎?是否需關閉?
4. 站在R3的角度,到172.16.3.0/30有幾條最佳路徑?你可以調整成到172.16.3.0/30只有走R1為最佳路徑嗎?
------------------------------------------------------------------------------------------------
----------------IP設定 R2-----------------
R2>en
R2#sh con s0/0/0 //檢查此介面是否需要設定clock
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#ip address 172.16.3.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#clock rate 64000
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#sh con s0/0/1
Interface Serial0/0/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s0/0/1
R2(config-if)#ip address 192.168.10.9
% Incomplete command.
R2(config-if)#ip address 192.168.10.9 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#clock rate 64000
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int fa0/0
R2(config-if)#ip address 192.16.2.1 255.255.255.0
R2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R2#
R2#
--------------IP設定R1------------------
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#ip address 172.16.3.1 255.255.255.252
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upexit
R1(config)#int fa 0/0
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#sh con s0/0/1
Interface Serial0/0/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC 4, driver data structure at 0x81084AC 0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F 80, Pending [CIPR]=0x0000C 000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C 0F , [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C , [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0/1
R1(config-if)#ip address 192.168.10.5 255.255.255.252
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R1(config-if)#clock rate 64000
R1(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R1#
--------------IP設定 R3------------------
R3>en
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s0/0/0
R3(config-if)#ip address 192.168.10.10 255.255.255.252
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R3(config)#int s0/0/1
R3(config-if)#ip address 192.168.10.6 255.255.255.252
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R3(config-if)# exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
R3(config)#int fa 0/0
R3(config-if)#ip address 192.168.1.1 255.255.255.0
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R3#copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
R3#
--------------------PC設定-----------
略,請自行點擊電腦桌面設定
-----------------EIGRP設定------------------
R3>en
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router eigrp 1
R3(config-router)#network 192.168.10.4 0.0.0 .3 //使用萬用遮罩wildcard mask
R3(config-router)#network 192.168.10.4 0.0.0 .
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0
% Ambiguous command: "n"
R3(config-router)#network 192.168.10.4 0.0.0 .3
R3(config-router)#no network 192.168.10.4 0.0.0 .3
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/1) is down: interface downR3(config-router)#
R3(config-router)#network 192.168.10.4 0.0.0 .3
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/1) is up: new adjacency
R3(config-router)#network 192.168.10.8 0.0.0 .3
R3(config-router)#
R3(config-router)#network 192.168.1.10 0.0.0 .255
R3(config-router)#
%SYS-5-CONFIG_I: Configured from console by console
R3#
--------
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 1
R1(config-router)#network 172.16.1.0 0.0.0 .255
R1(config-router)#network 172.16.3.0 0.0.0 .3
R1(config-router)#n
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new adjacenc
R1(config-router)#network 192.168.10.4 0.0.0 .3
R1(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.6 (Serial0/0/1) is up: new adjacency
-------
R2>en
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#network 172.16.3.0 0.0.0 .3
R2(config-router)#network 192.168.10.8 0.0.0 .3
R2(config-router)#network 172.16.2.0 0.0.0 .255
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up: new adjacency
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/0/1) is up: new adjacency
----------------auto summy----------
留言
張貼留言
留言請注意禮節與尊重他人,良好的交流環境需要你我共同維護。
VtigerCRM 相關留言討論,請改至FaceBook社團申請加入使用
https://www.facebook.com/groups/vTigerCRMtoTaiwan/