e creation and activation?
I could try that for debugging purposes if you like, though we appear
to have fixed the problem for now. Why this fixes the problem is a
mystery!
> Are there any error messages in log?
Not that we noticed.
--
Alex Bligh
signature.asc
Description: Message signed with OpenPGP using GPGMail
duce this
further). I don't really want to restart bird6's radv protocol every time I add
an interface as this is quite frequent.
--
Alex Bligh
will clearly take ages, but it could be easily solved in bird itself - if
> interface
> is going down, all routes pointing to this device must be removed (not only
> direct and static routes - where it works perfectly).
That would seem the right thing to do.
--
Alex Bligh
Ondrej,
On 13 Aug 2014, at 10:57, Ondrej Zajicek wrote:
>>
>> How do I change it to a 'direct' (as opposed to multihop) session?
>
> Use 'direct' option:
>
>direct
>Specify that the neighbor is directly connected. The IP address of the
>neighbor must be from a directly reachable I
thus 'gateway' defaults to 'recursive'), as opposed to it detecting
a multihop session.
Also, you cannot (it would seem) change to 'gateway direct' as you get
the error.
At the very least I think there is a documentation error as
it says 'gateway direct'
Any ideas on the below?
Alex
On 8 Aug 2014, at 20:05, Alex Bligh wrote:
> When I start bird using 1.4.0-1 (Ubuntu Trusty) I see the error:
>
> warnings.log:Aug 8 13:47:03 node-10-157-128-41 bird: /etc/bird/bird.conf,
> line 62: Multihop BGP cannot use direct gateway mode
>
&
Previous packaging had the init script read /etc/default/bird, which pretty
standard
Modern packaging seems to look for /etc/bird/envvars
Is there a reason for this change (which broke stuff here) and would reading
both be better?
--
Alex Bligh
ot in a pre-agreed list? Or do some matching on the above and only in respect
of /some/ of the routes, run a script? These would be simple little programs in
lua (tens of lines maximum), but doubtless are not things that the members of
the Ondrej Aggregate will want to take code for on a case by case basis into
bird.
--
Alex Bligh
, but generalising this might be useful. This way
you could get your lua to filter out 99% of things before running
(e.g.) a script. We have some experience integrating lua things and
whilst I can't guarantee it, we may be prepared to take a look.
--
Alex Bligh
P and have active routes pointing to it. I therefore would ask
> you to consider fixing this in another way, by simply not requiring any
> IP addresses on the interface in order for it to be considered active.
+1. Either this or reliably detect subsequent numbering of the interfaces.
--
Alex Bligh
Ondrej,
On 5 Feb 2014, at 22:39, Ondrej Filip wrote:
> On 5.2.2014 10:41, Alex Bligh wrote:
>> Any thoughts on this?
>
> Applied. Thank you! New version of RPM packages in repository.
Thanks
--
Alex Bligh
Any thoughts on this?
Alex
On 11 Dec 2013, at 21:06, Alex Bligh wrote:
> On Ubuntu / Debian, you can use /etc/default/bird{,6} to specify
> parameters to be passed to the bird daemon. As far as I can tell,
> using the rpm spec file in the current srpm, you can't.
>
> I
we use it extensively. We have a little
snippet that is written by a process, and makes bird reload its config. This
way the body of the config remains unchanged. It's very useful.
--
Alex Bligh
ty. I am taking it
/etc/sysconfig is the right place.
Signed-off-by: Alex Bligh
---
misc/bird.init |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/misc/bird.init b/misc/bird.init
index 56842bf..7556dc5 100755
--- a/misc/bird.init
+++ b/misc/bird.init
@@ -22,6
;
> * Bird 1.3.7-1
> * GNU/Linux (Debian Wheezy)
I've not used "ip netns exec" but I have successfully used unshare -n to do
this.
--
Alex Bligh
how bird could intuit what you mean y
'working'.
--
Alex Bligh
doesn't lose any sessions etc.
--
Alex Bligh
lways be long subnet route0, 'advertise' it, by
repeatedly promiscuously arp'ing for it.
b) proxy arp for it
c) (horrors) (a) and (b) for proxy ndp
I'm taking it that the good taste of bird authors has prevented this misfeature
to date. Would it be easy to hack in?
--
Alex Bligh
t said routes in a separate kernel routing table,
and get bird to redistribute that IIRC. That way no reconfiguring
of bird is needed at all.
--
Alex Bligh
site announcing the /20?
The more specific route, if accepted, will always win, irrespective of
any other consideration. This is true on both IPv4 and IPv6, and is
fundamental to IP routing rather than specific to BGP.
--
Alex Bligh
utes unless they are preferred.
--
Alex Bligh
stuff (including up/down other interfaces).
There is no additional virtual interface per se.
--
Alex Bligh
slave
announcement.
--
Alex Bligh
ien routes from the kernel
}
# Import all directly connected routes. These come in with RTS_DEVICE
protocol direct evrdirect {
interface "-evrr-00", "evrr-*";
export all;
}
--
Alex Bligh
--On 4 December 2011 12:17:44 +0100 Ondrej Zajicek
wrote:
Note that BIRD does not really work on interfaces that do not have
any configured IP addresses. (just adding that using 'route add -host'
does not work).
It does not propagate them, but learning them works just fine
ting", "from", or "via"?
To be honest, I preferred the simplicity of the colon though.
--
Alex Bligh
not recall
trying this unnumbered, and
I agree the RFC probably implicitly prohibits it.
--
Alex Bligh
table.
What if you forcefully remove the IA_PEER flag for your ppp interfaces?
Then an IP address is send instead of ifIndex in the router LSA. Could be
an useful addition to bird.
They are unnumbered veth interfaces (i.e. point to point ethernet
tunnel). I'm not sure I can manipulate IA_PEER
or 4 times the address
space which is not acceptable.
(*) = yes I know I need to send some more debug data :-) Nearly
every 'bird ospf' problem seems to have quagga at the root of
it right now, though I do think /something/ is going wrong in
bird in redistribution of routes around protocol restarts.
--
Alex Bligh
bird (called 'broken-quagga-compat' if we must),
as I'd rather we didn't have to recompile bird to talk to quagga.
Is there a similar ospf6 issue?
--
Alex Bligh
eave it
the way it is.
What you DO need to do is include /etc/defaults/bird{,6} into your
init.d file, but I think this was fixed in 1.3.3.
--
Alex Bligh
he debian maintainer (apologies if I have got this
wrong).
--
Alex Bligh
t you the debug output you wanted, the test environment got
rebuilt before I could get it), as what we're doing is redistributing
static routes.
Do you have a fix I could try?
--
Alex Bligh
--On 29 September 2011 17:39:05 +0400 Fedor Dikarev
wrote:
I've got the problem: I'm trying to reditribute lo-address-es to ospf
nssa area:
My understanding was that OSPF NSSA does not work in bird. I'd love
to be told I'm wrong!
--
Alex Bligh
ork around it with a sleep(), but it is a bit arbitrary as I have
no idea how long to sleep for.
--
Alex Bligh
# Import kernel routes. These come in with RTS_INHERIT
protocol kernel evrkernel {
persist;# Don't remove routes on bird shutdown
scan time 10;
ftp://bird.network.cz/pub/bird/debian/dists/squeeze/main/binary-i386/net/
bird_1.3.3-1~bpo60+1_i386.deb
Thanks
--
Alex Bligh
- fortunately I want to restart ALL advertisements :-)
--
Alex Bligh
maintain timers?
--
Alex Bligh
--On 18 August 2011 13:44:52 +0100 Alex Bligh wrote:
--On 18 August 2011 11:48:25 +0200 Ondrej Zajicek
wrote:
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch
(taken straight from the ubuntu skeleton file), which
hings like this. Then I could just change the
file concerned (or better make it a symlink to a master or a slave
version)
--
Alex Bligh
--On 18 August 2011 11:48:25 +0200 Ondrej Zajicek
wrote:
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch
(taken straight from the ubuntu skeleton file), which will source
/etc/default/bird if it is present. This
init
file.
--
Alex Bligh
diff -u etc/init.d/bird{.orig,}
--- etc/init.d/bird.orig2011-05-02 19:33:41.363090697 +0100
+++ etc/init.d/bird 2011-08-18 08:39:01.952013376 +0100
@@ -25,6 +25,9 @@
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
+# Read con
all routes and blocks import of routes with
RTPROT_BOOT.
Thanks. Would you take a patch to take an option to 'learn' if I
have time some time?
--
Alex Bligh
all to "ip route" (by me), and
looks like this:
ip route add 4.4.4.4/32 proto SOMEPROTO nexthop dev evrr-01
Even though it has a "dev" next-hop, it isn't a device route
in bird terms, and only the kernel (bird) protocol sees it, as far as
I can tell.
--
Alex Bligh
go in as "boot" (IIRC),
whereas I'm currently installing mine as "static" (though I could
choose anything).
--
Alex Bligh
--On 17 August 2011 21:54:57 +0200 Ondrej Zajicek
wrote:
On Wed, Aug 17, 2011 at 07:59:39PM +0100, Alex Bligh wrote:
Is it possible either to control what routes the kernel protocol
learns from the kernel using "learn" by what /kernel/ protocol
they are (meaning the "proto
Is it possible either to control what routes the kernel protocol
learns from the kernel using "learn" by what /kernel/ protocol
they are (meaning the "protocol " field to the "ip route add"
command on linux), or alternatively to filter which of those
are exported?
--
Alex Bligh
x27;
or something? I spent a little while debugging this thinking
I've done something wrong. Config below (same as before) just in
case I have.
--
Alex Bligh
protocol kernel {
persist;# Don't remove routes on bird shutdown
scan time 10; # Scan
writing a
filter, these come in as RTS_DIRECT (obvious), but kernel routes
come in as RTS_INHERIT (not obvious that 'INHERIT' means 'KERNEL',
an RTS_KERNEL synonym would be nice).
--
Alex Bligh
be to try the
direct case!
--
Alex Bligh
--On 17 August 2011 18:38:09 +0100 Alex Bligh wrote:
The only reason for this I can see is because bird is determining
reachability on the basis of its FIB only (as opposed to the kernel
routing table) and there is no FIB entry for 10.255.199.0/24
(from show route).
How are such interface
show route).
How are such interface routes meant to get into the FIB?
--
Alex Bligh
Bird config:
protocol kernel {
persist;# Don't remove routes on bird shutdown
scan time 10; # Scan kernel routing table every 20
seconds
import all;
--On 5 July 2011 14:48:04 +0100 Matthew Walster wrote:
On 5 July 2011 14:30, Alex Bligh wrote:
OK, what I meant was this. Redistribution into an NSSA creates
(from memory) type 7 LSAs. I can't do that (or indeed any
redistribution) into a stub area, as I'm only permitted
LSA typ
--On 5 July 2011 15:55:05 +0200 Ondrej Zajicek
wrote:
On Tue, Jul 05, 2011 at 02:30:04PM +0100, Alex Bligh wrote:
However, a normal "interface" route (i.e. an attached network)
would create a type 2 LSA in a stubby area.
That is not true - type 2 LSA is created only for non-st
I have hundreds (or perhaps thousands) of such routers,
each carrying tens (or perhaps hundreds) of interface routes,
and I'd really like it if they didn't have to see the LSA's
from eachother (i.e. they only heard a default route). I
think these days Cisco supports OSPF filtering which is
another way to do this I suppose.
--
Alex Bligh
NSSA, is changing the LSA type of redistributed
connected and interface routes an option? (this also has the
advantage I don't need to reconfigure bird when adding/removing
routes).
--
Alex Bligh
not in general a fix here because the
routes tend to be too long to avoid filtering by the upstream. As
there is not a lot of traffic here (but what there is is important),
sometimes tunnels work.
--
Alex Bligh
or you are
using the wrong solution for the job.
Complete guess: are you trying to survive when your AS becomes
partitioned? If so, the easy way (given you say "provider")
is simply to carry around an IGP or BGP default route pointing
at said provider.
--
Alex Bligh
w.delphion.com/details?pn=EP01006702A3
--
Alex Bligh
st, 1 for network and 1 for the router is bad enough
(37.5% overhead). Losing another 2 is ridiculous, as "overhead"
IPs would exceed utilisable IPs.
--
Alex Bligh
--On 17 May 2011 17:00:07 +0530 Allan Pinto wrote:
maybe ucarp ?
http://www.ucarp.org/project/ucarp
Thanks. I looked at that and rejected it and now can't remember why. I
will try again.
--
Alex Bligh
aces redundancy protocols that
do not "waste" IP addresses (e.g. do not use IP addresses for the
native interfaces). One problem with VRRP is that it is allegedly
patent encumbered.
--
Alex Bligh
--On 3 May 2011 08:45:10 +0200 csszep wrote:
Privilege separation and running bird as non root.
FWIW I have had success running bird in a container (unshare -n) on
Linux, though you need to run birdc in the same container.
--
Alex Bligh
--On 2 May 2011 23:35:18 +0200 Ondrej Zajicek
wrote:
On Mon, May 02, 2011 at 09:01:35PM +0100, Alex Bligh wrote:
Ah. I knew it would be something stupid. It now works. Thanks.
Without the patch it appears to import all the routes other
than the device routes marked "proto boot&quo
ating them as if
they were interface routes (Type 2 LSA rather than Type 5 IIRC).
--
Alex Bligh
Ondrej,
--On 2 May 2011 21:58:51 +0200 Ondrej Zajicek
wrote:
On Mon, May 02, 2011 at 08:20:36PM +0100, Alex Bligh wrote:
I am having difficulty redistributing kernel routes into any other
protocol.
...
b) I cannot get normal static "via" routes to distribute.
You have to
234. They all behave the same (i.e.
bird does not see them). It also doesn't seem to apply to non-device
routes.
I can't help but think I must be doing something really stupid here.
--
Alex Bligh
root@alex-test:/# uname -a
Linux alex-test 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23
67 matches
Mail list logo