connectivity/networking/armfvp_user_networking_setup.html · connectivity/networking/armfvp_user_networking_setup.rst 공식 원문 ↗

Zephyr 3.7.0 · Connectivity · Networking

Arm FVP User Mode Networking

Host 권한이나 별도 driver 없이 FVP guest의 TCP·UDP traffic을 user-mode socket으로 연결합니다.

Official pathconnectivity/networking/armfvp_user_networking_setup.html
Source fileconnectivity/networking/armfvp_user_networking_setup.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

내장 router·DHCP 주소 구성, Zephyr sample 사용법과 NAT 기반 user-mode networking 제한을 설명합니다.

Network

172.20.51.0/24

Gateway

172.20.51.254

Guest

172.20.51.1

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E08A4862BE90438D863AE5033B4EBEDADD348F6AE131B3B5964F137387305341
.. _networking_with_armfvp:

Networking with Arm FVP User Mode
#################################

.. contents::
    :local:
    :depth: 2

This page is intended to serve as a starting point for anyone interested in
using Arm FVP user mode networking with Zephyr.

Introduction
*************

User mode networking emulates a built-in IP router and DHCP server, and routes
TCP and UDP traffic between the guest and host. It uses the user mode socket
layer of the host to communicate with other hosts. This allows the use of
a significant number of IP network services without requiring administrative
privileges, or the installation of a separate driver on the host on which
the model is running.

By default, Arm FVP uses the ``172.20.51.0/24`` network and runs a gateway at
``172.20.51.254``. This gateway also functions as a DHCP server for the GOS,
allowing it to be automatically assigned with an IP address ``172.20.51.1``.

More details about Arm FVP user mode networking can be obtained from here:
https://developer.arm.com/documentation/100964/latest/Introduction-to-Fast-Models/User-mode-networking

Using Arm FVP User Mode Networking with Zephyr
***********************************************

Arm FVP user mode networking can be enabled in any applications and it doesn't
need any configurations on the host system. This feature has been enabled in
DHCPv4 client sample.
See :zephyr:code-sample:`dhcpv4-client` sample application.

Limitations
*************

* You can use TCP and UDP over IP, but not ICMP (ping).
* User mode networking does not support forwarding UDP ports on the host to
  the model.
* You can only use DHCP within the private network.
* You can only make inward connections by mapping TCP ports on the host to
  the model. This is common to all implementations that provide host
  connectivity using NAT.
* Operations that require privileged source ports, for example NFS in its
  default configuration, do not work.
* If setup fails, or the parameter syntax is incorrect, there is no error
  reporting.

Part 3

한국어 전문 번역

이 페이지는 Zephyr에서 Arm FVP user mode networking을 사용하려는 사람을 위한 출발점입니다.

소개

User mode networking은 내장 IP router와 DHCP server를 emulate하고 guest와 host 사이의 TCP·UDP traffic을 route합니다. 다른 host와 통신할 때 host의 user-mode socket layer를 사용합니다. 따라서 model을 실행하는 host에서 administrative privilege나 별도 driver 설치 없이 많은 IP network service를 사용할 수 있습니다.

Arm FVP는 기본적으로 172.20.51.0/24 network를 사용하고 172.20.51.254에서 gateway를 실행합니다. Gateway는 GOS용 DHCP server 역할도 하며 GOS에 172.20.51.1 IP address를 자동으로 할당합니다.

자세한 내용은 Arm FVP User Mode Networking 공식 문서를 참고하십시오.

Zephyr에서 Arm FVP User Mode Networking 사용

Arm FVP user mode networking은 어떤 application에서도 활성화할 수 있고 host system에서 별도 설정이 필요하지 않습니다. DHCPv4 Client sample에는 이 기능이 이미 활성화돼 있습니다.

제한 사항

  • IP 위에서 TCP와 UDP는 사용할 수 있지만 ICMP(ping)는 사용할 수 없습니다.
  • Host의 UDP port를 model로 forwarding할 수 없습니다.
  • Private network 안에서만 DHCP를 사용할 수 있습니다.
  • Host의 TCP port를 model에 mapping하는 방식으로만 inward connection을 만들 수 있습니다. NAT로 host connectivity를 제공하는 모든 구현에 공통된 제한입니다.
  • 기본 configuration의 NFS처럼 privileged source port가 필요한 operation은 동작하지 않습니다.
  • Setup이 실패하거나 parameter syntax가 잘못돼도 error reporting이 없습니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.