- 3
- 0
- 约 8页
- 2016-09-21 发布于重庆
- 举报
EIGRP与RIP的重发布
路由器R1的配置:
R1#show run
Building configuration...
Current configuration : 859 bytes
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
no ip domain-lookup
!
interface Loopback0
ip address 200.200.200.1 255.255.255.255
!
interface Loopback1
ip address 201.201.201.1 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.252
clock rate 64000
router eigrp 100
network 200.200.200.1 0.0.0.0
network 10.1.1.0 0.0.0.3
network 201.201.201.1 0.0.0.0
no auto-summary
!
ip classless
END
路由器R2的配置:
R2#show run
!
hostname R2
!!
no ip domain-lookup
!
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.252
!
interface Serial0/0/1
ip address 20.1.1.1 255.255.255.252
clock rate 64000
!
router eigrp 100
redistribute rip metric 1500 10 255 1 1500
network 10.1.1.0 0.0.0.3
no auto-summary
!
router rip
version 2
redistribute eigrp 100 metric 1
network 20.0.0.0
no auto-summary
!
ip classless
!
end
路由器R3的配置:
R3#show run
Building configuration...
Current configuration : 835 bytes!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
no ip domain-lookup
!
interface Loopback0
ip address 100.100.100.1 255.255.255.255
!
interface Loopback1
ip address 101.101.101.1 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 20.1.1.2 255.255.255.252
!
router rip
version 2
network 20.0.0.0
network 100.0.0.0
network 101.0.0.0
network 192.168.2.0
no auto-summary
!
ip classless
!
End
查看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 exter
原创力文档

文档评论(0)