Static routes
Support of the day
support at bb-one.net
Tue Feb 23 08:07:27 CET 2016
Hi Daniel,
thanks a lot for this advices.
The "persist"-command was disabled BUT I forgot sudo.
So it works:
sudo ... reload brings up the routes, reload without sudo simply doesn´t
anything
sudo ... restart kills the route, when deactivated or deleted, restart
without sudo brings the failure message, as you described.
Thanks a lot, again.
Regards
Dirk
Am 22.02.2016 um 12:38 schrieb Daniel Seidenstücker:
> Hi Dirk,
>
> @1st question:
> I think it could be solved by removing/commenting the "persist" from the kernel protocol of the BIRD config file.
>
> http://bird.network.cz/?get_doc&f=bird-3.html#ss3.1
> protocol kernel {
> persist; # Don't remove routes on BIRD shutdown
> ...
> }
>
>
> @2nd question:
> I think " bird: sk_open_unix: bind: Address already in use bird: Unable to create control socket /var/run/bird.ctl [fail]" can be solved with sudo/root.
>
> Ubuntu call without sudo results in " bird: Cannot create control socket /usr/local/var/run/bird.ctl: Address already in use".
>
> A config file error would result in "bird: /etc/bird/bird.conf, line 7: syntax error" for example.
>
> Regards,
> Daniel
>
> -----Ursprüngliche Nachricht-----
> Von: bird-users-bounces at network.cz [mailto:bird-users-bounces at network.cz] Im Auftrag von Support of the day
> Gesendet: Montag, 22. Februar 2016 09:38
> An: bird-users at network.cz
> Betreff: Static routes
>
> Hi,
> this is my first post to this list, so i hope to meet the rules here.
>
> We have two BIRDs acting as BGP-router, running since more than four years without any trouble.
> Now we wanted to define some static routes with
>
> route yyy.yyy.yyy.yyy/32 via xxx.xxx.xxx.xxx;
>
> We reload bird and the routes can be seen with netstat -r.
> First question (just for learning) is: when we want to delete one of this static routes with a "#" at the beginning of the lines and reload bird, we still see this route.
> So what is the right way to delete a static route?
>
> Second question: the described issue was some weeks ago. This week we had to define some static routes, similar to the ones above. But this time it is not working, we cannot see the routes. And:
> /etc/init.d/bird restart
> * Restarting Internet routing daemon bird
> bird: sk_open_unix: bind: Address already in use
> bird: Unable to create control socket /var/run/bird.ctl [fail]
>
> This message is on both routers.
> Perhaps this is the result of a syntax-problem in our both confs?
>
> Dirk
>
--
BB-ONE.net - Support-Team
-----------------------------------------------------------------------
Internetpartner der Wirtschaft
Web: www.bb-one.net
eMail: support at bb-one.net
Fon: +49 (0)30 609 804 750
BB-ONE.net Ltd.
Niederlassung Berlin
13439 Berlin
Borgsdorfer Strasse 30
USt-IdNr. DE252416900
Amtsgericht Berlin-Charlottenburg, HRB 104629
Geschäftsführer Uwe Stache
-----------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der bezeichnete Empfaenger sind, informieren Sie bitte sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet.
The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.
More information about the Bird-users
mailing list