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

Last updated: 2020-09-14

Prerequisites

The board has been assigned a static IP address.

Steps

1. Create a new ethernet interface

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).

2. Restart network interface

$ 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:

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).

See also

Suggested posts

[email protected]