GTP Tunneling Protocol Settings [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dpi:epdg:installation_setup:management_and_administration:tun_gtp [2024/09/26 15:29] – created - external edit 127.0.0.1en:dpi:epdg:installation_setup:management_and_administration:tun_gtp [2025/12/26 09:45] (current) – [Section "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n.gtp-u"] elena.krasnobryzh
Line 1: Line 1:
-{{indexmenu_n>8}}+{{indexmenu_n>9}}
 ======GTP Tunneling Protocol Settings====== ======GTP Tunneling Protocol Settings======
-=====Section "charon.plugins.epdg-pgw.epdg.pgw"=====+=====Section "fast-epdg.tunnel.pgw"=====
  
 ^  Parameter    Description            ^  Value            ^ ^  Parameter    Description            ^  Value            ^
 | ''gtp {}''  | GTP protocol settings                     | | ''gtp {}''  | GTP protocol settings                     |
 +
 +**Template:**
 +<code bash>
 +fast-epdg {
 + tunnel {
 + iface = 
 + pdn = 
 + pgw {
 + gtp {}
 + }
 + }
 +}
 +</code>
  
 **Example:** **Example:**
 <code bash> <code bash>
-charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface = epdg 
-                                 epdg + pdn = ipv4 
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp {} 
-                                           pgw { +
-                                                       gtp {} + }
-                                           } +
-                                } +
-                    +
-         }+
 } }
 </code> </code>
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp"=====+=====Section "fast-epdg.tunnel.pgw.gtp"=====
  
 ^  Parameter                  Description              ^  Value                          ^ ^  Parameter                  Description              ^  Value                          ^
Line 33: Line 42:
 | ''gtp-server-name-n {}''  | GTP server settings #n    |                                 | | ''gtp-server-name-n {}''  | GTP server settings #n    |                                 |
  
-**Example:**+**Template:**
 <code bash> <code bash>
-charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface =  
-                                 epdg + pdn =  
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp { 
-                                           pgw { + mcc =  
-                                                       gtp { + mnc =  
-                                                                   gtp-server-name-1 {} + tac =  
-                                                                   gtp-server-name-2 {} + cid =  
-                                                                   gtp-server-name-n {} + enbid =  
-                                                       } + realm =  
-                                            } + gtp-server-name-1 {} 
-                                + gtp-server-name-2 {} 
-                     + gtp-server-name-n {} 
-         }+
 +
 + }
 } }
 </code> </code>
- 
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n"===== 
- 
-^  Parameter      Description                                    ^  Value                                                              ^ 
-| ''apn''       | Served APN                                                                                                          | 
-| ''priority''  | Server priority                                  | 0-100                                                              | 
-| ''devname''   | Tunneling device                                 | [tun][gtp]                                                         | 
-| ''devmode''   | Tunneling mode                                   | [soft][kernel]                                                     | 
-| ''subnet''    | APN subnet                                       | AAA.BBB.CCC.DDD/MM, 1111.2222.3333.4444.5555.6666.7777.8888/MM     | 
-| ''qos {}''    | Default bearer QoS settings                      |                                                                    | 
-| ''gtp-c {}''  | GTP-C settings                                                                                                      | 
-| ''gtp-u {}''  | GTP-U settings                                                                                                      | 
  
 **Example:** **Example:**
 <code bash> <code bash>
-charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface = epdg 
-                                 epdg + pdn = ipv4 
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp { 
-                                           pgw { + mcc =  
-                                                       gtp { + mnc =  
-                                                                   gtp-server-name-1 { + tac =  
-                                                                               apn ims + cid =  
-                                                                               priority 50 + enbid =  
-                                                                               devname tun0 + realm =  
-                                                                               subnet 10.1.0.0/16,2001:10::0/48 + gtp-server-name-1 {} 
-                                                                               qos {} + gtp-server-name-2 {} 
-                                                                               gtp-c {} + gtp-server-name-n {} 
-                                                                                gtp-{} +
-                                                               } +
-                                                                    gtp-server-name-2 + }
-                                                                            apn = ims +
-                                                                                priority = 50 +
-                                                                                devname = gtp0 +
-                                                                                devmode = kernel +
-                                                                                subnet = 10.1.0.0/16,2001:10::0/48 +
-                                                                                qos {} +
-                                                                               gtp-c {} +
-                                                                                gtp-{} +
-                                                               } +
-                                                        } +
-                                            } +
-                                +
-                     +
-         }+
 } }
 </code> </code>
 +=====Section "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n"=====
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n.qos"=====+^  Parameter    ^  Description                  Value                                                                                                                                                                                                                                                                                          ^ 
 +| ''apn''       | Served APN                   | ims                                                                                                                                                                                                                                                                                             | 
 +| ''priority''  | Server priority              | 0-100                                                                                                                                                                                                                                                                                           | 
 +| ''devname''   | Tunneling device             | [tun][gtp]                                                                                                                                                                                                                                                                                      | 
 +| ''subnet''    | APN subnet                   | **IPv4:** ''x.x.x.x/m'', where  \\ ''x'' — a decimal number from 0 to 255,  \\ ''m'' — the subnet mask, a decimal number from 0 to 32\\ **IPv6:** ''y:y:y:y:y:y:y:y/n'', where  \\ ''y'' — a hexadecimal number from 0000 to FFFF,  \\ ''n'' — the subnet mask, a decimal number from 0 to 128  | 
 +| ''qos {}''    | Default bearer QoS settings  |                                                                                                                                                                                                                                                                                                 | 
 +| ''gtp-c {}''  | GTP-C settings                                                                                                                                                                                                                                                                                                               | 
 +| ''gtp-u {}''  | GTP-U settings                                                                                                                                                                                                                                                                                                               |
  
