birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected birdc BIRD 1.2.2 ready. bird> show route 65.52.0.0/15 Network not in table -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333
On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote:
birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected
Perhaps a probem caused by a shell? Try: birdc show route '65.52.0.0/15' -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 30.11.2010 10:49 Ondrej Zajicek wrote
On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote:
birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected
Perhaps a probem caused by a shell? Try:
birdc show route '65.52.0.0/15'
birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333
On Wed, Dec 01, 2010 at 01:58:21AM +0100, Arnold Nipper wrote:
On 30.11.2010 10:49 Ondrej Zajicek wrote
On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote:
birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected
Perhaps a probem caused by a shell? Try:
birdc show route '65.52.0.0/15'
birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected
Interesting. It works for me: # birdc show route 192.168.1.0/24 BIRD 1.2.2 ready. 192.168.1.0/24 via 81.92.145.67 on eth5 [ospf1 2010-11-30] * I (150/10) [192.168.1.1] # birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. Network not in table Does the problem appear if you try different networks, or it is just for 65.52.0.0/15? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Wed, Dec 01, 2010 at 10:05:10AM +0000, Matthew Walster wrote:
On 1 December 2010 00:58, Arnold Nipper <arnold@nipper.de> wrote:
birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected
Try:
birdc show route 65.52.0.0/15
i.e. don't use the apostrophes either side of the prefix. Works here.
Apostrophes in birdc arguments should be OK because they are processed by UNIX shell. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Apostrophes in birdc arguments should be OK because they are processed by UNIX shell.
Same here: # bash root@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# dash # birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected # birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected ii dash 0.5.5.1-7.2 POSIX-compliant shell ii bash 4.1-3 The GNU Bourne Again SHell GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) Regards. -- . Przemyslaw Stanislaw Knycz, xmpp:djrzulf@kol.net.pl . | Wireless & IT specialist --- Mobile : +48 601391681 | | KIKE Founder & Member [GRAP] -- http://www.kike.pl/ | `- Futurama -- you can't prove it won't happen -'
Wiadomość napisana przez Przemysław Knycz w dniu 2010-12-01, o godz. 14:07:
Apostrophes in birdc arguments should be OK because they are processed by UNIX shell.
Same here: # bash root@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# dash # birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected # birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected
ii dash 0.5.5.1-7.2 POSIX-compliant shell ii bash 4.1-3 The GNU Bourne Again SHell GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
waw-rs1# uname -a FreeBSD waw-rs1 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun Oct 17 08:50:44 CEST 2010 root@waw-rs1:/usr/obj/usr/src/sys/PLIX amd64 waw-rs1# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table waw-rs1# bash [root@waw-rs1 ~]# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table FreeBSD :-))) -- Paweł Nastachowski <p.nastachowski@plix.pl> PLIX Sp. z o.o., http://www.plix.pl/ Al. Jerozolimskie 65/79, 00-697 Warszawa KRS: 0000295130, Sąd Rejonowy dla m.st. Warszawy, XIII Wydz. Gosp. Kapitał zakładowy: 300.000,00zł, NIP: PL7010109699
On 01.12.2010 14:13 Pawel Nastachowski wrote
Wiadomość napisana przez Przemysław Knycz w dniu 2010-12-01, o godz. 14:07:
Apostrophes in birdc arguments should be OK because they are processed by UNIX shell.
Same here: # bash root@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected root@zwrotnica:~# dash # birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected # birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected
ii dash 0.5.5.1-7.2 POSIX-compliant shell ii bash 4.1-3 The GNU Bourne Again SHell GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
waw-rs1# uname -a FreeBSD waw-rs1 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun Oct 17 08:50:44 CEST 2010 root@waw-rs1:/usr/obj/usr/src/sys/PLIX amd64 waw-rs1# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table waw-rs1# bash [root@waw-rs1 ~]# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table
FreeBSD :-)))
So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that "/" irritates any program. Otoh I'm an absolute OS/shell novice ... TIA and best regards, Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333
2010/12/10 Arnold Nipper <arnold@nipper.de>:
root@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that "/" irritates any program. Otoh I'm an absolute OS/shell novice ...
Hello, maybe your "birdc" is a shell alias or a shell script, which calls the actual binary, but passes only the first two arguments. Try "alias", "which birdc" and "file $(which birdc)" HTH, -- Martin Volf
On 10.12.2010 19:57 Martin Volf wrote
2010/12/10 Arnold Nipper <arnold@nipper.de>:
root@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that "/" irritates any program. Otoh I'm an absolute OS/shell novice ...
maybe your "birdc" is a shell alias or a shell script, which calls the actual binary, but passes only the first two arguments. Try "alias", "which birdc" and "file $(which birdc)"
which birdc /usr/sbin//birdc ls -l /usr/sbin//birdc lrwxrwxrwx 1 root root 28 May 12 2010 /usr/sbin//birdc -> birdc_1.2.2_lenny_unstripped file /usr/sbin/birdc_1.2.2_lenny_unstripped /usr/sbin/birdc_1.2.2_lenny_unstripped: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped HTH, Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arnold@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333
maybe your "birdc" is a shell alias or a shell script, which calls the actual binary, but passes only the first two arguments. Try "alias", "which birdc" and "file $(which birdc)"
which birdc /usr/sbin//birdc
ls -l /usr/sbin//birdc lrwxrwxrwx 1 root root 28 May 12 2010 /usr/sbin//birdc -> birdc_1.2.2_lenny_unstripped
file /usr/sbin/birdc_1.2.2_lenny_unstripped /usr/sbin/birdc_1.2.2_lenny_unstripped: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
I was wrong, sorry. -- Martin Volf
On Fri, Dec 10, 2010 at 06:03:47PM +0100, Arnold Nipper wrote:
So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that "/" irritates any program. Otoh I'm an absolute OS/shell novice ...
I am not sure yet. On all my testing systems it worked OK. Now i finally found one that shows this behavior so i will test it. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Mon, Dec 13, 2010 at 11:00:25AM +0100, Ondrej Zajicek wrote:
On Fri, Dec 10, 2010 at 06:03:47PM +0100, Arnold Nipper wrote:
So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that "/" irritates any program. Otoh I'm an absolute OS/shell novice ...
I am not sure yet. On all my testing systems it worked OK. Now i finally found one that shows this behavior so i will test it.
It was a silly bug in birdc. You can fix it by attached patch (affect only birdc binary, no need to restart bird). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (6)
-
Arnold Nipper -
Martin Volf -
Matthew Walster -
Ondrej Zajicek -
Pawel Nastachowski -
Przemysław Knycz