OSPF socket error on "bge0" invalid argument

Keenan Tims ktims at gotroot.ca
Sat Dec 31 03:10:00 CET 2016


Not sure what the behaviour is if you set stub and PTP, but I assume you are getting stub behaviour here. Remove stub, should work.

Keenan⁣​

On Dec 30, 2016, 5:11 PM, at 5:11 PM, "David S." <david at zeromail.us> wrote:
>Hi Dave,
>
>No, the correct value is pointopoint or ptp, I have tried type ptp and
>broadcast but still same.
>The neighbor won't up.
>I don't know if it's a bug or not but I have tried very basic
>configuration
>from wiki page and still same.
>
>Thank you
>
>
>
>Best regards,
>David S.
>------------------------------------------------
>e. david at zeromail.us
>w. pnyet.web.id
>p. 087881216110
>
>On Sat, Dec 31, 2016 at 8:06 AM, dave seddon <dave.seddon.ca at gmail.com>
>wrote:
>
>> 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/9a2b8749/attachment.html>


More information about the Bird-users mailing list