Redistribute OSPF + EIGRP + RIPv2
itprofes :: Config :: Config Router
Trang 1 trong tổng số 1 trang
Redistribute OSPF + EIGRP + RIPv2
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
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ơ
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à
itprofes :: Config :: Config Router
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
27/8/2013, 11:45 am by echcondihoc
» Quản Lí Tiến Trình Dùng Thư Viện PSAPI
11/10/2011, 9:42 pm by CNTT_DH
» xin tai lieu tieng viet
31/8/2011, 6:59 am by bantoisg
» Theo dõi tiến trình
27/8/2011, 5:51 pm by haigaopro01
» Giải pháp Bảo mật của Cisco
17/6/2011, 8:50 am by admin
» Nghiên cứu và đưa ra giải pháp phòng chống tấn công DoS, DDoS (Phần 1)
16/6/2011, 2:32 pm by admin
» Learn to hack !
16/6/2011, 8:49 am by admin
» Giải pháp hệ thống dành cho doanh nghiệp với thiết bị mạng Fortinet (Phần 1)
15/6/2011, 11:12 am by admin
» Ô Long Viên (Tập II)
27/9/2010, 4:56 pm by root
» những ebook về hack tiếng việt cho người mới tìm hiểu.
27/9/2010, 4:54 pm by root