- 积分
- 372
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
100鸿鹄币
求助: 到R4到 1.1.1.1 实现R2R3 负载
到R1 到4.4.4.4 实现R2R3负载
到各个网段实现最优路径
配置
R1
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
ip address 123.1.1.1 255.255.255.0
!
interface Ethernet0/1
ip address 13.13.13.1 255.255.255.0
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
!
router eigrp 100
network 1.1.1.1 0.0.0.0
network 13.13.13.0 0.0.0.255
network 123.1.1.0 0.0.0.255
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
D EX 2.2.2.2 [170/307200] via 13.13.13.2, 00:26:27, Ethernet0/1
3.0.0.0/32 is subnetted, 1 subnets
D EX 3.3.3.3 [170/307200] via 13.13.13.2, 00:26:27, Ethernet0/1
4.0.0.0/32 is subnetted, 1 subnets
D EX 4.4.4.4 [170/307200] via 13.13.13.2, 00:26:27, Ethernet0/1
13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 13.13.13.0/24 is directly connected, Ethernet0/1
L 13.13.13.1/32 is directly connected, Ethernet0/1
24.0.0.0/24 is subnetted, 1 subnets
D EX 24.1.1.0 [170/307200] via 13.13.13.2, 00:26:27, Ethernet0/1
34.0.0.0/24 is subnetted, 1 subnets
D EX 34.1.1.0 [170/307200] via 13.13.13.2, 00:26:27, Ethernet0/1
123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 123.1.1.0/24 is directly connected, Ethernet0/0
L 123.1.1.1/32 is directly connected, Ethernet0/0
R2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
ip address 123.1.1.2 255.255.255.0
!
interface Ethernet0/2
ip address 24.1.1.2 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
!
router eigrp 100
network 123.1.1.0 0.0.0.255
redistribute ospf 100 metric 1000 100 255 1 150
!
router ospf 100
redistribute eigrp 100 metric-type 1 subnets
network 2.2.2.2 0.0.0.0 area 0
network 24.1.1.0 0.0.0.255 area 0
distance 180 3.3.3.3 0.0.0.0
R3
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
ip address 13.13.13.2 255.255.255.0
!
interface Ethernet0/2
ip address 123.1.1.3 255.255.255.0
!
interface Ethernet0/3
ip address 34.1.1.3 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
!
router eigrp 100
network 13.13.13.0 0.0.0.255
network 123.1.1.0 0.0.0.255
redistribute ospf 100 metric 10000 100 255 1 1500
!
router ospf 100
redistribute eigrp 100 metric-type 1 subnets
network 3.3.3.3 0.0.0.0 area 0
network 34.1.1.0 0.0.0.255 area 0
distance 180 2.2.2.2 0.0.0.0
R4
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
ip address 24.1.1.4 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet0/3
ip address 34.1.1.4 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 100
network 4.4.4.4 0.0.0.0 area 0
network 24.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 0
1.0.0.0/32 is subnetted, 1 subnets
O E1 1.1.1.1 [110/30] via 34.1.1.3, 00:54:33, Ethernet0/3
[110/30] via 24.1.1.2, 01:22:45, Ethernet0/2
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 24.1.1.2, 01:29:12, Ethernet0/2
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 34.1.1.3, 01:26:23, Ethernet0/3
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
13.0.0.0/24 is subnetted, 1 subnets
O E1 13.13.13.0 [110/30] via 34.1.1.3, 00:54:33, Ethernet0/3
[110/30] via 24.1.1.2, 01:06:16, Ethernet0/2
24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 24.1.1.0/24 is directly connected, Ethernet0/2
L 24.1.1.4/32 is directly connected, Ethernet0/2
34.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 34.1.1.0/24 is directly connected, Ethernet0/3
L 34.1.1.4/32 is directly connected, Ethernet0/3
123.0.0.0/24 is subnetted, 1 subnets
O E1 123.1.1.0 [110/30] via 34.1.1.3, 00:54:33, Ethernet0/3
[110/30] via 24.1.1.2, 01:11:37, Ethernet0/2
|
最佳答案
查看完整内容
很简单的一道题, 不过在解之前 你是不是应该考虑下 路由环的问题。 随便弄一下就有路由环了。这种配置在工作中最好不要出现。
|