Re: Policy routing question

From: HHH (jnciecert@yahoo.com)
Date: Tue Jan 08 2002 - 13:41:31 EST


I would use Filter Based Forwarding to achieve this, but if you must do it
with routing policy try this config. I have not used it, I dont have any
access to a box here, but it represents how you could do it using policy.
let me knwo if that works.

 policy-options {
     policy-statement TRAF_ENG {
         term term-one {
             from {
  filter-list 10.1.1.1/32 exact;
             }
             then {
                 next-hop <destination-on-interface-f2>;
             }

         }
         term term-two {
             then {
          next-hop <destination-on-interface-f3>;
             }

         }
     }
 }

 routing-options

     forwarding-table {
          export TRAF_ENG;
     }
 }

----- Original Message -----
From: "wei man" <wxm8@yahoo.com>
To: <juniper-nsp@puck.nether.net>
Sent: Tuesday, January 08, 2002 10:04 AM
Subject: Policy routing question

> Hi,
>
> How to implement policy routing in this scenario
>
> FE2
> /
> FE1 ---- M10
> \
> FE3
>
> FE1 = Fast Ethernet 1
>
> If packet coming into FE1 and has source address
> of 10.1.1.1 forward it to FE2, All other traffic
> forward it to FE3
>
> and the router does not have any routing protocol
> running
>
> Anybody can give me sample config how to apply this
> policy ?
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:38 EDT