Internet access for PYNQ Z2

I am new to PYNQ and would like to find out how to setup the board and host computer to access internet from PYNQ Z2
(1) PYNQ Z2 version 3.0.0
(2) Static IP for the PYNQ Z2 board is 192.168.2.99 (default)
(3) host is a PC running Windows 11 with two ethernet ports
(4) One port is connected to internet via work network (IP is DHCP 172.21.x.y)
(5) One port is set to static IP 192.168.2.1 (same range as the PYNQ Z2)
I can open Jupyter through 192.168.2.99:9090
On Jupyter terminal I cannot ping 192.168.2.1 (the host port I connect my PYNQ Z2) to.
Questions:
(1) Do I need to do anything on the PYNQ Z2 system setting to allow it to ping 192.168.2.1 (host ethernet port)?
(2) Do I need to change anything on my host PC to allow sharing of intenet?
Thank you very much!

1 Like

I tried:
(1) setting PYNQ Z2 static IP to 192.168.137.99 and my host 2nd Ethernet port to static IP to 192.168.137.1.
(2) I rebooted the PYNQ Z2 board and able to connect through browser with 192.168.137.99:9090 and saw the Jupyter notebook.
(3) I use a USB cable to connect to the board with PuTTy (using 192.168.137.99). I was able to connect.
(4) From my host (Windows 11) cmd window I can ping 192.168.137.99
(5) However, on PuTTy connection terminal I cannot ping 192.168.137.1 (host Ethernet port)
(6) ping 192.168.137.1 does not return (just hang) and control C gives
xilinx@pynq:~$ ping 192.168.137.1
PING 192.168.137.1 (192.168.137.1) 56(84) bytes of data.
^C
— 192.168.137.1 ping statistics —
47 packets transmitted, 0 received, 100% packet loss, time 47801ms

(7) arp -a on PYNQ Z2 terminal says:
xilinx@pynq:~$ arp -a
? (192.168.137.1) at on eth0
I am puzzled. It seems iot has something to do with the ethernet port on my host not being seen by PYNQ.
Thanks.

I came to the conclusion that this is an issue with my Windows 11 host. It is probably due to Firewall. I will look into this direction now.

Hello there,

Please refer to this post
https://discuss.pynq.io/t/rfsoc-4x2-does-not-show-any-ip-address-in-the-display/5279
where the author (myself) talks about a similar problem of establishing ethernet connectivity to the the RFSoC 4x2 evaluation kit.

Thank you