OSPF socket error on "bge0" invalid argument

dave seddon dave.seddon.ca at gmail.com
Sat Dec 31 02:06:40 CET 2016


Just a guess "pointopoint" -> "pointtopoint"

On Dec 30, 2016 5:04 PM, "David S." <david at zeromail.us> wrote:

> Dear All,
>
> I have trouble to establish ospf on BIRD 1.6.3 using FreeBSD 11 amd64,
> here is my topology and BIRD configuration:
>
> router-a ------ router-b (directly connected use cat6)
>
> router-a: 10.22.40.17/30
> router-b: 10.22.40.18/30
>
> bird.conf in router-a
>
>         router id 10.5.16.1;
>         debug all;
>         import filter ospf_in_routerb;
>         export filter ospf_out_routerb;
>         tick 2;
>         area 0 {
>            interface "bge0" {
>                 stub;
>                 cost 5;
>                 hello 10; retransmit 2; wait 10; dead 40;
>                 type pointopoint;
>                 };
>            networks {
>                 103.22.40.16/30;
>                 };
>            interface "*" {
>                 cost 1000;
>                 stub;
>                 };
>         };
> }
>
> bird.conf in routerb
>
>         router id 10.5.16.2;
>         debug all;
>         import filter ospf_in_routera;
>         export filter ospf_out_routera;
>         tick 2;
>         area 0 {
>            interface "bge0" {
>                 stub;
>                 cost 5;
>                 hello 10; retransmit 2; wait 10; dead 40;
>                 type pointopoint;
>                 };
>            networks {
>                 103.22.40.16/30;
>                 };
>            interface "*" {
>                 cost 1000;
>                 stub;
>                 };
>         };
> }
>
> I found the following error message from bird.log:
>
> 2016-12-31 07:52:38 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:52:43 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:52:48 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:52:53 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:52:57 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:03 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:07 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:13 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:18 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:22 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:27 <ERR> ospf1: Socket error on bge0: Invalid argument
> 2016-12-31 07:53:28 <ERR> ospf1: Socket error on bge0: Invalid argument
>
> Show ospf:
>
> bird> show ospf
> ospf1:
> RFC1583 compatibility: disabled
> Stub router: No
> RT scheduler tick: 2
> Number of areas: 1
> Number of LSAs in DB:   260
>         Area: 0.0.0.0 (0) [BACKBONE]
>                 Stub:   No
>                 NSSA:   No
>                 Transit:        No
>                 Number of interfaces:   25
>                 Number of neighbors:    0
>                 Number of adjacent neighbors:   0
>                 Area networks:
>                          10.22.40.16/30      Advertise
>
> bird> show protocols all ospf1
> name     proto    table    state  since       info
> ospf1    OSPF     master   up     07:53:28    Alone
>   Router ID:      10.8.60.1
>   Preference:     150
>   Input filter:   ospf_in_routerb
>   Output filter:  ospf_out_routerb
>   Routes:         25 imported, 259 exported, 0 preferred
>   Route change stats:     received   rejected   filtered    ignored
> accepted
>     Import updates:             25          0          0          0
>   25
>     Import withdraws:            0          0        ---          0
>    0
>     Export updates:         630587          0     630328        ---
>  259
>     Export withdraws:           22        ---        ---        ---
>    0
>
> Why ospf neighbor can't established?
> I'm new to ospf and really need help.
>
> Thank you
>
> Best regards,
> David S.
> ------------------------------------------------
> e. david at zeromail.us
> w. pnyet.web.id
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20161230/cef9eef6/attachment.html>


More information about the Bird-users mailing list