Hi,
The server has two Ethernet ports, one is LAN the other is WAN.
LAN interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.20.100
netmask 255.255.255.0
####gateway 192.168.20.1
WAN interface(Sip Provider)
allow-hotplug eth1
auto eth1
iface eth1 inet static
address 10.10.33.69
netmask 255.255.252.0
gateway 10.10.33.1
Sip provider Server is 10.124.44.2
On the sever when I try to have phones register they fail but wan sip trunk work correctly if my network config is like I have posted above . They will register when I change the default gateway to 192.168.20.1 on eth0 , phone work correctly , but sip trunk not work and not answer to sip provider INVITE.
When I change the default gateway to be on the WAN and use interface eth1 the inbound calls from sip provider work , but the phones will not register via the LAN.
I am used to servers typically having either a wan or a lan but not both. Do I just need 2 default routes? Any insight would be a great big help.
The server has two Ethernet ports, one is LAN the other is WAN.
LAN interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.20.100
netmask 255.255.255.0
####gateway 192.168.20.1
WAN interface(Sip Provider)
allow-hotplug eth1
auto eth1
iface eth1 inet static
address 10.10.33.69
netmask 255.255.252.0
gateway 10.10.33.1
Sip provider Server is 10.124.44.2
On the sever when I try to have phones register they fail but wan sip trunk work correctly if my network config is like I have posted above . They will register when I change the default gateway to 192.168.20.1 on eth0 , phone work correctly , but sip trunk not work and not answer to sip provider INVITE.
When I change the default gateway to be on the WAN and use interface eth1 the inbound calls from sip provider work , but the phones will not register via the LAN.
I am used to servers typically having either a wan or a lan but not both. Do I just need 2 default routes? Any insight would be a great big help.
Last edited: