On 10/12/11 2:27 PM, ge...@riseup.net wrote:
If you put 0.0.0.0, it will bind to all addresses. In a HA Cluster, on
the active node, if you have a box address of 192.168.1.101 and a floating
address of 192.168.1.102, then if you use
bindaddr=0.0.0.0
you will find that phones on the
ge...@riseup.net writes:
Any idea how to solve this?
You can control src address selection with with ip route command.
E.g. if you know that you want to reach 192.168.0.0/24 with a source
address 192.168.0.50, you can do:
ip route change 192.168.0.0/24 src 192.168.0.50 scope link dev eth0
On 10/12/2011 06:15 PM, ge...@riseup.net wrote:
I solved it by having two physical connections to my network.
Yes, I thought of this too.
I used the second nic for the drbd-communication, but I think I will have
to change this.
If your networking equipment supports VLAN, you could add a
Hi Dale,
Wow, thanks for the tip. I just start to change the network config, and
see how it works.
If your networking equipment supports VLAN, you could add a virtual lan
to the existing ethernet device.
Jeah, got a Cisco managed switch.
Then assign an address to eth0.42. You can use eth0
Don't you think the problem will still occur that the answers from
asterisk seem to come from the main address assigned to the NIC? Or
isn't this possible because of the vlan?
Thanks,
Georg
It should work. As far as the OS and routing tables are concerned, eth0
and eth0.42 are different
If your networking equipment supports VLAN, you could add a virtual lan
to the existing ethernet device.
vconfig add eth0 42
Then assign an address to eth0.42. You can use eth0 for your endpoints
and eth0.42 for your provider or whichever way you want it.
You do then, of course, need to
On 10/13/2011 10:53 AM, ge...@riseup.net wrote:
Just tested this, doesn't work. Asterisk ist still replying using the
main-address associated to the NIC.
In a previous posting, Jim Lucas proposed...
--- snip ---
I solved it by having two physical connections to my network.
PBX E0 IP
-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dale Noll
Sent: Thursday, October 13, 2011 12:47 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Binding asterisk to two static IPs
On 10/13
This has two different subnets for eth0 and eth1.
Do you have different IP subnets for eth0 and eth0.42?
If you do, I do not know the reason for the problem.
Ah, sorry, overlooked this.
I will give it another try with different subnets.
Thanks,
Georg
--
On 12.10.2011 23:27, ge...@riseup.net wrote:
If you put 0.0.0.0, it will bind to all addresses. In a HA Cluster, on
the active node, if you have a box address of 192.168.1.101 and a floating
address of 192.168.1.102, then if you use
bindaddr=0.0.0.0
...
Any idea how to solve this?
Yes: Use
Hallo,
On 12.10.2011 23:27, ge...@riseup.net wrote:
If you put 0.0.0.0, it will bind to all addresses. In a HA Cluster, on
the active node, if you have a box address of 192.168.1.101 and a
floating
address of 192.168.1.102, then if you use
bindaddr=0.0.0.0
...
Any idea how to solve this?
i had a similar challenge having Asterisk listen to multiple ports.. some of
my agents located in countries where SIP is blocked
the only effective way is to use IPTABLES i believe your problem can be solved
with the same method.
Tarek Sawah
Information Technology Adviser
Integrated
On 13.10.2011 00:27, ge...@riseup.net wrote:
If I use the floating internal ip, I can't reach my provider anymore.
Thought this was clear.
After reading your original message, this is clear, yes. Sorry for being
sloppy.
--
After reading your original message, this is clear, yes. Sorry for being
sloppy.
np ;)
Anyone else?
Would be really really great...
Thanks,
Georg
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
On 10/12/2011 3:55 PM, ge...@riseup.net wrote:
After reading your original message, this is clear, yes. Sorry for being
sloppy.
np ;)
Anyone else?
Would be really really great...
I solved it by having two physical connections to my network.
PBX E0 IP 192.168.100.36
NM
I solved it by having two physical connections to my network.
Yes, I thought of this too.
I used the second nic for the drbd-communication, but I think I will have
to change this.
Thanks,
Georg
--
_
-- Bandwidth and
16 matches
Mail list logo