Hi Claudio and Misc@,

On Sun, 06 Dec 2009 18:43:06 +0700, Claudio Jeker <cje...@diehard.n-r-g.com> wrote:

On Sun, Dec 06, 2009 at 04:45:12PM +0700, Insan Praja SW wrote:
Hi Misc@,
Just updating my router to current, BGPd failed to start with the
following messages:
$ tail -f /var/log/messages
Dec  6 16:25:03 GreenRouter-JKT01 /bsd: root on wd0a swap on wd0b
dump on wd0b
Dec  6 16:25:02 GreenRouter-JKT01 savecore: no core dump
Dec  6 16:25:07 GreenRouter-JKT01 bgpd[29261]: fatal in parent:
socket: Protocol not supported
Dec  6 16:26:48 GreenRouter-JKT01 bgpd[1371]: fatal in parent:
socket: Protocol not supported
Dec  6 16:27:15 GreenRouter-JKT01 bgpd[13894]: fatal in parent:
socket: Protocol not supported


Fixed in -current. rev 1.242 of parse.y


Between this shiny compiled -i386 current (07 December 2009), bgpd between these two wont start with the following messages.

GR-JKT01:

Dec 7 20:05:54 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:06:56 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:08:35 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled
Dec  7 20:13:27 GreenRouter-JKT01 last message repeated 3 times
Dec 7 20:21:13 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:23:22 GreenRouter-JKT01 bgpd[14382]: neighbor 202.90.abc.ef (BORDER-LF): socket error: Operation timed out Dec 7 20:25:24 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef(BORDER-LF): bad AFI, IPv6 disabled

B-LF:

Dec 7 20:21:49 Border-LF bgpd[14756]: neighbor 202.90.abc.gh (JKT-CORE01): bad AFI, IPv6 disabled Dec 7 20:23:51 Border-LF bgpd[22797]: neighbor 202.90.abc.gh (JKT-CORE01): socket error: Operation timed out Dec 7 20:25:25 Border-LF bgpd[14756]: neighbor 202.90.abc.gh (JKT-CORE01): bad AFI, IPv6 disabled

I tried to add these lines:

announce IPv4 unicast

to both routers, restart bgpd (pkill bgpd && sleep 5 && bgpd) but it still failed. The strange thing is, things just work with older kernel/current or different s/w or h/w (cizcoz etc).
Thanks,



--
insandotpraja(at)gmaildotcom

Reply via email to