eNSP实验

eNSP实验
目的:分流
10.1.开头的走AR4
10.2 开头的走AR3
全网通
各个路由器的配置
R1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 14.1.1.1/24 up up
GigabitEthernet0/0/1 12.1.1.1/24 up up
LoopBack0 10.1.1.1/24 up up(s)
LoopBack1 10.2.1.1/24 up up(s)
R2
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 23.1.1.2/24 up up
GigabitEthernet0/0/1 12.1.1.2/24 up up
LoopBack0 10.1.2.1/24 up up(s)
LoopBack1 10.2.2.1/24 up up(s)
R3
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 35.1.1.3/24 up up
GigabitEthernet0/0/1 36.1.1.3/24 up up
GigabitEthernet0/0/2 23.1.1.3/24 up up
GigabitEthernet6/0/0 34.1.1.3/24 up up
LoopBack0 3.3.3.3/24 up up(s)
R4
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 14.1.1.4/24 up up
GigabitEthernet0/0/1 45.1.1.4/24 up up
GigabitEthernet0/0/2 46.1.1.4/24 up up
GigabitEthernet6/0/0 34.1.1.4/24 up up
LoopBack0 4.4.4.4/24 up up(s)
R5
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 45.1.1.5/24 up up
GigabitEthernet0/0/1 35.1.1.5/24 up up
LoopBack0 10.1.5.1/24 up up(s)
LoopBack1 10.2.5.1/24 up up(s)
R6
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 36.1.1.6/24 up up
GigabitEthernet0/0/1 46.1.1.6/24 up up
LoopBack0 10.1.6.1/24 up up(s)
LoopBack1 10.2.6.1/24 up up(s)
规则
eNSP实验

route-policy A1 permit node 10 if-match ip-prefix a1 apply cost 100
//将符合ip-prefix的路由的开销值改为100

结果
eNSP实验

上一篇:静态路由配置


下一篇:ENSP实验2----交换机接交换机