route-maps (again)

route-maps (again)

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
route-maps (again) HangaS 05-08-2008
Posted by HangaS on May 8, 2008, 11:01 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi


I'm trying to create some rules to route trafic to some GW depending
either on the source address or destination address

For the source address matching I can use route-maps


access-list 1 permit x.x.1.1 0.0.0.0
access-list 1 permit x.x.1.4 0.0.0.0
access-list 1 permit x.x.1.3 0.0.0.0
access-list 1 deny any

route-map SERVER permit 10
match ip address 1
set ip next-hop x.y.z.254

and then apply this map to the interface


now, for the destination matching the only way I could get it to work
is through static routing

ip route a.b.c.d1 255.255.255.255 x.y.z.254
ip route a.b.c.d2 255.255.255.255 x.y.z.254
ip route a.b.c.d3 255.255.255.255 x.y.z.254
ip route a.b.c.d4 255.255.255.255 x.y.z.254

Ok this solves it for now, but what I realy wanted was to use some
sort of access lists for both destination
or origin (I can live with a list for IN and other for OUT) but
wanted to be able to apply it to a single interface, which is not
possible with global static routing.

Any tips on can I do this?

Thanks









Network Magic Graduation 20% off animated banner
Posted by HangaS on May 8, 2008, 5:41 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

I got it.
I guess I was just needing a break after fighing with the thing for
hours trying many stratagies in the wrong direction.

extendend access-list were real friends in this case.





other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map