Policy Based Routing
-
rickyfv
Re: Policy Based Routing
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
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.
Regards.
-
cedric1
Re: Policy Based Routing
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.
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
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
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.
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
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
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
Re: Policy Based Routing
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
Thanks,
Victor
-
matiasniosi
Re: Policy Based Routing
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
--------------------------------------------------------------------------------
- 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
--------------------------------------------------------------------------------
