Dita Octaviani
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: 'UPF Detail Function' disqus: hackmd --- ![Screenshot 2024-05-22 at 14.29.38](https://hackmd.io/_uploads/ryob-GomR.png) ![Screenshot 2024-05-22 at 14.52.57](https://hackmd.io/_uploads/r1WvUGo7R.png) The configuration above is for the N4 interface of the User Plane Function (UPF) in a 5G network. N4 is the interface that connects the UPF with the Session Management Function (SMF). Here is a detailed explanation of each element in the configuration: ### pfcp: This section configures the Packet Forwarding Control Protocol (PFCP) used on the N4 interface. 1. **addr: 127.0.0.8** - **IP addr for listening:** The IP address used by the UPF to listen for incoming connections on the N4 interface. This is a local (loopback) IP address in this example, which means the communication will only occur within the same machine, usually for testing or special configurations. 2. **nodeID: 127.0.0.8** - **External IP or FQDN can be reached:** This is the IP address or FQDN (Fully Qualified Domain Name) that can be accessed externally by the SMF to communicate with the UPF. In this example, it is the same as the `addr`, using the loopback address. 3. **retransTimeout: 1s** - **Retransmission timeout:** The waiting time before attempting to resend an unacknowledged or unresponded message. In this example, the timeout is 1 second. 4. **maxRetrans: 3** - **The max number of retransmissions:** The maximum number of attempts to resend a message if no acknowledgment is received. In this example, retransmissions will be attempted up to a maximum of 3 times. ### Additional Explanation: - **Comments:** Comments on each line provide a brief explanation of what each parameter does. Comments begin with the `#` symbol. - **Cannot be Set to 0.0.0.0:** In this case, the IP address for `addr` cannot be set to `0.0.0.0`, which is usually used to listen on all network interfaces. Instead, it must be specified to a particular IP address. ### Conclusion: This configuration sets parameters for the N4 interface of the UPF, specifying the IP address for listening to incoming connections from the SMF, setting the node ID that can be externally reached, and defining the timeout policy and the maximum number of message retransmissions. This configuration is crucial to ensure reliable communication between the UPF and SMF in a 5G network. ![Screenshot 2024-05-22 at 14.54.28](https://hackmd.io/_uploads/B162Ifo70.png) The configuration above is for GTP-U (GPRS Tunneling Protocol - User Plane) in a User Plane Function (UPF) within a 5G network. Here is a detailed explanation of each element in this configuration: ### gtpu: This section configures the GTP-U protocol, which is used for transmitting user data (user plane) through the 5G core network. 1. **forwarder: gtp5g** - **gtp5g:** This indicates that the forwarder being used is `gtp5g`. GTP5G is an implementation of the GTP-U protocol specifically designed for 5G networks. 2. **ifList:** This section is a list of interfaces used by the UPF to communicate with other network elements via the N3 or N9 interfaces. N3 is the interface between the UPF and the gNB (base station), while N9 is the interface between two UPFs. - **addr: 192.168.1.130** - **IP address for N3 interface:** This is the IP address of the N3 interface used by the UPF to receive and send user data to and from the gNB. In this example, the IP address used is `192.168.1.130`. - **type: N3** - **Type of interface:** This indicates that this interface is an N3 interface, which connects the UPF to the gNB in the 5G network architecture. - **name: upf.5gc.nctu.me** - **Commented name:** This is a comment suggesting a possible hostname for the UPF. Since it is commented out (with a `#`), this setting is not active in the current configuration. - **ifname: gtpif** - **Commented interface name:** This is a comment indicating a possible network interface name, but it is also commented out and not used in the active configuration. - **mtu: 1400** - **Commented MTU:** This is a comment indicating a possible Maximum Transmission Unit (MTU) size for this interface. The MTU determines the maximum packet size that can be transmitted in a single network transmission, but since it is commented out, this setting is not currently used. ### Additional Explanation: - **Comments:** Lines starting with `#` are comments and are not executed by the system. These comments may contain additional information or alternative settings that might be needed later. - **Multiple Connections:** If multiple connections need to be configured, you can set `addr` to `0.0.0.0` to listen on all interfaces or list all relevant IP addresses. ### Conclusion: This configuration sets parameters for the GTP-U interface of the UPF, specifying the IP address and type of interface used to communicate with the gNB via N3. These settings are important to ensure the UPF can efficiently send and receive user data in a 5G network. In the configuration above, "N3" is the type of interface used by the User Plane Function (UPF) to communicate with the gNB (base station) in the 5G network architecture. Here’s an explanation of why N3 is necessary: ### Explanation of Using N3 1. **Role of UPF in 5G Network:** The UPF (User Plane Function) is responsible for managing user plane traffic in the 5G network. The UPF receives, processes, and forwards user traffic between the 5G core network and radio elements like the gNB. 2. **Function of N3:** The N3 interface is the communication link between the UPF and the gNB. N3 is used to send and receive user data between the radio access network (RAN) and the core network. In other words, N3 is the main path through which data from user devices is transmitted to the network and vice versa. 3. **N3 IP Configuration:** In this configuration: ```yaml gtpu: forwarder: gtp5g ifList: - addr: 192.168.1.130 type: N3 ``` - `addr: 192.168.1.130`: This is the IP address used by the N3 interface on the UPF. The UPF will listen for and send data on this IP address. - `type: N3`: This indicates that the interface is of type N3, which connects the UPF to the gNB. 4. **Flexibility in Connections:** If the UPF has multiple interfaces or IP addresses that need to be configured for N3 or N9 (another interface connecting to other network elements), we can set `addr` to `0.0.0.0` to listen on all network interfaces or list all relevant addresses. This provides flexibility in network configuration to meet various network topology requirements. 5. **Implementation of GTP-U:** GTP-U (GPRS Tunneling Protocol - User Plane) is used to encapsulate and transmit user data through the N3 interface. Here, the `gtp5g` forwarder is used to implement GTP-U in the 5G network. ### Conclusion: Using N3 in this configuration ensures that the UPF can communicate with the gNB to manage user traffic in the 5G network. The N3 interface is a critical path for transmitting data between user devices and the core network, so proper configuration of the IP address and interface type for N3 is essential for efficient and reliable network operations. ### About N1 (UE,OAI, and 5GC) The N1 interface is used to connect User Equipment (UE), OpenAirInterface (OAI), and the 5G Core (5GC) because of several important functionalities and communication needs within the 5G network architecture. Here's an explanation of why N1 is used: **Explanation of Using N1** 1. **Role of N1 in 5G Network:** The N1 interface is the primary communication path between the User Equipment (UE) and the 5G Core Network (5GC). N1 is used for sending and receiving control signaling between the UE and network functions like AMF (Access and Mobility Management Function). 2. **Function of N1:** - **Signaling:** N1 handles signaling between the UE and 5GC. This includes processes like UE registration, connection management, and authentication. - **Session Management:** N1 helps in session management, such as setting up and maintaining PDU (Packet Data Unit) sessions that connect the UE to data networks. - **Mobility Management:** N1 supports mobility management, allowing the UE to remain connected and move seamlessly between different gNB (base stations) without losing connection. 3. **UE Communication with 5GC via OAI:** - **OpenAirInterface (OAI):** OAI is an open-source platform used to develop and test 5G network components. OAI can simulate a complete 5G network including UE, gNB, and 5GC components. - **UE-OAI-5GC Relationship:** The UE connects to the 5GC through OAI, which acts as the access network. The N1 interface allows signaling and session management from the UE through OAI to the 5GC. 4. **Importance of Signaling on N1:** - **Registration:** Through N1, the UE can register with the 5G network, which is necessary to obtain network services. - **Authentication:** The authentication process ensures that only legitimate users can access the network. - **Session Establishment:** Establishing PDU sessions to access data services after successful registration and authentication. 5. **Benefits of Using N1:** - **Standardization:** N1 is a standardized interface in the 5G network architecture, ensuring interoperability and compatibility between various vendors and network implementations. - **Security:** N1 includes security mechanisms for authentication and data encryption, which are essential for protecting user information. ### Conclusion: Using the N1 interface to connect UE, OAI, and 5GC is crucial for ensuring effective and efficient signaling communication in the 5G network. N1 plays a critical role in the registration, authentication, session management, and mobility of UE within the network. This makes N1 a core component in the 5G architecture, ensuring that the UE can interact with services provided by the 5GC through an access network developed using platforms like OAI.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully