Take the actual environment as an example: the server has 2 addresses and has 2 network cards. The first address is 172.16.1.36, the corresponding gateway is 172.16.1.1, the second address is 192.168.1.100, and the corresponding gateway is 192.168.1.1 (Note: The following operations prohibit remote operation)
The specific operations are as follows:
1. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 to set the corresponding gateway GATEWAY
2. Edit /etc/sysconfig/network-scripts/ifcfg-eth1 to set the corresponding gateway GATEWAY
3. Restart the network /etc/init.d/network restart
If the server has only one network card, then step 3 needs to be modified to
Edit /etc/sysconfig/network-scripts/ifcfg-eth0:1 to set the corresponding gateway GATEWAY
Please set the IP address (IPADDR), subnet mask (NETMASK), gateway (GATEWAY) according to the network parameters given by the actual operator.
Please use VOS 126.96.36.199 and later to optimize the voice routing by using the mandatory local IP function of the landing gateway to optimize voice routing across carriers.