Policy Based Routing

rickyfv

Re: Policy Based Routing

Post by rickyfv »

Finally tech support contacted me. He asked me to draw a picture of my diagram... Then he said they don't support this... They just support BFD but totally does not apply to me. We actually working on upgrading to OS10K, but now I need to think, if this simple protocol does not support... I told him I am very disappointed with Alcatel...
matiasniosi

Re: Policy Based Routing

Post by matiasniosi »

Thanks rickyfv for the update! I´ve sent Alcatel a feature request again... as soon as I receive an answer I´ll post it.

Regards.
cedric1

Re: Policy Based Routing

Post by cedric1 »

Hello

I have no news from Alu. But for your question if you use bgp yu can do
What you want without pbr. Just play with local pref for prefix you get from ISP A.
With bgp yu can make all things.
matiasniosi

Re: Policy Based Routing

Post by matiasniosi »

The thing is that I need to route different groups if source ip ranges through different paths and that can't be done with bgp. that's why i need pbr, but can't backup connections since there is no secondary gateway...
solo_11

Re: Policy Based Routing

Post by solo_11 »

Hello,

I also been working with PBR and what I want to do is to have 2 default routes for differents subnets, I found that this can be done by using PBR but I also want that all subnets can communicate betwwen each other so I don´t know if this is possible.
matiasniosi

Re: Policy Based Routing

Post by matiasniosi »

solo_11,

what I do and works perfect is to make various policy rules with different priorities.

First you make a policy rule with the highest priority with a condition destination ip address your local subnets and action allow.

Then you do two other rules with lower priority with condition source ip address each of the subnets with action permanent gateway (one for each subnet).

This way the first rule bypasses the permanent gateway action. And for all other other destination it applies the different default routes depending on the suorce ip.

Hope this helps!

Regards
User avatar
slixxboy
Member
Posts: 61
Joined: 29 Dec 2009 20:33
Location: Philippines

Re: Policy Based Routing

Post by slixxboy »

hello sir, can you state some example of what you have doing, so that other people here know how to solved this problem.

Thanks,

Victor
matiasniosi

Re: Policy Based Routing

Post by matiasniosi »

Here you have two subnets:
- 192.168.1.0/24 uses 1.1.1.1 as default gateway
- 192.168.2.0/24 uses 2.2.2.2 as default gateway

--------------------------------------------------------------------------------
policy network group IPSubnet1 192.168.1.0 mask 255.255.255.0
policy network group IPSubnet2 192.168.2.0 mask 255.255.255.0

policy action DGW1 permanent gateway ip 1.1.1.1
policy action DGW2 permanent gateway ip 2.2.2.2
policy action Allow

policy condition InternalTraffic1 destination network IPSubnet2
policy condition InternalTraffic2 destination network IPSubnet1
policy condition ExternalTraffic1 source network IPSubnet1
policy condition ExternalTraffic2 source network IPSubnet2

policy rule InternalTraffic1 precedence 1000 condition InternalTraffic1 action Allow
policy rule InternalTraffic2 precedence 1000 condition InternalTraffic2 action Allow
policy rule ExternalTraffic1 precedence 500 condition ExternalTraffic1 action DGW1
policy rule ExternalTraffic2 precedence 500 condition ExternalTraffic2 action DGW2

qos apply
--------------------------------------------------------------------------------
junquel

Re: Policy Based Routing

Post by junquel »

Thanks for the tip.
Your exercise works great...
Post Reply

Return to “OmniSwitch 6850 / 6850E”