Hi,
I am having two ISPs and I want to divert http traffic to
to one perticular ISP.TO achive this I have designed a route-map which forwards the http traffic to a DNS server of the local ISP.Will this work?
The route-map configuration is as follows,
access-list 175 permit ip x.y.z.0 0.0.3.255 10.235.0.0 0.0.255.255
access-list 176 deny ip x.y.z.0 0.0.3.255 host 202.144.10.50 ---->DNS IP
access-list 176 deny ip x.y.z.0 0.0.3.255 host 202.144.115.4 ---->DNS IP
access-list 176 deny ip x.y.z.0 0.0.3.255 host 143.166.11.22
access-list 176 deny ip x.y.z.0 0.0.3.255 host 143.166.170.15
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.21
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.93.39
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.168
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.93.48
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.224.210
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.54
route-map TEST permit 10
match ip address 175
!
route-map TEST permit 20
match ip address 176
set ip next-hop 192.193.237.1
!
Idea here is,if the permit list 176 for DNS ip address wudnt match then it will be routed by OSPF process and will not be forwarded to other ISP which is accessable via next hop address 192.193.237.1
I am having two ISPs and I want to divert http traffic to
to one perticular ISP.TO achive this I have designed a route-map which forwards the http traffic to a DNS server of the local ISP.Will this work?
The route-map configuration is as follows,
access-list 175 permit ip x.y.z.0 0.0.3.255 10.235.0.0 0.0.255.255
access-list 176 deny ip x.y.z.0 0.0.3.255 host 202.144.10.50 ---->DNS IP
access-list 176 deny ip x.y.z.0 0.0.3.255 host 202.144.115.4 ---->DNS IP
access-list 176 deny ip x.y.z.0 0.0.3.255 host 143.166.11.22
access-list 176 deny ip x.y.z.0 0.0.3.255 host 143.166.170.15
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.21
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.93.39
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.168
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.93.48
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.224.210
access-list 176 permit ip x.y.z.0 0.0.3.255 host 143.166.12.54
route-map TEST permit 10
match ip address 175
!
route-map TEST permit 20
match ip address 176
set ip next-hop 192.193.237.1
!
Idea here is,if the permit list 176 for DNS ip address wudnt match then it will be routed by OSPF process and will not be forwarded to other ISP which is accessable via next hop address 192.193.237.1