[Spce-user] second network interface
William Fulton
wfulton at thirdhatch.com
Thu Feb 19 12:14:12 EST 2015
If you are using 2 interfaces you have to define one as an internal interface (lan) and one as external (wan). As such assign the types properly to the correct interfaces.
--type=sip_int --type=rtp_int to eth1 and --type=sip_ext --type=rtp_ext to eth0
From: Mykola Zaika [mailto:mzaika at voiptime.net]
Sent: Thursday, February 19, 2015 9:05 AM
To: William Fulton
Cc: Spce-user
Subject: Re: [Spce-user] second network interface
I need both interfaces. When I change move-from=eth0 instead of --move-from=lo
than Eth0 does not work.
--
З повагою,
Микола Заїка
Компанія VoIPTime,
Тел: +380 32 2328022 <tel:%2B380%2032%202328022>
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 <tel:%2B380%2032%202328022>
mzaika at voiptime.net
www.voiptime.net
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150219/ee60a56c/attachment-0001.html>
More information about the Spce-user
mailing list