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

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:epdg:installation_setup:management_and_administration:tun_gtp [2024/11/19 13:17] elena.krasnobryzhen:dpi:epdg:installation_setup:management_and_administration:tun_gtp [2024/12/24 08:39] (current) – [Table] elena.krasnobryzh
Line 1: Line 1:
 {{indexmenu_n>9}} {{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 32: Line 41:
 | ''gtp-server-name-2 {}''  | GTP server settings #2    |                                 | | ''gtp-server-name-2 {}''  | GTP server settings #2    |                                 |
 | ''gtp-server-name-n {}''  | GTP server settings #n    |                                 | | ''gtp-server-name-n {}''  | GTP server settings #n    |                                 |
 +
 +**Template:**
 +<code bash>
 +fast-epdg {
 + tunnel {
 + iface = 
 + pdn = 
 + pgw {
 + gtp {
 + mcc = 
 + mnc = 
 + tac = 
 + cid = 
 + enbid = 
 + realm = 
 + gtp-server-name-1 {}
 + gtp-server-name-2 {}
 + gtp-server-name-n {}
 + }
 + }
 + }
 +}
 +</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 =  
-                                                                   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 "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n"=====
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n"=====+^  Parameter    ^  Description                  Value                                                                                                                                                                                                                                                                                          ^ 
 +| ''apn''       | Served APN                   | ims                                                                                                                                                                                                                                                                                             | 
 +| ''priority''  | Server priority              | 0-100                                                                                                                                                                                                                                                                                           | 
 +| ''devname''   | Tunneling device             | [tun][gtp]                                                                                                                                                                                                                                                                                      | 
 +| ''devmode''   | Tunneling mode               | [soft][kernel]                                                                                                                                                                                                                                                                                  | 
 +| ''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:** 
-| ''apn''       | Served APN                                                                                                          | +<code bash> 
-| ''priority''  | Server priority                                  | 0-100                                                              | +fast-epdg { 
-| ''devname''   | Tunneling device                                 | [tun][gtp]                                                         | + tunnel { 
-| ''devmode''   | Tunneling mode                                   | [soft][kernel]                                                     | + iface =  
-| ''subnet''    | APN subnet                                       | AAA.BBB.CCC.DDD/MM, 1111.2222.3333.4444.5555.6666.7777.8888/MM     | + pdn =  
-| ''qos {}''    | Default bearer QoS settings                      |                                                                    | + pgw { 
-| ''gtp-c {}''  | GTP-C settings                                                                                                      | + gtp { 
-| ''gtp-u {}''  | GTP-U settings                                                                                                      |+ mcc =  
 + mnc =  
 + tac =  
 + cid =  
 + enbid =  
 + realm =  
 + gtp-server-name-1 { 
 + apn  
 + priority = 
 + devname  
 + devmode  
 + subnet  
 + qos {} 
 + gtp-c {} 
 + gtp-u {} 
 +
 + gtp-server-name-2 { 
 + apn =  
 + priority =  
 + devname =  
 + devmode =  
 + subnet =  
 + qos {} 
 + 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 
-                                                                               gtp-c {} + priority = 50 
-                                                                               gtp-u {} + devname = tun0 
-                                                               + devmode =  
-                                                                   gtp-server-name-2 { + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                             apn = ims + qos {} 
-                                                                               priority = 50 + gtp-c {} 
-                                                                               devname = gtp0 + gtp-u {} 
-                                                                               devmode = kernel +
-                                                                               subnet = 10.1.0.0/16,2001:10::0/48 + gtp-server-name-2 { 
-                                                                               qos {} + apn = ims 
-                                                                               gtp-c {} + priority = 50 
-                                                                               gtp-u {} + devname = gtp0 
-                                                               } + devmode = kernel 
-                                                        } + subnet = 10.1.0.0/16,2001:10::0/48 
-                                            + qos {} 
-                                 + gtp-c {} 
-                     + gtp-u {} 
-         }+
 +
 +
 + }
 } }
 </code> </code>
  
-=====Section "charon.plugins.epdg-pgw.epdg.pgw.gtp.gtp-server-name-n.qos"=====+=====Section "fast-epdg.tunnel.pgw.gtp.gtp-server-name-n.qos"=====
  
 ^  Parameter    Description                ^  Value      ^ ^  Parameter    Description                ^  Value      ^
Line 111: Line 187:
 | ''gbr_ul''  | Guaranteed bitrate uplink   | kbits/    | | ''gbr_ul''  | Guaranteed bitrate uplink   | kbits/    |
 | ''gbr_dl''  | Guaranteed bitrate downlink | kbits/    | | ''gbr_dl''  | Guaranteed bitrate downlink | kbits/    |
 +
 +**Template:**
 +<code bash>
 +fast-epdg {
 + tunnel {
 + iface = 
 + pdn = 
 + pgw {
 + gtp {
 + mcc = 
 + mnc = 
 + tac = 
 + cid = 
 + enbid = 
 + realm = 
 + gtp-server-name-1 {
 + apn = 
 + priority = 
 + devname = 
 + devmode = 
 + subnet = 
 + qos {
 + qci = 
 + mbr_ul = 
 + mbr_dl = 
 + gbr_ul = 
 + gbr_dl = 
 + }
 + 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 + devmode =  
-                                                                                           gbr_ul = 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                           gbr_dl = 128 + qos { 
-                                                                               + qci = 5 
-                                                                               gtp-c {} + mbr_ul = 128 
-                                                                               gtp-u {} + mbr_dl = 128 
-                                                               } + gbr_ul = 128 
-                                                        } + gbr_dl = 128 
-                                            +
-                                 + 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 =  
 + devmode =  
 + subnet =  
 + qos { 
 + qci =  
 + mbr_ul =  
 + mbr_dl =  
 + gbr_ul =  
 + gbr_dl =  
 +
 + 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 + devmode =  
-                                                                                           gbr_ul = 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                           gbr_dl = 128 + qos { 
-                                                                               + qci = 5 
-                                                                               gtp-c { + mbr_ul = 128 
-                                                                                           local = 192.168.1.1,2001:1::+ mbr_dl = 128 
-                                                                                           remote = 192.168.2.1,2001:2::+ gbr_ul = 128 
-                                                                               + gbr_dl = 128 
-                                                                               gtp-u {} +
-                                                               } + gtp-c { 
-                                                        } + local = 192.168.1.1,2001:1::
-                                            + 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 =  
 + devmode =  
 + subnet =  
 + qos { 
 + qci =  
 + mbr_ul =  
 + mbr_dl =  
 + gbr_ul =  
 + gbr_dl =  
 +
 + 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 + devmode =  
-                                                                                           gbr_ul = 128 + subnet = 10.1.0.0/16,2001:10::0/48 
-                                                                                           gbr_dl = 128 + qos { 
-                                                                               + qci = 5 
-                                                                               gtp-c { + mbr_ul = 128 
-                                                                                           local = 192.168.1.1,2001:1::+ mbr_dl = 128 
-                                                                                           remote = 192.168.2.1,2001:2::+ gbr_ul = 128 
-                                                                               + gbr_dl = 128 
-                                                                               gtp-u { +
-                                                                                           local = 192.168.1.1,2001:1::+ gtp-c { 
-                                                                                           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>