Our offices will be closed from 12/08/19 to 26/08/19. Orders placed during this time will be shipped from 27/08/19.

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

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.

Suggested blog posts