• Version
  • Language
  • Knowledge base
  • Products
  • Downloads
  • Webshop
  • Zivid.com
Logo

Getting Started

  • User Guide
  • Software Installation
    • Network Configuration
      • Default configuration
      • Custom configuration
        • Static IP Network Configuration - Camera
        • Static IP Network Configuration - PC
        • DHCP or Link Local IP Network Configuration - Camera
        • Link Local IP Network Configuration - PC
        • DHCP Network Configuration - PC
      • Connecting to the camera
      • Performance
      • Cameras.yml and how to restrict discoverable cameras
      • Version History
    • About GPU
  • Studio Guide
  • Quick Capture Tutorial

Academy

  • Camera
  • Applications

Software

  • Wrappers
  • Samples
  • Docker
  • API Reference
  • Capture Speed
  • SDK Lifecycle
  • SDK Changelog

Reference Articles

  • Camera Settings
  • Calculators
  • Hardware
  • General Camera Topics
  • General 3D Topics

Support

  • FAQ
  • Troubleshooting
  • Erratas
  • Contact Us
  • KB Version History
ZIVID KNOWLEDGE BASE
  • User Guide
  • Software Installation
  • Network Configuration
  • DHCP or Link Local IP Network Configuration - Camera

DHCP or Link Local IP Network Configuration - Camera

Caution

The correct instructions for network configuration will depend on your SDK version. Choose your SDK version in the top left drop-down.

Open Zivid Studio and click Cameras → All Cameras to open the camera menu.

../../../_images/studio-cameras-menu.png

Click Configure on the camera that you want to configure.

../../../_images/studio-cameras-configure-dhcp.png

Select the automatic (DHCP) configuration mode. Click Apply to apply the configuration to the camera.

../../../_images/studio-cameras-configure-dhcp-applying.png

The CLI tool ZividNetworkCameraConfigurator allows you to change the camera network configuration of one camera at a time. This tool is installed alongside the Zivid SDK on Windows, and with the Zivid Tools package on Ubuntu.

  1. Open a terminal/Command Prompt.

  2. Connect the camera.

  3. Verify that your camera is found by running:

    ZividListCameras.exe
    
    ZividListCameras
    
  4. Set the camera with current IP <host> in DHCP mode by:

    ZividNetworkCameraConfigurator.exe set-config <host> --dhcp
    
    ZividNetworkCameraConfigurator set-config <host> --dhcp
    

    For example, changing the mode from static to DHCP for a camera with IP 172.28.60.5:

    ZividNetworkCameraConfigurator.exe set-config 172.28.60.5 --dhcp
    
    ZividNetworkCameraConfigurator set-config 172.28.60.5 --dhcp
    

    You can also set a hostname by using the optional argument [--hostname <hostname>]. All ethernet-based Zivid cameras come with a pre-defined hostname with the following format zivid-serialnumber, e.g., zivid-2234AB12.

  5. If you are configuring IP addresses of multiple cameras, repeat steps 2 to 4.

    If you are using Cameras.yml

    It is highly recommended to use hostnames when using a dynamic IP. If not you have to list all possible IP addresses in Cameras.yml, or find the IP address assigned to the camera and list them. When you use hostnames you only have to list the expected hostnames, and it doesn’t matter if the IP address is reassigned. The default hostname has the following format: zivid-<serialnumber>, e.g., zivid-2234AB12.

    Go to Cameras.yml and how to restrict discoverable cameras for more information about Cameras.yml.

  6. Configure the PC for either link-local or DHCP.

    1. Make sure a DHCP is not active on the network.

    2. Connect your camera(s), and then wait > 45 seconds.

    1. Make sure a DHCP is active on the network. You can host your own - see DHCP Network Configuration - PC.

    2. Connect your camera(s).

The SDK provides the functions to configure the camera network configuration.

  1. Connect to your camera.

    Go to source

    source

    auto camera = zivid.connectCamera();
    
    Go to source

    source

    var camera = zivid.ConnectCamera();
    
    Go to source

    source

    camera = app.connect_camera()
    

  2. Set the mode to DHCP.

    Go to source

    source

    mode = Zivid::NetworkConfiguration::IPV4::Mode::dhcp;
    
    Go to source

    source

    mode = Zivid.NET.NetworkConfiguration.IPV4Group.ModeOption.Dhcp;
    
    Go to source

    source

    mode = zivid.NetworkConfiguration.IPV4.Mode.dhcp
    

  3. Create a network configuration object.

    Go to source

    source

    Zivid::NetworkConfiguration newConfig(Zivid::NetworkConfiguration::IPV4(mode, address, subnetMask));
    
    Go to source

    source

    var newConfig = new Zivid.NET.NetworkConfiguration()
    {
        IPV4 = {
            Mode = mode,
            Address = address,
            SubnetMask = subnetMask,
        }
    };
    
    Go to source

    source

    new_config = zivid.NetworkConfiguration(
        ipv4=zivid.NetworkConfiguration.IPV4(
            mode=mode,
            address=address,
            subnet_mask=subnet_mask,
        )
    )
    

  4. Apply the new network configuration to the camera.

    Go to source

    source

    camera.applyNetworkConfiguration(newConfig);
    
    Go to source

    source

    camera.ApplyNetworkConfiguration(newConfig);
    
    Go to source

    source

    camera.apply_network_configuration(new_config)
    

You have now configured the camera to work with link-local and DHCP.

If you haven’t configured the PC for either link-local or DHCP, go to Link Local IP Network Configuration - PC or DHCP Network Configuration - PC before going onwards. If you have done that, go to Connecting to the camera.

Previous Next

© Copyright 2015-2025 Zivid AS, last updated: 02 May 2025, 09:49 CET.

Built with Sphinx using a theme provided by Read the Docs.

Links

  • Knowledge base
  • Products
  • Downloads
  • Webshop

Follow Us

  • Twitter
  • Facebook
  • LinkedIn
  • YouTube

Contact us

  • Zivid.com
  • Gjerdrums vei 10A
  • NO0484 Oslo, Norway
  • +47 21 02 24 72