Advertise prefix without static
Hi All, My name is David, I'm from Indonesia. I'm new on BGP and especially Bird. I configure FreeBSD 10.2 with Bird 1.5. I just want to know there is any way to advertise a network prefix without protocol static, please tell how if is it possible. I have read the documentation and I can't find any article that point me to my question. Thanks in advance. Best regards, David S. ------------------------------------------------ e. david@zeromail.us w. http://blog.pnyet.web.id
Hi. BIRD can redistribute only routes|prefixes that are in BIRD's route table. This is 1) available into system routing tables 2) obtained from other routing protocols and 3) specified in static protocol. Why do you want to redistribute prefix that isn't in BIRD routing table? If you doesn't want to pass static route to kernel - you can filter it in kernel protocol (but I can't imagine cases when this'll be useful). 22.11.2015 14:05, David S. пишет:
Hi All,
My name is David, I'm from Indonesia. I'm new on BGP and especially Bird. I configure FreeBSD 10.2 with Bird 1.5. I just want to know there is any way to advertise a network prefix without protocol static, please tell how if is it possible. I have read the documentation and I can't find any article that point me to my question.
Thanks in advance.
Best regards, David S. ------------------------------------------------ e. david@zeromail.us <mailto:david@zeromail.us> w. http://blog.pnyet.web.id
Hi Andrew, Thank you for your quick response. I just want to know is it possible or not because when I use mikrotik I can advertise prefix by adding the network address into network table. On Nov 22, 2015 7:38 PM, "Andrew" <nitr0@seti.kr.ua> wrote:
Hi.
BIRD can redistribute only routes|prefixes that are in BIRD's route table. This is 1) available into system routing tables 2) obtained from other routing protocols and 3) specified in static protocol.
Why do you want to redistribute prefix that isn't in BIRD routing table? If you doesn't want to pass static route to kernel - you can filter it in kernel protocol (but I can't imagine cases when this'll be useful).
22.11.2015 14:05, David S. пишет:
Hi All,
My name is David, I'm from Indonesia. I'm new on BGP and especially Bird. I configure FreeBSD 10.2 with Bird 1.5. I just want to know there is any way to advertise a network prefix without protocol static, please tell how if is it possible. I have read the documentation and I can't find any article that point me to my question.
Thanks in advance.
Best regards, David S. ------------------------------------------------ e. david@zeromail.us w. http://blog.pnyet.web.id
Well yes an no. Depending of case. But lets say that way that if your use case is that you have /20 network and then you have smaller (more spesific) netoworks inside your own infra you can do example that way protocol static announce { route x.x.x.x/20 unreachable; } That will generate advertise. Then your more spesific routes will handle real traffic. If you want you can filter these routes so that they will not go to kernel, but as far you have more spesific routes they will not harm you. If you do not have them then you need anyways static routes or some other route source for them and you can use them for advertisement. Most of other softwares allow you to generate fake bgp advertisements in bgp protocol (and in most cases it is even standard way to do it) But I think that bird way is quite logical after you get used to it. 22.11.2015, 14:05, David S. kirjoitti:
Hi All,
My name is David, I'm from Indonesia. I'm new on BGP and especially Bird. I configure FreeBSD 10.2 with Bird 1.5. I just want to know there is any way to advertise a network prefix without protocol static, please tell how if is it possible. I have read the documentation and I can't find any article that point me to my question.
Thanks in advance.
Best regards, David S. ------------------------------------------------ e. david@zeromail.us <mailto:david@zeromail.us> w. http://blog.pnyet.web.id
-- Tapio Haapala F-Solutions Oy mobile +358400998371 irc Burner@ircnet skype burner-
Hi Tapio, Thank you, I'm fully understand now and this is just my curiosity. Thanks All, and have a good day :) Best regards, David S. ------------------------------------------------ e. david@zeromail.us w. http://blog.pnyet.web.id On Sun, Nov 22, 2015 at 9:59 PM, Tapio Haapala <tapio.haapala@f-solutions.fi
wrote:
Well yes an no. Depending of case. But lets say that way that if your use case is that you have /20 network and then you have smaller (more spesific) netoworks inside your own infra you can do example that way
protocol static announce {
route x.x.x.x/20 unreachable; } That will generate advertise. Then your more spesific routes will handle real traffic. If you want you can filter these routes so that they will not go to kernel, but as far you have more spesific routes they will not harm you. If you do not have them then you need anyways static routes or some other route source for them and you can use them for advertisement.
Most of other softwares allow you to generate fake bgp advertisements in bgp protocol (and in most cases it is even standard way to do it) But I think that bird way is quite logical after you get used to it.
22.11.2015, 14:05, David S. kirjoitti:
Hi All,
My name is David, I'm from Indonesia. I'm new on BGP and especially Bird. I configure FreeBSD 10.2 with Bird 1.5. I just want to know there is any way to advertise a network prefix without protocol static, please tell how if is it possible. I have read the documentation and I can't find any article that point me to my question.
Thanks in advance.
Best regards, David S. ------------------------------------------------ e. david@zeromail.us w. http://blog.pnyet.web.id
-- Tapio Haapala F-Solutions Oy mobile +358400998371 irc Burner@ircnet skype burner-
participants (3)
-
Andrew -
David S. -
Tapio Haapala