We are closed from December 18, 2024 to January 5, 2025. Orders placed during this time will be processed starting on January 6, 2025.

Assign a static IP address to a Zynq board with Koheron OS

Last updated: 2020-09-14

With Koheron OS for Zynq, you can assign a static IP address to a Zynq board. Edit the file /etc/network/interfaces on the image as follows:

  1. Comment the line related to DHCP configuration:

    # iface eth0 inet dhcp
    
  2. Uncomment the Static IP configuration lines with your network information:

    iface eth0 inet static
    address 10.42.0.100 # Board IP address
    gateway 10.42.0.1
    netmask 255.255.255.0
    network 10.42.0.0
    broadcast 10.42.0.255
    


Tip: To edit the file you can mount your image on your computer and edit the file with a text editor.

See also

Suggested posts

[email protected]