FreePBX adding additional network card

New FreePBX virtual machine with two virtual network cards.

When installing, only 1 is configured automatically (eth0) and eth1 does not appear to FreePBX. It also didn’t get an IP address from the DHCP server.

To enable the second network interface, in command line SSH as root user and change ‘onboot=no’ to ‘onboot=yes’ in /etc/sysconfig/network-scripts/ifcfg-eth1

# cd /etc/sysconfig/network-scripts/
# cat ifcfg-eth0
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="eth0"
UUID="cce57258-c43d-4384-b3f0-951dec77586a"
DEVICE="eth0"
ONBOOT="yes"
ZONE=external
DESCRIPTION="unset"
# cat ifcfg-eth1
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eth1
UUID=7e554799-26cb-4760-961f-6a42d434b7f5
DEVICE=eth1
ONBOOT=no

(change the ONBOOT=no to ONBOOT=yes, then save and reboot

Then go and check firewall settings and more in the web interface


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories