I have a pbx running with one NIC which is configured in a way that it’s on Private Lan and gateway is my Internet Firewall so all my carriers like FR, SR are configured properly on this network card.
However Now I have to add another card with IP scheme from My other Sip provider P2P.
This provider has provided me with bunch of ip addresses and gateway and Sip Proxy.
I have to configure the network card with it’s ip address and gateway then I will be able to reach out to this Sip Provider network to make sip trunk.
Scenario is Internet Firewall gateway is for All the international Traffic or Trunks with International providers and this second interface with P2P network my end users can dial Local Calling to my country.
Now I need to add the second Nic with gateway and subnetmask and it should be accessible from the phones on the private network.
I have tried to configure the nic from Freepbx System admin but unfortunately it configured the eth1 and it’s now updating the ip address scheme on this nic however I have also removed this but it’s still showing in the ifconfig and when I locate the eth1 , it gives me these destinations
/dev/.udev/db/net:eth1
/etc/sysconfig/networking/devices/ifcfg-eth1:1
/etc/sysconfig/networking/profiles/default/ifcfg-eth1:1
Output:
cat /dev/.udev/db/net:eth1
E:NET_MATCHID=
cat /etc/sysconfig/networking/devices/ifcfg-eth1:1
cat: /etc/sysconfig/networking/devices/ifcfg-eth1:1: No such file or directory
cat /etc/sysconfig/networking/profiles/default/ifcfg-eth1:1
cat: /etc/sysconfig/networking/profiles/default/ifcfg-eth1:1: No such file or directory
I have unconfigured it from the GUI system admin -> network settings but it’s still showing as configured and when i rebooted the system it still there
Static routes can’t be configured from the GUI.
Also, there shouldn’t be a : on the NIC name.
You are probably better starting again with a clean config.