
Scenario:
All routers are configured in a single OSPF area.
Router_C, based on the cost metric for OSPF will send all packets with
a destination network address of 10.4.0.0 out the E0 interface.
Problem:
Have all packets destined for network 10.4.0.0 exit the Serial 0
Router_C.
Router_C#sh ip route
Codes: C - connected, S - static,
I - IGRP,
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, E - EGP,
i - IS-IS,
L1 - IS-IS level-1,
L2 - IS-IS level-2,
* - candidate default,
U - per-user static route,
o - ODR
Gateway of last resort is not set
10.0.0.0/16 is subnetted, 3 subnets
C 10.2.0.0 is directly connected,
Serial0
C 10.3.0.0 is directly connected,
Ethernet0
O 10.4.0.0 [110/74] via 10.3.0.1,
00:00:13, Ethernet0
Solution:
Policy routing will allow you to configure a route map. The route map
will be used by the router in lieu of destination routing.
In this scenario the best route to the destination network 10.4.0.0 is
to go ethernet. We want to force the route to take the serial
|
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容 本站提醒:不要进行人身攻击。谢谢配合。 |