IP route List

Hi guys , below is my ip route list on my freepbx

192.168.8.0/24 dev em1 proto kernel scope link src 192.168.8.9
10.143.0.0/20 dev em2 proto kernel scope link src 10.143.0.3
10.143.0.0/20 dev em3 proto kernel scope link src 10.143.0.2
169.254.0.0/16 dev em1 scope link metric 1002
169.254.0.0/16 dev em2 scope link metric 1003
169.254.0.0/16 dev em3 scope link metric 1004
default via 10.143.xxx.xxx dev em2

Currently the default interface my freepbx box is using is “em2”, which is my sip trunk.
Question is how can i change the default interface to em1 which is (192.168.8.0) as i need my freepbx connect to internet .
em1 = internet / sip clients
em2 = sip trunk - no internet

also, if i change the default to em1, will the sip trunk running under em2 will effect the incoming and outgoing calls?
and if it does effect the calls, any other way i can solve this?

http://freelinuxtutorials.com/tutorials/configuring-multiple-interfaces-multiple-default-routes-linux/ ,

hope this will work…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.