Set up a direct ethernet connection between a host and a Zynq board

Prerequisites

The board has been assigned a static IP address.

Steps

  1. Create a new ethernet interface
  2. Edit /etc/network/interfaces by appending the following with your network information.

    iface eth0 inet static
    address 10.42.0.42
    gateway 10.42.0.1
    netmask 255.255.255.0
    network 10.42.0.0
    broadcast 10.42.0.255

    Note that the new ethernet interface configuration should be the same as your board network configuration except for the IP address, which should have the same network ID (10.42.0, here) but not the same host ID (42,here).

  3. Restart network interface
  4. $ sudo ifdown eth0 && sudo ifup eth0
Before getting started, the board must be connected to the computer ethernet port.
  1. Go to Control Panel > Network and Internet > Network and Sharing Center.
  2. Click on your ethernet connection and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.
  4. Edit the properties as follows:
  5. set up a static ip ethernet connection on windows

    Note that the ethernet interface configuration should be the same as your board network configuration except for the IP address, which should have the same network ID (10.42.0, here) but not the same host ID (42,here).