Ronen,
Below is a code snippet I use on my AmprNet router to direct any traffic with a 44/8 source or destination address to use Tunnel1 as my default interface. This allows any non-44 sourced traffic to route back to UCSD. The “ip local policy” command tells the router to apply the route-map to any locally generated traffic.
ip local policy route-map NET44-ROUTE-MAP
interface Loopback0 ip address 44.56.193.1 255.255.255.0
interface Tunnel1 description Default AMPRNet tunnel ip unnumbered Loopback0 ip tcp adjust-mss 1360 tunnel source 24.229.88.253 tunnel destination 169.228.66.251 tunnel mode ipip
interface FastEthernet0/1 ip address 44.56.192.254 255.255.255.240 ip policy route-map NET44-ROUTE-MAP duplex auto speed auto
ip access-list extended NET44-PBR permit ip any 44.0.0.0 0.255.255.255 permit ip 44.0.0.0 0.255.255.255 any
route-map NET44-ROUTE-MAP permit 10 match ip address NET44-PBR set default interface Tunnel1
Thanks Jesse - WC3XS
On 3/11/16, 1:57 PM, "44Net on behalf of R P" <44net-bounces+jesse=hindmarsh.cc@hamradio.ucsd.edu on behalf of ronenp@hotmail.com> wrote:
(Please trim inclusions from previous messages) _______________________________________________ Hi there
Is there any one that use Cisco as Gateway and use Policy routing for redirecting the 44 Net Traffic ?
I would like to get the Policy routing lines and the access list that belong to it
and also the static route command specially the one that refer to the default route and to the route to AMPR Gateway (the main 44 net router)
I am writing in the ampr wiki page how to set up a gateway with Cisco Router and i cant succeed to make my policy route work correct and dont want to publish example that doesn't work
Thanks in advance
Ronen - 4Z4ZQ
Ronen Pinchooks (4Z4ZQ) WebSitehttp://www.ronen.org/ www.ronen.org ronen.org (Ronen Pinchooks (4Z4ZQ) WebSite) is hosted by domainavenue.com