itprofes
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Redistribute OSPF + EIGRP + RIPv2

Go down

Redistribute OSPF + EIGRP + RIPv2 Empty Redistribute OSPF + EIGRP + RIPv2

Bài gửi  admin 11/6/2010, 2:22 pm

Redistribute OSPF + EIGRP + RIPv2 1-8

192.168.x.x

Yêu cầu đơn giản thôi cấu hình sao cho 3 con router RIPv2, EIGRP, OSPF có thể xây dựng thành công routing table hoàn chỉnh là OK rồi Smile Smile

Cấu hình lần lượt như sau:

Trên con RIPv2:
RIPv2#show running-config
Building configuration...

Current configuration : 541 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RIPv2
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface Loopback0
ip address 192.168.100.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.1.2 255.255.255.0
!
router rip
version 2
network 192.168.1.0
network 192.168.100.0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Trên con EIGRP:
EIGRP#show running-config
Building configuration...

Current configuration : 553 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname EIGRP
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface Loopback0
ip address 192.168.101.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.2.2 255.255.255.0
!
router eigrp 234
network 192.168.2.0
network 192.168.101.0
no auto-summary
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Trên con OSPF:
OSPF#show running-config
Building configuration...

Current configuration : 591 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname OSPF
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface Loopback0
ip address 192.168.102.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.3.2 255.255.255.0
!
router ospf 234
log-adjacency-changes
network 192.168.3.0 0.0.0.255 area 0
network 192.168.102.0 0.0.0.255 area 0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Cuối cùng là trên con BORDER <-- (con này quan trọng nhất):
BORDER#show running-config
Building configuration...

Current configuration : 1104 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname BORDER
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.1.1 255.255.255.0
clock rate 64000
!
interface Serial0/1
ip address 192.168.2.1 255.255.255.0
clock rate 64000
!
interface Ethernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial1/0
ip address 192.168.3.1 255.255.255.0
clock rate 64000
!
router eigrp 234
redistribute rip metric 100 100 100 100 100
redistribute ospf 234 metric 100 100 100 100 100
network 192.168.2.0
auto-summary
!
router ospf 234
log-adjacency-changes
redistribute rip subnets
redistribute eigrp 234 metric 5 subnets
redistribute connected subnets
network 192.168.3.0 0.0.0.255 area 0
!
router rip
version 2
redistribute eigrp 234 metric 5
redistribute ospf 234 metric 5
network 192.168.1.0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Kết quả đê --- ngon quá cơ Smile Smile
Nếu tinh ý chút thì các bạn sẽ thấy là giá trị metric và 5 giá trị K1-> K5 tớ đều chọn ngẫu nhiên 1 số. Trên thực tế thì cần tính toán cẩn thận vì metric này sẽ quyết định đến việc định tuyến mà Smile Smile

Redistribute OSPF + EIGRP + RIPv2 2-7

Redistribute OSPF + EIGRP + RIPv2 3-6

Redistribute OSPF + EIGRP + RIPv2 4-5

Redistribute OSPF + EIGRP + RIPv2 5-5
admin
admin
Thiếu Úy III
Thiếu Úy III

Tổng số bài gửi : 627
Diem : 6558
Thank : 4
Join date : 24/03/2010
Đến từ : Bỉm Sơn - Thanh hóa

https://itprofes.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết