<p dir="ltr">I moved the "cluster sets" section to the Eth0. Is that correct? Where can I find some example network.yml with two network intefaces?<br>
hosts:<br>
self:<br>
dbnode: 1<br>
eth0:<br>
ip: 10.200.10.250<br>
netmask: 255.255.255.0<br>
type:<br>
- web_int<br>
- ssh_ext<br>
- web_ext<br>
- sip_int<br>
- rtp_int<br>
cluster_sets:<br>
- default<br>
ip: 127.0.0.1<br>
netmask: 255.255.255.0<br>
shared_ip: []<br>
shared_v6ip: []<br>
type:<br>
- ha_int<br>
- aux_ext<br>
v6ip: '::1'<br>
eth1:<br>
ip: 10.130.10.250<br>
netmask: 255.255.255.0<br>
type:<br>
- web_ext<br>
- sip_ext<br>
- rtp_ext<br>
- ssh_ext<br>
- web_int<br>
interfaces:<br>
- lo<br>
- eth0<br>
- eth1<br>
lo:<br>
role:<br>
- proxy<br>
- lb<br>
- mgmt<br>
- rtp<br>
- db</p>
<div class="gmail_quote">19 лют. 2015 19:44, користувач "Daniel Grotti" <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> написав:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You should move the cluster_set section to eth0 which is your new internal interface.</p>
<p dir="ltr">Why you add a new interface? To get rid of localhost? Or to add a new public ip for sip ?</p>
<div class="gmail_quote">On 19 Feb 2015 18:39, Mykola Zaika <<a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a>> wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hosts:<br> self:<br> dbnode: 1<br> eth0:<br> ip: 10.200.10.250<br> netmask: 255.255.255.0<br> type:<br> - web_int<br> - ssh_ext<br> - web_ext<br> - sip_int<br> - rtp_int<br> eth1:<br> ip: 10.130.10.250<br> netmask: 255.255.255.0<br> type:<br> - web_ext<br> - sip_ext<br> - rtp_ext<br> - ssh_ext<br> - web_int<br> interfaces:<br> - lo<br> - eth0<br> - eth1<br> lo:<br> cluster_sets:<br> - default<br> ip: 127.0.0.1<br> netmask: 255.255.255.0<br> shared_ip: []<br> shared_v6ip: []<br> type:<br> - ha_int<br> - aux_ext<br> v6ip: '::1'<br> role:<br> - proxy<br> - lb<br> - mgmt<br> - rtp<br> - db<br><br></div><div><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#888888">-- <br></font><div><div dir="ltr"><div>З повагою,</div><div>Микола Заїка<br></div><div>Компанія VoIPTime,</div><div>Тел: <span style="color:rgb(0,0,255)"><a href="tel:%2B380%2032%202328022" value="+380322328022" target="_blank">+380 32 2328022</a></span></div><div><span style="color:rgb(0,0,255)"><a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a></span></div><div><span style="color:rgb(0,0,255)"><a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a></span></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div>2015-02-19 19:36 GMT+02:00 Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span>:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Sip_int should be assigned to 'lo' only.<br>
Can you share your network.yml ?<br>
</p><div><div>
<div>On 19 Feb 2015 18:30, Mykola Zaika <<a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a>> wrote:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I assigned Eth0 as type=sip_int, type= rtp_int and Eth1 as type=sip_ext, type=rtp_ext.<br><br></div><div><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#888888">-- <br></font><div><div dir="ltr"><div>З повагою,</div><div>Микола Заїка<br></div><div>Компанія VoIPTime,</div><div>Тел: <span style="color:rgb(0,0,255)"><a href="tel:%2B380%2032%202328022" value="+380322328022" target="_blank">+380 32 2328022</a></span></div><div><span style="color:rgb(0,0,255)"><a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a></span></div><div><span style="color:rgb(0,0,255)"><a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a></span></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div>2015-02-19 19:15 GMT+02:00 Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span>:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">Did you specify sip_ext to eth1?<br>
<div><div>On 19 Feb 2015 18:05, Mykola Zaika <<a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a>> wrote:<br>
><br>
> I need both interfaces. When I change move-from=eth0 instead of --move-from=lo<br>
> than Eth0 does not work.<br>
><br>
> --<br>
> З повагою,<br>
> Микола Заїка<br>
> Компанія VoIPTime,<br>
> Тел: <a href="tel:%2B380%2032%202328022" value="+380322328022" target="_blank">+380 32 2328022</a><br>
> <a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a><br>
> <a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a><br>
><br>
> 2015-02-19 18:53 GMT+02:00 William Fulton <<a href="mailto:wfulton@thirdhatch.com" target="_blank">wfulton@thirdhatch.com</a>>:<br>
>><br>
>> <br>
>><br>
>> <br>
>><br>
>> From: William Fulton<br>
>> Sent: Thursday, February 19, 2015 8:53 AM<br>
>> To: 'Mykola Zaika'<br>
>> Subject: RE: [Spce-user] second network interface<br>
>><br>
>> <br>
>><br>
>> If you have already assigned these functions to eth0, you must change your syntax in step 2 to:<br>
>><br>
>> --move-from=eth0 instead of --move-from=lo<br>
>><br>
>> <br>
>><br>
>> From: Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] On Behalf Of Mykola Zaika<br>
>> Sent: Thursday, February 19, 2015 8:48 AM<br>
>> To: Spce-user<br>
>> Subject: [Spce-user] second network interface<br>
>><br>
>> <br>
>><br>
>> Hello,<br>
>><br>
>> I added second network interface to my sipwise CE (eth1). But all my traffic go via Eth0. What I`m doing wrong?<br>
>><br>
>> 1. vi /etc/network/interfaces<br>
>><br>
>> auto lo<br>
>> iface lo inet loopback<br>
>><br>
>> # The primary network interface<br>
>> auto eth0<br>
>> iface eth0 inet static<br>
>> address 10.200.10.250<br>
>> netmask 255.255.255.0<br>
>> gateway 10.200.10.254<br>
>> dns-nameservers 10.130.10.12<br>
>><br>
>> auto eth1<br>
>> iface eth1 inet static<br>
>> address 10.130.10.250<br>
>> netmask 255.255.255.0<br>
>><br>
>> 2.run comands :<br>
>><br>
>> - ngcp-network --set-interface=eth1 --ip=10.130.10.250 --netmask=255.255.255.0<br>
>><br>
>> - ngcp-network --move-from=lo --move-to=eth1 --type=web_ext --type=sip_ext --type=rtp_ext -- type=ssh_ext --type=web_int<br>
>><br>
>> 3. ngcpcfg apply<br>
>><br>
>><br>
>> --<br>
>><br>
>> З повагою,<br>
>><br>
>> Микола Заїка<br>
>><br>
>> Компанія VoIPTime,<br>
>><br>
>> Тел: <a href="tel:%2B380%2032%202328022" value="+380322328022" target="_blank">+380 32 2328022</a><br>
>><br>
>> <a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a><br>
>><br>
>> <a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spce-user mailing list<br>
>> <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
>> <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
>><br>
><br>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br></div>
</blockquote></div></blockquote></div>