[Spce-user] second network interface
Mykola Zaika
mzaika at voiptime.net
Thu Feb 19 12:39:04 EST 2015
hosts:
self:
dbnode: 1
eth0:
ip: 10.200.10.250
netmask: 255.255.255.0
type:
- web_int
- ssh_ext
- web_ext
- sip_int
- rtp_int
eth1:
ip: 10.130.10.250
netmask: 255.255.255.0
type:
- web_ext
- sip_ext
- rtp_ext
- ssh_ext
- web_int
interfaces:
- lo
- eth0
- eth1
lo:
cluster_sets:
- default
ip: 127.0.0.1
netmask: 255.255.255.0
shared_ip: []
shared_v6ip: []
type:
- ha_int
- aux_ext
v6ip: '::1'
role:
- proxy
- lb
- mgmt
- rtp
- db
--
З повагою,
Микола Заїка
Компанія VoIPTime,
Тел: +380 32 2328022
mzaika at voiptime.net
www.voiptime.net
2015-02-19 19:36 GMT+02:00 Daniel Grotti <dgrotti at sipwise.com>:
> Sip_int should be assigned to 'lo' only.
> Can you share your network.yml ?
> On 19 Feb 2015 18:30, Mykola Zaika <mzaika at voiptime.net> wrote:
>
> Yes, I assigned Eth0 as type=sip_int, type= rtp_int and Eth1 as
> type=sip_ext, type=rtp_ext.
>
>
> --
> З повагою,
> Микола Заїка
> Компанія VoIPTime,
> Тел: +380 32 2328022
> mzaika at voiptime.net
> www.voiptime.net
>
> 2015-02-19 19:15 GMT+02:00 Daniel Grotti <dgrotti at sipwise.com>:
>
> 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
> >>
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150219/8493c7c6/attachment-0001.html>
More information about the Spce-user
mailing list