Lines Matching +full:host +full:- +full:interface

1 .. zephyr:code-sample:: nxp_s32_netc
10 for the different use-cases:
12 1. Zephyr application controls the Physical Station Interface (PSI) and the
18 The sample enables the net-shell and mdio-shell (only available when Zephyr
28 To run this sample is needed to set-up a host machine running GNU/Linux or Windows
35 To build and run the sample application for use-case 1:
37 .. zephyr-app-commands::
38 :zephyr-app: samples/boards/nxp/s32/netc
42 Once started, you should see the network interface details, for example:
44 .. code-block:: console
58 To build and run the sample application for use-case 2:
60 .. zephyr-app-commands::
61 :zephyr-app: samples/boards/nxp/s32/netc
64 :gen-args: -DDTC_OVERLAY_FILE="./vsi-and-psi.overlay"
68 .. code-block:: console
86 Setting up Host
89 To be able to reach the board from the host, it's needed to configure the host
90 network interface IP's and default routes. This guide assumes the host IPv4 and
92 using a network interface named ``enp1s0`` in a GNU/Linux host or ``Ethernet`` in
93 a Windows host, this can be done with the following commands:
97 .. group-tab:: Linux
99 .. code-block:: console
101 ip -4 addr add 192.0.2.3/24 dev enp1s0
102 ip -6 addr add 2001:db8::3/128 dev enp1s0
103 route -A inet6 add default dev enp1s0
105 .. group-tab:: Windows
107 .. code-block:: console
109 netsh interface ipv4 set address "Ethernet" static 192.0.2.3 255.255.255.0
110 netsh interface ipv6 add address "Ethernet" 2001:db8::3/128
111 netsh interface ipv6 add route ::/0 "Ethernet" ::
119 .. code-block:: console
121 net ping -I<iface> 192.0.2.3
122 net ping -I<iface> 2001:db8::3
124 Where ``<iface>`` is the interface number starting from 1.