Hello FreePBX Community,
I am seeking advice on managing network interface configurations that are generated by the FreePBX Sysadmin module. Specifically, I’ve encountered an issue where the DEFROUTE
settings are not being included in the ifcfg-eth0
and ifcfg-eth1
files.
Here’s a quick rundown of my setup:
- Two network interfaces:
eth0
for general internet traffic andeth1
for dedicated SIP traffic. - Static IP configurations for both interfaces.
- A need to manually set
DEFROUTE=yes
foreth0
andDEFROUTE=no
foreth1
.
The challenge arises when the FreePBX Sysadmin module updates and regenerates the network configuration files, omitting the DEFROUTE
settings I’ve added. My questions for the community are:
- Is there a way within the FreePBX Sysadmin module to specify the
DEFROUTE
settings so they persist across updates? - If manual edits are the only solution, has anyone developed a best practice for ensuring these settings are restored quickly post-update?
- Are there any known risks or issues associated with adding
DEFROUTE
entries to network configurations managed by the Sysadmin module?
I understand the implications of having incorrect default routes, especially in a VoIP environment, and I’d like to avoid any potential service interruptions due to configuration overwrites.
Any insights, experiences, or advice on how to maintain these settings reliably would be greatly appreciated.
Thank you in advance for your assistance!