11-30-2006 09:07 AM - edited 03-03-2019 02:52 PM
Hi all,
I have a scenario with two wan connections.
I want one for dialin vpdn (gre) and the other one for internet (the rest).
I try to do a route map for routing gre traffic across Dialer1 interface but this not works.
here is my config,
ip local policy route-map routinglocal
!
ip route 0.0.0.0 0.0.0.0 FastEthernet0 x.x.x.x
!
route-map routinglocal permit 8
match ip address 120
set interface Dialer1
!
access-list 120 permit gre any any
access-list 120 permit tcp any eq 1723 any
access-list 120 permit tcp any any eq 1723
!
if i set a route for dialer 1 vpdn works fine but i have teleworkers with dynamic ip then i can't set route for each host.
Somebody can help me?
thanks in advance
11-30-2006 09:43 PM
Did you try to use "ip policy route-map" command instead of "ip local policy route-map" ?
Where the "ip local policy route-map" command is for the packet which is originating from the router locally. And you can also check the ACL counter to ensure the packet is matched w/ the ACL, otherwise, it doesn't work. You also need to ensure the destination interface is correct. If you checked above but still not work, please post the full config for reference.
Check below :
Hope this helps.
12-01-2006 01:14 AM
12-02-2006 07:51 AM
I found you apply the policy route-map at the dialer interface but one of the condition of the poicy is to set the next-hop to dialer 1. There is a conflict that the policy route-map should be applied to the incoming interface, e.g. local LAN interface, if the packet incoming from the local LAN interface then based on the policy to forward to the preferred next-hop ip or interface.
Could you tell which interface is the local interface ? Please advise the traffic flow, which is the incoming and which is the outgoing and under what condition to which interface ?
Hope this helps.
12-05-2006 03:22 AM
I was testing different places to apply policy and then i forgot unset route-map from dialer 1.
The packet incoming from dialer 1 (internet) and outgoing by dialer 1.
All gre and TCP 1723 packets should apply the route-map.
12-05-2006 05:52 AM
Do you mean the incoming and outgoing interface for the policied traffic is the same ? If yes, I believe it won't work and I did not test this way before.
Could you elaborte more on the details of the flow direction ? Thx.
12-07-2006 07:23 AM
yes, incoming and outgoing interface for the policied traffic is the same.
I have two wan interfaces, Dialer1 and FastEthernet0. FastEthernet0 is for incoming and outgoing general traffic. And dialer1 is for incoming and outgoing gre traffic.
If i dont do with route-map, how can i set Dialer1 for incoming and outgoing gre traffic? Default route is Fastethernet0
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