Which is the difference between a routing daemon and a router configuration? For example using BIRD you can set up a BPG session, but you can always set up a BGP session for example using a CISCO router, using its syntax.
2 Answers
A routing daemon is an instance or a service running on a generic, multi-purpose operating system. A router is (mostly) a piece of hardware you put in a rack.
Practically, there is not much difference. Features and handling may vary, of course.
-
so the main difference is that if you use a vendor such as Cisco, you have to buy a router and setting it up, otherwise using a routing daemon you can use a Linux server and make it working like a router?– FbaStackCommented Apr 12, 2020 at 12:25
-
-
And so why should you buy a router? I mean you should know syntax of different vendors, maybe buying a router is more expensive, but maybe a router is more performing than a routing daemon?– FbaStackCommented Apr 12, 2020 at 12:54
-
1Like any specialized hardware, it might do a better job. A dedicated, business-grade device might be more stable and offer more performance than a software router. Have you ever tried routing 10+ Gbit/s in software?– Zac67 ♦Commented Apr 12, 2020 at 13:32
BGP is an industry-standard routing protocol defined IETF with several RFC standards. But defining something as a standard is not enough. It is saying something like "you can build your house according to these blueprints" yeah cool but you need a lot of tools and work hours to build that house.
It is the same with your question. BGP is there but somebody needs to put these IETF standards to their code / OS to be used by us. Companies like Cisco, Juniper, Extreme networks does this but you have to pay for them to use their hardware/software as you mentioned in your question "you can always set up a BGP session, for example, using a CISCO router, using its syntax."
What if you don't want to pay a Vendor for using BGP?
You can go for Linux obviously but Linux itself does not include BGP sourcecode natively. Thus there are some projects like BIRD, Quagga (forked into FRR), ExaBGP, ... etc. These projects provide you source code which enables you to run BGP on a Linux box. When you run one of this code on Linux it sits in the background and processes BGP routing for you. These programs sitting in the background are called "daemons".
You still need to do interface and BGP configurations, but commands are most likely not user friendly like Cisco.