Skip to main content

Networking - Assign static IP Address for a FileWave Appliance

For the Linux based FileWave Server, Booster, or IVS if you cannot use the port https://server:10000 to change network setting please follow the instructions below:

Debian Linux

Changing the IP address in Debian 12, which uses systemd-networkd for network management,12 involves different steps compared to how it was done in the past.CentOS. The following guide is tailored for Debian 12 servers using systemd-networkdthe interfaces file, but you could also use Webmin on your server assuming the server comes online initially with DHCP.

For Webmin know that you will need to go to Webmin -> Webmin Configuration -> Operating System and Environment and make sure it's set to Debian 12.4 (Or whatever version we are at when you set up your system. You can see this with cat /etc/debian_version on the server.

  1. Locate Network Interface:

    First, identify the network interface you wish to configure. You can list all network interfaces using:

    networkctl list

    image.png

     

  2. ConfigureEdit Networkthe Settings:
    systemd-networkd uses individual .network files for each network interface, located in /etc/systemd/network/.
    interfaces

    Createfile: orUsing 'nano', edit the network configurationinterfaces file forto yourset interface,the namednetwork configurations.

    nano /etc/network/interfaces

    Your default interfaces file should look something like 10-eth0.networkthis (replace eth0 with your interface name).name may be different):

    sudo# nanoThe /etc/systemd/network/10-eth0.network
  3. Configure IP Address:
    In the .network file, add or modify the following sections:
    [Match]
    Name=eth0
    
    [Network]
    Address=192.168.1.100/24
    Gateway=192.168.1.1
    DNS=8.8.8.8
    DNS=8.8.4.4
    LinkLocalAddressing=no
    IPv6AcceptRA=no
    Replace eth0 with your actualloopback network interface name.
    Modifyauto thelo Addresseth0 withiface yourlo newinet IPloopback and subnet mask (e.g., /24 for a 255.255.255.0 netmask).
    Set the Gateway and DNS entries as per your network configuration.

    You'll also want to edit /etc/network/interfaces because ens192 is configured there for DHCP. That's how you might have gotten to it via Webmin for instance. Edit the file to put a # before the 2 lines that have ens192 on them. Those 2 lines in the file will look like this after editing:

    # The primary network interface
    #allow-hotplugiface ens192
    #iface ens192eth0 inet dhcp

  4. Reload and Restart systemd-networkd:

    After making changes, enableChange the Networkdfile serviceto solook interfaceslike comethis, upusing atyour bootnetwork time,preferences and(note reload'dhcp' thehas daemonbeen andchanged restartto the'static' network:in line 6)

    sudo# systemctlThe enableloopback systemd-networkdnetwork sudointerface
    systemctlauto daemon-reloadlo sudoeth0
    systemctliface restartlo systemd-networkdinet loopback
    
    # The primary network interface
    iface eth0 inet static
    address 192.168.10.33
    netmask 255.255.255.0
    broadcast 192.168.10.255
    dns-nameservers 192.168.10.254 192.168.10.255
  5. VerificationVerify Resolv.conf, hosts and hostname files::

    CheckVerify thethat statusthese offiles in /etc/ are configured correctly for your network interfaceand server.
    /etc/resolv.conf: This file should list your DNS servers

    /etc/hosts: This file should point your FQDN to ensurelocalhost (127.0.0.1)

    /etc/hostname: Specifies the newhostname settingsfor areyour active:

    server.
    This
    is 
    filewave by default.

  6. Disable IPv6 (For IVS): Edit the sysctl.config file by adding the following lines to the end of the file
    networkctlnano /etc/sysctl.config
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    net.ipv6.conf.tun0.disable_ipv6 = 1
  7. Restart/Check Network Status:
    systemctl restart networking.service
    
    systemctl status eth0networking.service
  8. Verify
IP:
You can also use
ip addra
show eth0 to view the IP configuration.

    Related Content