Re: Does radv protocol (re)scan interfaces on IPv6?

2014-09-02 Thread Alex Bligh
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

Does radv protocol (re)scan interfaces on IPv6?

2014-09-01 Thread Alex Bligh
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

Re: Removing device-bound routes when interface is going down

2014-08-18 Thread 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

Re: Multihop BGP cannot use direct gateway mode - misidentification of multihop sessions?

2014-08-13 Thread 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

Re: Multihop BGP cannot use direct gateway mode - misidentification of multihop sessions?

2014-08-13 Thread Alex Bligh
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'

Re: Multihop BGP cannot use direct gateway mode - misidentification of multihop sessions?

2014-08-12 Thread Alex Bligh
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 > &

Ubuntu / debian bird packaging

2014-07-25 Thread Alex Bligh
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

Re: Run external script after accepting BGP update or withdraw

2014-07-20 Thread 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

Re: Run external script after accepting BGP update or withdraw

2014-07-18 Thread 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

Re: BIRD 1.4.0 bugfixes [1/2]

2014-02-25 Thread 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

Re: [PATCH] Add the ability for a sysconfig file to determine extra parameters for bird

2014-02-05 Thread 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

Re: [PATCH] Add the ability for a sysconfig file to determine extra parameters for bird

2014-02-05 Thread 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

Re: Include in configuration files

2014-01-30 Thread Alex Bligh
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

[PATCH] Add the ability for a sysconfig file to determine extra parameters for bird

2013-12-11 Thread 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

Re: Bird within netns (no OS routing table injection with BGP)

2013-11-02 Thread Alex Bligh
; > * 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

Re: only enable radv if upstream connection available

2013-01-09 Thread Alex Bligh
how bird could intuit what you mean y 'working'. -- Alex Bligh

Re: Does Bird accept configuration changes using the command line?

2012-11-14 Thread Alex Bligh
doesn't lose any sessions etc. -- Alex Bligh

Using arp as a routing protocol (yuck)

2012-10-31 Thread 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

Re: Does Bird accept configuration changes using the command line?

2012-10-23 Thread 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

Re: Routing Question

2012-06-28 Thread 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

Re: Soft routes in bird

2012-05-26 Thread Alex Bligh
utes unless they are preferred. -- Alex Bligh

Re: BSD and carp take 2

2012-01-20 Thread Alex Bligh
stuff (including up/down other interfaces). There is no additional virtual interface per se. -- Alex Bligh

Re: BSD and carp take 2

2012-01-18 Thread Alex Bligh
slave announcement. -- Alex Bligh

Re: syncing device routes

2011-12-04 Thread 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

Re: syncing device routes

2011-12-04 Thread 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

Re: [PATCH] protocol templates

2011-11-02 Thread Alex Bligh
ting", "from", or "via"? To be honest, I preferred the simplicity of the colon though. -- Alex Bligh

Re: BIRD <-> Quagga OSPF Compatibility

2011-11-02 Thread Alex Bligh
not recall trying this unnumbered, and I agree the RFC probably implicitly prohibits it. -- Alex Bligh

Re: BIRD <-> Quagga OSPF Compatibility

2011-11-02 Thread 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

Re: BIRD <-> Quagga OSPF Compatibility

2011-11-02 Thread Alex Bligh
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

Re: BIRD <-> Quagga OSPF Compatibility

2011-11-01 Thread 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

Re: New release 1.3.4!

2011-10-21 Thread 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

Re: New release 1.3.4!

2011-10-10 Thread Alex Bligh
he debian maintainer (apologies if I have got this wrong). -- Alex Bligh

Re: ERR when redistributing to OSPF NSSA

2011-09-29 Thread 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

Re: ERR when redistributing to OSPF NSSA

2011-09-29 Thread 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

Directly connected interface redistribution problem

2011-09-28 Thread 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;

Re: debian/ubuntu init script

2011-09-14 Thread Alex Bligh
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

Re: Unsolicited router advertisements

2011-09-06 Thread Alex Bligh
- fortunately I want to restart ALL advertisements :-) -- Alex Bligh

Unsolicited router advertisements

2011-09-06 Thread Alex Bligh
maintain timers? -- Alex Bligh

Re: debian/ubuntu init script

2011-09-03 Thread 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

Re: FreeBSD and CARP

2011-08-26 Thread Alex Bligh
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

Re: debian/ubuntu init script

2011-08-18 Thread 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

debian/ubuntu init script

2011-08-18 Thread Alex Bligh
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

Re: bird 1.3.2 - kernel / learn / filters

2011-08-17 Thread Alex Bligh
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

Re: bird 1.3.2 - kernel / learn / filters

2011-08-17 Thread 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

Re: bird 1.3.2 - kernel / learn / filters

2011-08-17 Thread Alex Bligh
go in as "boot" (IIRC), whereas I'm currently installing mine as "static" (though I could choose anything). -- Alex Bligh

Re: bird 1.3.2 - kernel / learn / filters

2011-08-17 Thread 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

bird 1.3.2 - kernel / learn / filters

2011-08-17 Thread Alex Bligh
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

Reload fails - bird 1.3.2

2011-08-17 Thread 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

Re: Unreachable next-hop over bgp

2011-08-17 Thread Alex Bligh
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

Re: Unreachable next-hop over bgp

2011-08-17 Thread Alex Bligh
be to try the direct case! -- Alex Bligh

Re: Unreachable next-hop over bgp

2011-08-17 Thread 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

Unreachable next-hop over bgp

2011-08-17 Thread Alex Bligh
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;

Re: Open socket on OSPF Stub interfaces

2011-07-05 Thread Alex Bligh
--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

Re: Open socket on OSPF Stub interfaces

2011-07-05 Thread Alex Bligh
--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

Re: Open socket on OSPF Stub interfaces

2011-07-05 Thread Alex Bligh
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

Re: Open socket on OSPF Stub interfaces

2011-07-05 Thread 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

Re: Allowas-in in BIRD - possible to implement?

2011-07-01 Thread 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

Re: Allowas-in in BIRD - possible to implement?

2011-06-30 Thread 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

Re: Feature requests

2011-05-18 Thread Alex Bligh
w.delphion.com/details?pn=EP01006702A3 -- Alex Bligh

Re: Feature requests

2011-05-17 Thread 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

Re: Feature requests

2011-05-17 Thread 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

Re: Feature requests

2011-05-17 Thread 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

Re: Feature requests

2011-05-03 Thread 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

Re: Redistributing kernel routes

2011-05-03 Thread 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

Re: Feature requests

2011-05-02 Thread Alex Bligh
ating them as if they were interface routes (Type 2 LSA rather than Type 5 IIRC). -- Alex Bligh

Re: Redistributing kernel routes

2011-05-02 Thread 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

Redistributing kernel routes

2011-05-02 Thread Alex Bligh
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