07-08-2012 07:24 AM - edited 03-07-2019 07:39 AM
I have following questions here.
When default route is pointed at R2 the
traffic source from vlan 10 designated for office1 (20.20.20.0) should be routed to R3 .
The f1/0 on R1 is a layer 2 interface, R4 is acting as a PC and its gateway is a SVI address (10.1.3.1) on R1.
The routing table on R1 is like this
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.3.0/24 is directly connected, Vlan10
C 10.1.2.0/30 is directly connected, FastEthernet0/1
C 10.1.1.0/30 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 10.1.1.1
Route map on R1 is like this
route-map R3, permit, sequence 10
Match clauses:
ip address (access-lists): 101
Set clauses:
ip next-hop 10.1.2.1
ip next-hop verify-availability
Policy routing matches: 150 packets, 10226 bytes
Access-list on R1 is like this
R1(config)#do show access-list
Extended IP access list 101
10 permit ip 10.1.3.0 0.0.0.255 20.20.20.0 0.0.0.255 (153 matches)
I also forced local policy
ip local policy route-map R3
I applied policy on vlan 10
interface Vlan10
ip address 10.1.3.1 255.255.255.0
ip policy route-map R3
The routing table on R3 is like this
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
20.0.0.0/24 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, Loopback99
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.2.0/30 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 is directly connected, FastEthernet0/0
R4’s routing table is like below
R4(config)#do show ip route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 10.1.3.1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.3.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 is directly connected, FastEthernet0/0
As you can see there are matching clauses, but I couldn’t ping 20.20.20.20 sourced from vlan 10. I do not want to add 20.20.20.0 network into routing table because if I do so the whole routing map thing would be pointless. So I want to know how to reach 20.20.20.0 network without add extra entry into routing table.
This question is driving me crazy.
Any help is appreciated.
Solved! Go to Solution.
07-09-2012 05:54 AM
:-)... Thats intresting.... nice to hear....
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide