Mailing List Archive

Re: [quagga-dev 16649] Re: PBR(policy based routing in quagga)
On 08/22/17 06:24, ankaiah.nallamekala@wipro.com wrote:
> Policy can be anything right, we can set any matching criteria and its
> not mandatory to set 5-tupple value, Please correct me if my
> understanding is wrong.

If you're doing routing on something other than destination address,
then that's an OS kernel-level feature. You should look into iptables,
IP-Filter, ipchains, or whatever your local OS supports for rule-based
packet filtering/rewriting.

That sort of thing isn't really related to a routing protocol suite such
as Quagga.

--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users
Re: [quagga-dev 16649] Re: PBR(policy based routing in quagga) [ In reply to ]
Thanks James.

Could you please let me know Quagga version which supports route redistribution(PBR) in BGP.

Thanks,
Ankaiah.

-----Original Message-----
From: James Carlson [mailto:carlsonj@workingcode.com]
Sent: Tuesday, August 22, 2017 5:43 PM
To: Ankaiah Nallamekala (MFG & Tech) <ankaiah.nallamekala@wipro.com>; Tom Samplonius <tom@samplonius.org>; Anki Abhi <anki.nakm@gmail.com>
Cc: quagga-users@lists.quagga.net; quagga-dev@lists.quagga.net
Subject: Re: [quagga-dev 16649] Re: [quagga-users 14754] PBR(policy based routing in quagga)

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

On 08/22/17 06:24, ankaiah.nallamekala@wipro.com wrote:
> Policy can be anything right, we can set any matching criteria and its
> not mandatory to set 5-tupple value, Please correct me if my
> understanding is wrong.

If you're doing routing on something other than destination address, then that's an OS kernel-level feature. You should look into iptables, IP-Filter, ipchains, or whatever your local OS supports for rule-based packet filtering/rewriting.

That sort of thing isn't really related to a routing protocol suite such as Quagga.

--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users
Re: [quagga-dev 16649] Re: PBR(policy based routing in quagga) [ In reply to ]
On 08/22/17 08:29, ankaiah.nallamekala@wipro.com wrote:
> Thanks James.
>
> Could you please let me know Quagga version which supports route redistribution(PBR) in BGP.

All versions do; redistribution is a core feature. But I suspect that
you have other requirements and you should post details to the list of
exactly what you're trying to do (with detailed examples) and what you
expect the system to do for you. It would probably also help if you
could post more about the OS you're using, because Quagga doesn't live
on an island.

It doesn't redirect traffic based on ToS/QoS, nor based on source
address, nor on IP header options, nor packet length, nor based on
transport (layer-4) protocol, nor on other layer-4 features (such as
port numbers), nor on any higher level protocol feature (e.g., URL). It
really can't do that unless the underlying kernel interfaces were to
support it. It doesn't, in fact, handle *any* data packets -- it just
computes data ("routes") to send to the kernel. It's a control plane
tool, not data plane.

Routing in a datagram network is done based on destination address.
(And, possibly, interface and VRF tags.)

If those other things are the sorts of things you're trying to do, then
it sounds like you're looking for OS features for packet redirection and
rewriting, as previously described. I.e., something in the data plane.

These things certainly interact with each other in network design, but
they're logically distinct. (Even with Cisco, you can't redistribute
"policies" via BGP, as far as I know.)

--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users