[SR-Users] Listen on eth alias interface

Olle E. Johansson oej at edvina.net
Thu Jun 5 08:39:42 CEST 2014


On 05 Jun 2014, at 08:21, Daniel-Constantin Mierla <miconda at gmail.com> wrote:

> 
> On 05/06/14 08:18, Olle E. Johansson wrote:
>> On 05 Jun 2014, at 08:11, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>> 
>>> On 05/06/14 07:31, Olle E. Johansson wrote:
>>>> On 04 Jun 2014, at 22:38, Alex Balashov <abalashov at evaristesys.com> wrote:
>>>> 
>>>>> On 06/04/2014 04:37 PM, Olle E. Johansson wrote:
>>>>>> On 04 Jun 2014, at 22:35, Alex Balashov <abalashov at evaristesys.com> wrote:
>>>>>> 
>>>>>>> Hello Olle,
>>>>>>> 
>>>>>>> Couldn't you get around this by just specifying the IP address of the interface? e.g.
>>>>>>> 
>>>>>>>   listen=udp:xxx.xxx.xxx.xxx:5060
>>>>>> Not in this configuration, but with some tweaking I may. But it would simplify
>>>>>> a lot if I just could point to the interface.
>>>>> I run into this problem a lot, too, with eth0:x subinterfaces. But specifying the address is the only way I know of to solve it at present.
>>>> I guess it's about time to file a bug report :-)
>>> I haven't checked the grammar for listen value, but have you tried to enclose the interface name in between double quotes?
>> fix_hostname(): ERROR: fix_hostname: could not resolve eth0:0
>> 
>> listen=udp:"eth0:0":5080
>> listen="eth0:0"
> So it is trying to lookup up only as hostname, perhaps is not going to be hard to extend to search it as interface.

Hint: A hostname never has a colon inside.

/O


More information about the sr-users mailing list