[sr-dev] [kamailio/kamailio] dual-stack bonding when used network interface name (#2404)

sergey-safarov notifications at github.com
Mon Jul 20 16:04:34 CEST 2020


Look as good approach but now has some error
I configured
```
listen=udp:eth0:5060                                         
auto_bind_ipv6=1                                                    
bind_ipv6_link_local=0
```
And when start kamailio get error
```
/ # kamailio -DD -E
Listening on 
             udp: 192.168.2.10:5060
             udp: 2600:70FF:B0CF:0:6C3E:2B62:BA0C:A6CC:5060
             udp: FE80:0:0:0:B951:EF1F:76C8:E5A2:5060
Aliases: 
             udp: fe80::b951:ef1f:76c8:e5a2:5060
             udp: 2600:70ff:b0cf:0:6c3e:2b62:ba0c:a6cc:5060
             udp: kazoo.aio:5060

 0(32) INFO: <core> [core/tcp_main.c:4982]: init_tcp(): using epoll_lt as the io watch method (auto detected)
 0(32) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
 0(32) INFO: rr [rr_mod.c:185]: mod_init(): outbound module not available
 0(32) INFO: <core> [main.c:2834]: main(): processes (at least): 33 - shm size: 67108864 - pkg size: 8388608
 0(32) INFO: <core> [core/udp_server.c:154]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
 0(32) INFO: <core> [core/udp_server.c:206]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
 0(32) INFO: <core> [core/udp_server.c:154]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
 0(32) INFO: <core> [core/udp_server.c:206]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
 0(32) INFO: <core> [core/udp_server.c:154]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
 0(32) INFO: <core> [core/udp_server.c:206]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
 0(32) ERROR: <core> [core/udp_server.c:401]: udp_init(): bind(a, 0x7fcb12d1da08, 28) on FE80:0:0:0:B951:EF1F:76C8:E5A2: Invalid argument
 0(32) ERROR: <core> [core/udp_server.c:407]: udp_init(): might be caused by using a link local address, is 'bind_ipv6_link_local' set?
 0(32) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2404#issuecomment-661060298
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200720/d290cd0c/attachment.htm>


More information about the sr-dev mailing list