Usually ComXchange controllers possess two dedicated network interfaces, one for the LAN traffic, and another one for WAN traffic.
There are some cases where there's the need to set up a dedicated network connection to connect to some PMS environments, since there is no routable path between the ComXchange and such devices.
One simplified approach is to use an external USB network adapter, however command line access to the server will be required to set this adapter properly for the first time.
The following steps may be used:
- Power down the ComXchange server, then plug in the USB dongle
- Access the ComXchange server either via direct monitor and keyboard or using SSH
- Check if the USB device has been recognized with command lsusb
Similar text as below will be shown: - lsusb
- >> Bus 002 Device 002: ID 0bda:8153 [REDACTED] Corp. RXLXXXX Gigabit Ethernet Adapter
- Then, check the list of network adapters with the command ip a
- ip a
- >> # OUTPUT
- >> eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
- >> link/ether 00:05:1b:xx:xx:xx brd ff:ff:ff:ff:ff:ff
- >> inet 172.16.10.11/24 brd 172.16.10.255 scope global noprefixroute eth2
- >> valid_lft forever preferred_lft forever
- Locate the new adapter name, it may be somthing like eth2 or ens192. This will be required for next steps
- Now, create the new adapter config file with the command below
(NOTE: if interface name on step above is different than eth2, be sure to change the last bit of this command to reflect the correct name):
- cd /etc/sysconfig/network-scripts && touch ifcfg-eth2
-
Then, edit the newly created file, in order to add the required configuration, with the command:
- nano /etc/sysconfig/network-scripts/ifcfg-eth2
- Add the following content to the file, remember, if network interface name was different than eth2, be sure to change the names accordingly.
Important lines to pay attention to are: 12, 13, 15, 16, 17, and 18
- TYPE=Ethernet
- PROXY_METHOD=none
- BROWSER_ONLY=no
- BOOTPROTO=none
- DEFROUTE=no
- IPV4_FAILURE_FATAL=no
- IPV6INIT=no
- IPV6_AUTOCONF=no
- IPV6_DEFROUTE=no
- IPV6_FAILURE_FATAL=no
- IPV6_ADDR_GEN_MODE=stable-privacy
- NAME=eth2
- DEVICE=eth2
- ONBOOT=yes
- IPADDR=172.16.10.xx (IP ADDRESS PROVIDED BY IT PERSONEL)
- GATEWAY=
- PREFIX=24
- HWADDR=00:05:1b:xx:xx:xx (CHANGE MAC HERE)
-
Save the file pressing CONTROL + O on the keyboard.
-
You may restart networking with the following command
-
After these steps, the new network adapter should be visible on the ComXchange's web interface
![]()
-
Now you may edit the existing configuration using the ComXchange web GUI and it will be updated on the related files at OS level.