[Spce-user] Default rtp interface

Richard Fuchs rfuchs at sipwise.com
Fri Jul 10 07:29:23 EDT 2015


On 09/07/15 06:05 PM, Jon Bonilla (Manwe) wrote:
> Hi all
>
> I have a multiple nic setup. More or less like this one:
>
> hosts:
>    self:
>      dbnode: 1
>      dummy0:
>        cluster_sets:
>          - default
>        ip: 192.168.21.2
>        type:
>          - sip_int
>      eth0:
>        ip: 192.168.20.207
>        type:
>          - rtp_int
>      eth1:
>        ip: 172.29.8.242
>        type:
>          - rtp_priv
>      eth1:0:
>        ip: 172.29.9.242
>        type:
>          - rtp_priv2
>      eth2:
>        ip: 111.111.111.111
>        type:
>          - rtp_ext
>      lo:
>        ip: 127.0.0.1
>
>
> I have asigned several rtp interfaces to peers. But what I found is that
> subscribers were using eth0/rtp_int iface for rtp being "default" the
> preference.
>
> My question is: How is the default rtp iface selected? I expected to be
> rtp_ext for backwards compatibility reasons but seems not to be the case.

The default interface is the first interface defined with an "rtp_" 
role, where the order of the interfaces is determined by their order 
given under the "interfaces" YML key.

HTH
Cheers



More information about the Spce-user mailing list