Re: IPv6 bind wrong IP. #4199
Henning Westerholt via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <VI1PR07MB945854E6A67C0CF831CF59A5BFB62@VI1PR07MB9458.eurprd07.prod.outlook.com> |
Hello, does it work when you set the IPv6 address in the listen directly, e.g. without the #!define? Cheers, Henning > -----Original Message----- > From: vunm.allsign--- via sr-users <[email protected]> > Sent: Dienstag, 8. April 2025 10:45 > To: [email protected] > Cc: [email protected] > Subject: [SR-Users] IPv6 bind wrong IP. #4199 > > Hi guys, > > I opened issue on github: https://github.com/kamailio/kamailio/issues/4199 > > - Description: > Kamailio (5.8.x): SIP proxy > FreeSWITCH: Media > > - OS: Debian 12 > gateway: aaaa:bbb:cccc:20::1 > ipv6: aaaa:bbb:cccc:20::41e > > - kamailio.cfg: > #!define ADDR_IPV4 xxx.xxx.xxx.xxx > #!define ADDR_IPV6 [aaaa:bbb:cccc:20::41e] > > listen=ADDR_IPV4 > listen=ADDR_IPV6 > > - I execute netstat -nlutp: > tcp6 0 0 aaaa:bbb:cccc:20:::5060 :::* LISTEN > 1691274/kamailio > tcp6 0 0 aaaa:bbb:cccc:20:::5061 :::* LISTEN > 1691274/kamailio > udp6 0 0 aaaa:bbb:cccc:20:::5060 :::* > 1691222/kamailio > > Why I set listen ip is aaaa:bbb:cccc:20::41e but kamailio stripped the last part > of the address aaaa:bbb:cccc:20:: > > I have tried many ways but it does not work.Is there any additional > configuration required regarding the Debian network interface? > > - Here is interfaces(of course i can ping from/to ipv6 address): > # Additional interfaces, just in case we're using # multiple networks allow- > hotplug eth1 iface eth1 inet6 static address aaaa:bbb:cccc:20::41e netmask 64 > gateway aaaa:bbb:cccc:20::1 autoconf 0 > > > > Thank you. > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- sr- > [email protected] To unsubscribe send an email to sr-users- > [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!