EIGRP
router setting
210.16.214.0 /24 일때 host 20개를 만족 하는 network subneting
serial 구간은 host=2 만족 하는 network로 다시 vlsm
--------------------------------
기본설정
Router (config)# no ip domain-lookup // 도메인을 찾지 말아라 (명령어
를 잘못 쳤을때 도메인으로 인식하지 말
아라)
Router(config)#line console 0
Router(config-line)#exec-timeout 0 0 // 타임아웃 되어서 접속종료하지
말아라
Router(config-line)#logging synchronous
R1 설정
Router(config)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.33 255.255.255.224
R1(config-if)#description net210.16.214.33 // interface 설명
Router(config)#interface serial 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.5 255.255.255.252
Router(config-if)#clock rate 64000
R1(config-if)#description R2_Con // interface 설명
R1(config-if)#exit
R1(config)#router eigrp 100
R1(config-router)#no auto-summary
R1(config-router)#network 210.16.214.33 0.0.0.0 //R1이 가지고 있는 ip 광고
R1(config-router)#network 210.16.214.5 0.0.0.0
R1(config)#line vty 0 5
R1(config-line)#
R1(config)#line vty 0 5
R1(config-line)#login
% Login disabled on line 66, until 'password' is set
% Login disabled on line 67, until 'password' is set
% Login disabled on line 68, until 'password' is set
% Login disabled on line 69, until 'password' is set
% Login disabled on line 70, until 'password' is set
% Login disabled on line 71, until 'password' is set
R1(config-line)#password cisco
R1(config-line)#exit
R1(config)#enable passsword cisco
R1(config)#enable password cisco
R1(config)#ip ftp username cisco
R1(config)#ip ftp password cisco
R1(config)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#copy run ftp
Address or name of remote host []? 210.16.214.99
Destination filename [R1-confg]?
Writing running-config...
%Error ftp:///R1-confg (Ftp peer reset)
R2 설정
Router(config)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.66 255.255.255.224
Router(config)#interface serial 0/1
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.6 255.255.255.252
Router(config-if)#clock rate 64000
R2(config-if)#description R1_Con
Router(config)#interface serial 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.9 255.255.255.252
Router(config-if)#clock rate 64000
R2(config-if)#description R2_Con
R2(config-if)#description net210.16.214.64
R2(config)#interface serial 0/2
R2(config-router)#no auto-summary
R2(config-router)#network 210.16.214.66 0.0.0.0
R2(config-router)#network 210.16.214.6 0.0.0.0
R2(config-router)#network 210.16.214.9 0.0.0.0
R3 설정
Router(config)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.97 255.255.255.252
Router(config)#interface serial 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 210.16.214.10 255.255.255.252
Router(config-if)#clock rate 64000
-------------------------------------------------
R1#show ip route eigrp
210.16.214.0/24 is variably subnetted, 5 subnets, 2 masks
D 210.16.214.8/30 [90/2681856] via 210.16.214.6, 00:07:47, Serial0/0
D 210.16.214.64/27 [90/2172416] via 210.16.214.6, 00:08:44, Serial0/0
D 210.16.214.96/30 [90/2684416] via 210.16.214.6, 00:07:44, Serial0/0
R1#show ip eigrp topology
IP-EIGRP Topology Table for AS 100
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 210.16.214.32/27, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 210.16.214.4/30, 1 successors, FD is 2169856
via Connected, Serial0/0
P 210.16.214.64/27, 1 successors, FD is 2172416
via 210.16.214.6 (2172416/28160), Serial0/0
P 210.16.214.8/30, 1 successors, FD is 2681856
via 210.16.214.6 (2681856/2169856), Serial0/0
P 210.16.214.96/30, 1 successors, FD is 2684416
via 210.16.214.6 (2684416/2172416), Serial0/0
-------------------------
eigrp 들어 오고 있는 정보
R1#show ip protocols
Routing Protocol is "eigrp 100 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 100
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks: // 자신이 광고 하고 있는
210.16.214.33/32
210.16.214.5/32
Routing Information Sources:
Gateway Distance Last Update
210.16.214.6 90 9170082
Distance: internal 90 external 170
------------------------------
R1#show ip eigrp interfaces
IP-EIGRP interfaces for process 100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Fa0/0 0 0/0 1236 0/10 0 0
Se0/0 1 0/0 1236 0/10 0 0
------------------------------
variance 차후 설명.
variance 2 설정 (라우터 1대를 더 추가하고 설정은 위에 설정이랑 똑같다.. 단지 variance 2 명령어만 추가 된다.)
R1(config)#route
R1(config)#router eigrp 100
R1(config-router)#no auto-summary
R1(config-router)#variance 2