<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> William Fulton <br><b>Sent:</b> Thursday, February 19, 2015 8:53 AM<br><b>To:</b> 'Mykola Zaika'<br><b>Subject:</b> RE: [Spce-user] second network interface<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you have already assigned these functions to eth0, you must change your syntax in step 2 to:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--move-from=eth0 instead of --move-from=lo<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com">mailto:spce-user-bounces@lists.sipwise.com</a>] <b>On Behalf Of </b>Mykola Zaika<br><b>Sent:</b> Thursday, February 19, 2015 8:48 AM<br><b>To:</b> Spce-user<br><b>Subject:</b> [Spce-user] second network interface<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Hello,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>I added second network interface to my sipwise CE (eth1). But all my traffic go via Eth0. What I`m doing wrong?<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>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<o:p></o:p></p></div><p class=MsoNormal>2.run comands :<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>- 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<o:p></o:p></p><p class=MsoNormal><br clear=all><o:p></o:p></p><p class=MsoNormal><span style='color:#888888'>-- <o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'>З повагою,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'>Микола Заїка<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'>Компанія VoIPTime,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'>Тел: </span><span style='color:blue'><a href="tel:%2B380%2032%202328022" target="_blank">+380 32 2328022</a></span><span style='color:#888888'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:blue'><a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a></span><span style='color:#888888'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:blue'><a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a></span><span style='color:#888888'><o:p></o:p></span></p></div></body></html>