I. Mô hình và yêu cầu
1. Mô hình
2. yêu cầu
II. Triển khai
1. Cấu hình IP và các doamin routing
- trên R1
- Trên R2
- Trên R3
- Trên R4
- Trên R5
Show các bảng định tuyến
- Trên R1- Trên R2- Trên R3- Trên R4- Trên R5
1. Mô hình
2. yêu cầu
1. config domain routing RIP, OSPF, EIGRP như hình vẽ
2. Thông tin Area 200 không được quảng bá đến bất kì OSPF area nào khác
3. redistribute
2. Thông tin Area 200 không được quảng bá đến bất kì OSPF area nào khác
3. redistribute
[*=1]redistribute OSPF qua EIGRP và ngược lại
[*=1]Chú ý Redistribute OSPF -> EIGRP chỉ thực hiện duy nhất tại R4
[*=1]Chú ý link R4 và R5 down. R5 vẫn có thể đi được tới mạng 10.4.4.0/24
4. Redistribute EIGRP -> RIP
[*=1]4.1 Redistribute từ OSPF vào RIP trên R1 (1 đường)
[*=1]4.2 Tại R1 tạo default-route cho vùng OSPF
[*=1]4.5 Khi traceroute từ R5 -> Router thuộc Ripv2. Đưa ra giải pháp để tối ưu hệ thống
II. Triển khai
1. Cấu hình IP và các doamin routing
- trên R1
R1(config-if)#int f0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#int f0/1 R1(config-if)#ip address 10.1.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#int s1/0 R1(config-if)#ip address 10.3.3.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#int s1/1 R1(config-if)#ip address 10.4.4.1 255.255.255.0 R1(config-if)#no shutdown R1(config)#router rip R1(config-router)#version 2 R1(config-router)#network 10.1.1.0 R1(config-router)#no auto-summary R1(config)#router ospf 1 R1(config-router)#router-id 1.1.1.1 R1(config-router)#network 10.3.3.0 0.0.0.255 area 0 R1(config-router)#network 10.4.4.0 0.0.0.255 area 0 R1(config-router)#network 192.168.1.0 0.0.0.255 area 200 |
R2(config-if)#int f0/1 R2(config-if)#ip address 10.1.1.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#router rip R2(config-router)#version 2 R2(config-router)#network 10.1.1.0 R2(config-router)#no auto-summary |
R3(config-if)#int f0/1 R3(config-if)#ip address 50.3.3.3 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#int s1/0 R3(config-if)#ip address 10.3.3.3 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#int s1/2 R3(config-if)#ip address 30.3.3.3 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#int s1/3 R3(config-if)#ip address 40.4.4.3 255.255.255.0 R3(config-if)#no shutdown R3(config)#router ospf 1 R3(config-router)#router-id 3.3.3.3 R3(config-router)#network 10.3.3.0 0.0.0.255 area 0 R3(config-router)#network 30.3.3.0 0.0.0.255 area 0 R3(config)#router eigrp 1 R3(config-router)#network 40.4.4.0 0.0.0.255 R3(config-router)#network 50.3.3.0 0.0.0.255 R3(config-router)#no auto-summary |
R4(config-if)#int f0/1 R4(config-if)#ip address 50.4.4.4 255.255.255.0 R4(config-if)#no shutdown R4(config-if)#int s1/0 R4(config-if)#ip address 10.4.4.4 255.255.255.0 R4(config-if)#no shutdown R4(config-if)#int s1/2 R4(config-if)#ip address 30.3.3.4 255.255.255.0 R4(config-if)#no shutdown R4(config-if)#int s1/3 R4(config-if)#ip address 40.4.4.4 255.255.255.0 R4(config-if)#no shutdown R4(config)#router ospf 1 R4(config-router)#router-id 4.4.4.4 R4(config-router)#network 10.4.4.0 0.0.0.255 area 0 R4(config-router)#network 30.3.3.0 0.0.0.255 area 0 R4(config)#router eigrp 1 R4(config-router)#network 40.4.4.0 0.0.0.255 R4(config-router)#network 50.4.4.0 0.0.0.255 R4(config-router)#no auto-summary |
R5(config-if)#int f0/0 R5(config-if)#ip address 50.3.3.5 255.255.255.0 R5(config-if)#no shutdown R5(config-if)#int f0/1 R5(config-if)#ip address 50.4.4.5 255.255.255.0 R5(config-if)#no shutdown R5(config)#router eigrp 1 R5(config-router)#network 50.3.3.0 0.0.0.255 R5(config-router)#network 50.4.4.0 0.0.0.255 R5(config-router)#no auto-summary |
- Trên R1
R1#sh ip route
Codes: C - connected, S - static, 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 external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 3 subnets
C 10.4.4.0 is directly connected, Serial1/1
C 10.3.3.0 is directly connected, Serial1/0
C 10.1.1.0 is directly connected, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/0
30.0.0.0/24 is subnetted, 1 subnets
O 30.3.3.0 [110/128] via 10.4.4.4, 00:16:58, Serial1/1
[110/128] via 10.3.3.3, 00:18:41, Serial1/0
R2#sh ip route
10.0.0.0/24 is subnetted, 3 subnets
R 10.4.4.0 [120/1] via 10.1.1.1, 00:00:04, FastEthernet0/1
R 10.3.3.0 [120/1] via 10.1.1.1, 00:00:04, FastEthernet0/1
C 10.1.1.0 is directly connected, FastEthernet0/1
R3#sh ip route
50.0.0.0/24 is subnetted, 2 subnets
D 50.4.4.0 [90/307200] via 50.3.3.5, 00:03:36, FastEthernet0/1
C 50.3.3.0 is directly connected, FastEthernet0/1
5.0.0.0/32 is subnetted, 1 subnets
D 5.5.5.5 [90/409600] via 50.3.3.5, 00:03:36, FastEthernet0/1
40.0.0.0/24 is subnetted, 1 subnets
C 40.4.4.0 is directly connected, Serial1/3
10.0.0.0/24 is subnetted, 2 subnets
O 10.4.4.0 [110/128] via 30.3.3.4, 00:03:41, Serial1/2
[110/128] via 10.3.3.1, 00:03:41, Serial1/0
C 10.3.3.0 is directly connected, Serial1/0
O IA 192.168.1.0/24 [110/74] via 10.3.3.1, 00:03:42, Serial1/0
30.0.0.0/24 is subnetted, 1 subnets
C 30.3.3.0 is directly connected, Serial1/2
R4#sh ip route
50.0.0.0/24 is subnetted, 2 subnets
C 50.4.4.0 is directly connected, FastEthernet0/1
D 50.3.3.0 [90/307200] via 50.4.4.5, 00:04:32, FastEthernet0/1
5.0.0.0/32 is subnetted, 1 subnets
D 5.5.5.5 [90/409600] via 50.4.4.5, 00:04:32, FastEthernet0/1
40.0.0.0/24 is subnetted, 1 subnets
C 40.4.4.0 is directly connected, Serial1/3
10.0.0.0/24 is subnetted, 2 subnets
C 10.4.4.0 is directly connected, Serial1/0
O 10.3.3.0 [110/128] via 30.3.3.3, 00:19:07, Serial1/2
[110/128] via 10.4.4.1, 00:19:07, Serial1/0
O IA 192.168.1.0/24 [110/74] via 10.4.4.1, 00:06:31, Serial1/0
30.0.0.0/24 is subnetted, 1 subnets
C 30.3.3.0 is directly connected, Serial1/2
R5#sh ip route
50.0.0.0/24 is subnetted, 2 subnets
C 50.4.4.0 is directly connected, FastEthernet0/1
C 50.3.3.0 is directly connected, FastEthernet0/0
5.0.0.0/32 is subnetted, 1 subnets
C 5.5.5.5 is directly connected, Loopback0
40.0.0.0/24 is subnetted, 1 subnets
D 40.4.4.0 [90/2195456] via 50.4.4.4, 00:05:14, FastEthernet0/1
[90/2195456] via 50.3.3.3, 00:05:14, FastEthernet0/0