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

Zephyr 3.7.0 · Connectivity · Networking API

Point-to-Point Protocol(PPP) 지원

Serial link 위에 IP packet을 실어 나르는 PPP 연결과 Zephyr 지원 범위를 설명합니다.

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

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

Part 1

요약·해설

각 PPP link를 network interface로 모델링하고 LCP·HDLC·IPCP·IPV6CP를 사용하는 방법을 설명합니다.

Layer

Data link · L2

Model

Link = Interface

Enable

CONFIG_NET_L2_PPP

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E37DAA0967702C35CDABDD724F310D50D1F3F47D868129D07036A6142C1028F2
.. _ppp:

Point-to-Point Protocol (PPP) Support
#####################################

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

Overview
********

`Point-to-Point Protocol
<https://en.wikipedia.org/wiki/Point-to-Point_Protocol>`_ (PPP) is a data link
layer (layer 2) communications protocol used to establish a direct connection
between two nodes. PPP is used over many types of serial links since IP packets
cannot be transmitted over a modem line on their own, without some data link
protocol.

In Zephyr, each individual PPP link is modelled as a network interface. This
is similar to how Linux implements PPP.

PPP support must be enabled at compile time by setting option
:kconfig:option:`CONFIG_NET_L2_PPP`.
The PPP implementation supports only these protocols:

* LCP (Link Control Protocol,
  `RFC1661 <https://tools.ietf.org/html/rfc1661>`__)
* HDLC (High-level data link control,
  `RFC1662 <https://tools.ietf.org/html/rfc1662>`__)
* IPCP (IP Control Protocol,
  `RFC1332 <https://tools.ietf.org/html/rfc1332>`__)
* IPV6CP (IPv6 Control Protocol,
  `RFC5072 <https://tools.ietf.org/html/rfc5072>`__)

For using PPP with a cellular modem, see :zephyr:code-sample:`cellular-modem` sample
for additional information.

Testing
*******

See the `net-tools README`_ file for more details on how to test the Zephyr PPP
against pppd running in Linux.

.. _net-tools README:
   https://github.com/zephyrproject-rtos/net-tools/blob/master/README.md#ppp-connectivity

Part 3

한국어 전문 번역

개요

Point-to-Point Protocol(PPP)은 두 node 사이에 direct connection을 만드는 data link layer(layer 2) communication protocol입니다. IP packet은 별도의 data link protocol 없이 modem line 자체만으로 전송할 수 없으므로 PPP는 여러 종류의 serial link에서 사용됩니다.

Zephyr에서는 개별 PPP link 하나를 network interface 하나로 모델링합니다. Linux의 PPP 구현 방식과 비슷합니다.

PPP support는 compile time에 CONFIG_NET_L2_PPP option을 설정해 활성화해야 합니다. Zephyr PPP 구현이 지원하는 protocol은 다음뿐입니다.

  • LCP(Link Control Protocol, RFC 1661)
  • HDLC(High-level Data Link Control, RFC 1662)
  • IPCP(IP Control Protocol, RFC 1332)
  • IPV6CP(IPv6 Control Protocol, RFC 5072)

Cellular modem과 PPP를 함께 사용하는 방법은 Cellular Modem sample을 참고하십시오.

Testing

Zephyr PPP를 Linux에서 실행하는 pppd와 시험하는 방법은 net-tools README의 PPP connectivity 절을 참고하십시오.

Source

출처

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