Can I configure both NICs of a Box Pro?

Yes, both the primary and secondary NICs on your Box Pro can be configured via an external USB. This is often useful for using your Box Pro as a bridge between segmented networks. 

The rear plate of a Box Pro is shown in the image above. The default NIC is the one on the inner left and the secondary NIC (disabled by default) is the one on the outer right. 

The process of enabling and configuring the secondary NIC for your Box Pro is nearly identical to the process of configuring the default NIC through an external USB as described in this help article. The only difference is that you will be specifying an optional field "interface_name" of "enp3s0", the name of the secondary NIC on the Box Pro.

What you will need:

  1. Computer with a text editor
  2. USB stick (formatted in FAT, ext3, or ext4)

Steps:

  1. Open a text editor on your computer
  2. Create a file called box_config.json. This file will contain configuration data in the JSON format. 
  3. Put the following text in the file and replace each {{mustache variable}} with the correct value:
    3a.) If you are setting the secondary NIC to use DHCP, the box_config.json file will look like this
    {
    "network_configuration": {
    "interface_name": "enp3s0",
    "ip_assignment": "dhcp"
    }
    }

    3b.) If you are setting the secondary NIC to use a static-IP, the box_config.json file will look like this (prior to replacing the {{mustache values}} with your specific network settings).
    TEMPLATE (all mustaches must be replaced)
    {
      "network_configuration": {
    "interface_name": "enp3s0", "ip_assignment": "static", "ip_address": "{{ip_address}}", "netmask": "{{network_mask}}", "gateway": "{{gateway}}", "dns_servers": [ "{{dns_server_1}}", "{{dns_server_2}}" ] } }

    Example with actual values

    {
      "network_configuration": {
    "interface_name": "enp3s0", "ip_assignment": "static", "ip_address": "192.168.1.41", "netmask": "255.255.255.0", "gateway": "192.168.1.1", "dns_servers": [ "8.8.8.8", "1.1.1.1" ] } }


    Replacing

    • {{ip_address}} with the static IP-address you wish your Box to request (like 192.168.1.41)
    • {{netmask}}  with the network mask for the network you wish Box to use (like 255.255.255.0)
    • {{gateway}} (optional) with the IP address of the gateway on your network (like 192.168.1.1), likely not needed.
    • {{dns_server_1}} with the main DNS server address (recommended 8.8.8.8)
    • {{dns_server_2}} with the secondary DNS server address (recommended 8.8.4.4)

    IMPORTANT - the "gateway" field is optional, and you likely **do not** want to include one. This generally only applies if you are configuring a secondary interface and a gateway is already defined on the primary interface. 

    {
      "network_configuration": {
    "interface_name": "enp3s0", "ip_assignment": "static", "ip_address": "{{ip_address}}", "netmask": "{{network_mask}}", "gateway": "{{gateway}}", "dns_servers": [ "{{dns_server_1}}", "{{dns_server_2}}" ] } }

     

  4. {
      "network_configuration": {
    "interface_name": "enp3s0", "ip_assignment": "static", "ip_address": "{{ip_address}}", "netmask": "{{network_mask}}", "gateway": "{{gateway}}", "dns_servers": [ "{{dns_server_1}}", "{{dns_server_2}}" ] } }

     

  5. Insert the USB stick into your computer
  6. Move the box_config.json file into the root of the USB stick.
  7. Unmount and remove the USB stick from your computer
  8. Power off the Camio Box (unplug it)
  9. Insert the USB stick into any one of the USB ports on your Box
  10. Power on the Camio Box

At this point, the Box will power on and read in the configuration file, then configure its network settings based on the given values. Once the Box is done reading in the configuration values, it will rename the file from box_config.json to applied.box_config.json and then restart itself to ensure that the network settings are fully applied. At this point, it is okay to remove the USB drive from the Box Pro.

Notes

The steps above are used to configure the secondary NIC on your Box Pro. If you would like to configure the primary NIC, use the steps as described in this help article. These steps are nearly identical to one another, the only difference being that you must specify a new field of "interface_name" with a value of "enp3s0" when configuring the secondary NIC. 

Have more questions? Submit a request

Comments