[Spce-user] second network interface
Daniel Grotti
dgrotti at sipwise.com
Thu Feb 19 12:15:46 EST 2015
Did you specify sip_ext to eth1?
On 19 Feb 2015 18:05, Mykola Zaika <mzaika at voiptime.net> wrote:
>
> I need both interfaces. When I change move-from=eth0 instead of --move-from=lo
> than Eth0 does not work.
>
> --
> З повагою,
> Микола Заїка
> Компанія VoIPTime,
> Тел: +380 32 2328022
> mzaika at voiptime.net
> www.voiptime.net
>
> 2015-02-19 18:53 GMT+02:00 William Fulton <wfulton at thirdhatch.com>:
>>
>>
>>
>>
>>
>> From: William Fulton
>> Sent: Thursday, February 19, 2015 8:53 AM
>> To: 'Mykola Zaika'
>> Subject: RE: [Spce-user] second network interface
>>
>>
>>
>> If you have already assigned these functions to eth0, you must change your syntax in step 2 to:
>>
>> --move-from=eth0 instead of --move-from=lo
>>
>>
>>
>> From: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Mykola Zaika
>> Sent: Thursday, February 19, 2015 8:48 AM
>> To: Spce-user
>> Subject: [Spce-user] second network interface
>>
>>
>>
>> Hello,
>>
>> I added second network interface to my sipwise CE (eth1). But all my traffic go via Eth0. What I`m doing wrong?
>>
>> 1. vi /etc/network/interfaces
>>
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> auto eth0
>> iface eth0 inet static
>> address 10.200.10.250
>> netmask 255.255.255.0
>> gateway 10.200.10.254
>> dns-nameservers 10.130.10.12
>>
>> auto eth1
>> iface eth1 inet static
>> address 10.130.10.250
>> netmask 255.255.255.0
>>
>> 2.run comands :
>>
>> - ngcp-network --set-interface=eth1 --ip=10.130.10.250 --netmask=255.255.255.0
>>
>> - ngcp-network --move-from=lo --move-to=eth1 --type=web_ext --type=sip_ext --type=rtp_ext -- type=ssh_ext --type=web_int
>>
>> 3. ngcpcfg apply
>>
>>
>> --
>>
>> З повагою,
>>
>> Микола Заїка
>>
>> Компанія VoIPTime,
>>
>> Тел: +380 32 2328022
>>
>> mzaika at voiptime.net
>>
>> www.voiptime.net
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
>
More information about the Spce-user
mailing list