@CRISTIANDS
I feel that the configuration for your ETH1 interface is too complex
I would remove DNS1/DNS2 and GATEWAY for ETH1
You should only need IPADDR and NETMASK exactly as you have.
Save those changes
Then in the CLI type in
X.x.x.x= IP of your SIP trunk providers SIP gateway. So
route add -net X.X.X.X netmask 255.255.255.255 gw 10.11.183.213 dev eth1
That SHOULD work.
After you type that command you should immediately be able traceroute to the SIP provider IP and see the first hop go via ETH1, will look something like this: (10.30.34.24 is the IP of my EHT1)
Restart your network
service network restart
this usually works but i've run into problems in some situations where it didn't do what i expected.
you can reboot the computer:
amportal stop
shutdown -r now
or
cycle the interfaces one at a time
ifdown ifcfg-eth0
ifdown ifcfg-eth1
ifup ifcfg-eth0
ifup ifcfg-eth1
Now try a traceroute to the different locations. Here some examples of me traceroute to an 172.x.x.x address that is routes on eth1, and then trying google that is on EH0.
[rootaPbx-07]# traceroute 172.146.230.4
traceroute to 172.146.230.4 (172.146.230.4), 30 hops max, 60 byte packets
1 10.0.34.25 (10.0.34.25) 0.484 ms 0.501 ms 0.514 ms
And if you traceroute to 8.8.8.8 (google DNS) you'll see something like this below:
[rootaPbx-07]# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 192.168.10.1 (192.168..10.1) 0.859 ms 0.821 ms 0.797 ms
...
...