-^  Parameter    Description                ^  Value      ^ +**Template:** 
-| ''qci''     | QCI level                   | 0-9         | +<code bash> 
-| ''mbr_ul''  | Max bitrate uplink          | kbits/    | +fast-epdg { 
-| ''mbr_dl''  | Max bitrate downlink        | kbits/    | + tunnel { 
-| ''gbr_ul''  | Guaranteed bitrate uplink   | kbits/    | + iface =  
-| ''gbr_dl''  | Guaranteed bitrate downlink | kbits/s     |+ pdn =  
 + pgw { 
 + gtp { 
 + mcc =  
 + mnc =  
 + tac =  
 + cid =  
 + enbid =  
 + realm =  
 + gtp-server-name-1 { 
 + apn =  
 + priority = 
 + devname =  
 + subnet =  
 + gtp-c {} 
 + gtp-u {} 
 +
 + gtp-server-name-2 { 
 + apn =  
 + priority =  
 + devname =  
 + subnet =  
 + gtp-c {} 
 + gtp-u {} 
 +
 +
 +
 +
 +} 
 +</code>
  
 **Example:** **Example:**
 <code bash> <code bash>
-charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface = epdg 
-                                 epdg + pdn = ipv4 
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp { 
-                                           pgw { + mcc =  
-                                                       gtp { + mnc =  
-                                                                   gtp-server-name-1 { + tac =  
-                                                                               apn = ims + cid =  
-                                                                               priority = 50 + enbid =  
-                                                                               devname = tun0 + realm =  
-                                                                               subnet = 10.1.0.0/16,2001:10::0/48 + gtp-server-name-1 { 
-                                                                               qos + apn = ims 
-                                                                                           qci = 5 + priority = 50 
-                                                                                           mbr_ul = 128 + devname = tun0 
-                                                                                           mbr_dl 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                           gbr_ul 128 + gtp-c {} 
-                                                                                           gbr_dl 128 + gtp-u {} 
-                                                                               } + } 
-                                                                               gtp-c {} + gtp-server-name-2 { 
-                                                                               gtp-u {} + apn ims 
-                                                               } + priority 50 
-                                                        } + devname tun0 
-                                            + subnet = 10.2.0.0/16,2001:10::0/48 
-                                 + gtp-c {} 
-                     + gtp-u {} 
-         }+
 +
 +
 + }
 } }
 </code> </code>
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n.gtp-c"=====+=====Section "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n.gtp-c"=====
  
-^  Parameter   ^  Description          ^  Value                                                            +^  Parameter  ^  Description          ^  Value                                                                                                                                                                 
-| ''local''   | GTP-C client address AAA.BBB.CCC.DDD1111.2222.3333.4444.5555.6666.7777.8888  | +| ''local''   | GTP-C client address **IPv4:** ''x.x.x.x''where  \\ ''x'' — a decimal number from 0 to 255, \\ **IPv6:** ''y:y:y:y:y:y:y:y'', where  \\ ''y'' — a hexadecimal number from 0000 to FFFF,   
-| ''remote''  | GTP-C server address AAA.BBB.CCC.DDD1111.2222.3333.4444.5555.6666.7777.8888  |+| ''remote''  | GTP-C server address **IPv4:** ''x.x.x.x'', where  \\ ''x'' — a decimal number from 0 to 255,  \\ **IPv6:** ''y:y:y:y:y:y:y:y'', where  \\ ''y'' — a hexadecimal number from 0000 to FFFF,  | 
 + 
 +**Template:** 
 +<code bash> 
 +fast-epdg { 
 + tunnel { 
 + iface =  
 + pdn =  
 + pgw { 
 + gtp { 
 + mcc =  
 + mnc =  
 + tac =  
 + cid =  
 + enbid =  
 + realm =  
 + gtp-server-name-1 { 
 + apn =  
 + priority =  
 + devname =  
 + subnet =  
 + gtp-c { 
 + local =  
 + remote =  
 +
 + gtp-u {} 
 +
 +
 +
 +
 +
 +</code>
  
 **Example:** **Example:**
 <code bash> <code bash>
-charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface = epdg 
-                                 epdg + pdn = ipv4 
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp { 
-                                           pgw { + mcc =  
-                                                       gtp { + mnc =  
-                                                                   gtp-server-name-1 { + tac =  
-                                                                               apn = ims + cid =  
-                                                                               priority = 50 + enbid =  
-                                                                               devname = tun0 + realm =  
-                                                                               subnet = 10.1.0.0/16,2001:10::0/48 + gtp-server-name-1 { 
-                                                                               qos { + apn = ims 
-                                                                                            qci = 5 + priority = 50 
-                                                                                        mbr_ul = 128 + devname = tun0 
-                                                                                            mbr_dl = 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                            gbr_ul = 128 + gtp-c { 
-                                                                                            gbr_dl = 128 + local = 192.168.1.1,2001:1::
-                                                                                } + remote = 192.168.2.1,2001:2::
-                                                                                gtp-c { +
-                                                                                           local = 192.168.1.1,2001:1::+ gtp-u {} 
-                                                                                           remote = 192.168.2.1,2001:2::+
-                                                                               +
-                                                                               gtp-u {} +
-                                                               } + }
-                                                        } +
-                                            +
-                                 +
-                     +
-         }+
 } }
 </code> </code>
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n.gtp-u"=====+=====Section "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n.gtp-u"=====
  
-^  Parameter   ^  Description          ^  Value                                                            +^  Parameter  ^  Description          ^  Value                                                                                                                                                                 
-| ''local''   | GTP-U client address AAA.BBB.CCC.DDD1111.2222.3333.4444.5555.6666.7777.8888  | +| ''local''   | GTP-U client address **IPv4:** ''x.x.x.x'', where  \\ ''x'' — a decimal number from 0 to 255,  \\ **IPv6:** ''y:y:y:y:y:y:y:y'', where  \\ ''y'' — a hexadecimal number from 0000 to FFFF,  | 
-| ''remote''  | GTP-U server address AAA.BBB.CCC.DDD1111.2222.3333.4444.5555.6666.7777.8888  |+| ''remote''  | GTP-U server address **IPv4:** ''x.x.x.x'', where  \\ ''x'' — a decimal number from 0 to 255,  \\ **IPv6:** ''y:y:y:y:y:y:y:y'', where  \\ ''y'' — a hexadecimal number from 0000 to FFFF,  | 
 + 
 +**Template:** 
 +<code bash> 
 +fast-epdg { 
 + tunnel { 
 + iface =  
 + pdn =  
 + pgw { 
 + gtp { 
 + mcc =  
 + mnc =  
 + tac =  
 + cid =  
 + enbid =  
 + realm =  
 + gtp-server-name-1 { 
 + apn =  
 + priority =  
 + devname =  
 + subnet =  
 + gtp-c { 
 + local =  
 + remote =  
 +
 + gtp-u { 
 + local =  
 + remote =  
 +
 +
 +
 +
 +
 +
 +</code>
  
 **Example:** **Example:**
 <code bash> <code bash>
- charon { +fast-epdg { 
-        plugins { + tunnel 
-                    epdg-pgw + iface = epdg 
-                                 epdg + pdn = ipv4 
-                                           iface = epdg + pgw { 
-                                           pdn = ipv4 + gtp { 
-                                           pgw { + mcc =  
-                                                       gtp { + mnc =  
-                                                                   gtp-server-name-1 { + tac =  
-                                                                               apn = ims + cid =  
-                                                                               priority = 50 + enbid =  
-                                                                               devname = tun0 + realm =  
-                                                                               subnet = 10.1.0.0/16,2001:10::0/48 + gtp-server-name-1 { 
-                                                                               qos { + apn = ims 
-                                                                                            qci = 5 + priority = 50 
-                                                                                            mbr_ul = 128 + devname = tun0 
-                                                                                            mbr_dl = 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                            gbr_ul = 128 + gtp-c { 
-                                                                                            gbr_dl = 128 + local = 192.168.1.1,2001:1::
-                                                                                } + remote = 192.168.2.1,2001:2::
-                                                                                gtp-c { +
-                                                                                           local = 192.168.1.1,2001:1::+ gtp-u { 
-                                                                                           remote = 192.168.2.1,2001:2::+ local = 192.168.1.1,2001:1::
-                                                                               + remote = 192.168.2.1,2001:2::
-                                                                               gtp-u { +
-                                                                                           local = 192.168.1.1,2001:1::+
-                                                                                           remote = 192.168.2.1,2001:2::+
-                                                                               } +
-                                                                } + }
-                                                        +
-                                           +
-                                 +
-                     +
-         }+
 } }
 </code> </code>