Multiple network cards on asterisk box


#1

Hi,

I have asterisk 1.2.6 setup with 2 network cards.

Eth 0 - 192.168.11.254 /255.255.255.0

Eth 1 - 192.168.10.210 /255.255.255.0

At the moment each network is connected to the same network switch.
I have a grandstream phone setup on 192.168.11.41 pointing to the asterisk on 192.168.11.254 but it will not register. It will only register if I point it to 192.168.10.210.
The server is fc3 with no firewall setup for now. I have also enabled IP forwarding.

How would you get asterisk to listen to eth0 as it seems like its only listening on eth1 at the moment. ?

For now IP phones will be on the same network but we hope to split the network into 192.168.10 for computers and 192.168.11 for ip phones when we go ahead with full use in our office.

Nick


#2

Hi

I have just found the bind address in sip.conf and after correcting this it all works great.

Nick