配置企业通过5G双DNN同时接入Internet和IMS示例 您所在的位置:网站首页 移动pcc业务 配置企业通过5G双DNN同时接入Internet和IMS示例

配置企业通过5G双DNN同时接入Internet和IMS示例

2023-11-20 11:13| 来源: 网络整理| 查看: 265

场景介绍

在5G网络中,DNN(Data Network Name)等同于4G网络中的APN(Access Point Name), 标识一个外部数据网络。用户可以在AR上配置DNN接入到相应的数据网络。AR1支持多DNN技术,每个DNN都可以会获取到独立的IP地址,不同DNN接入到不同的数据网络,例如DNN1接入Internet网络进行数据通信,DNN2接入到IMS数据网络进行VoIP语音通信。

由于AR2的5G功能同时兼容LTE和3G,虽然外部数据网络的概念在5G网络里叫做DNN,但配置还是沿用原来LTE和3G里的APN,所以举例里还是写配置APN。

组网需求

如图1所示,为了接入不同的网络,AR1的一个Cellular接口包含多个Cellular通道接口,每个Cellular通道接口等同于一个逻辑的业务接口,可以获取独立IP地址、并独立配置所要应用的业务,如语音、数据等。每个APN绑定一个Cellular通道接口,多个APN共用一个Cellular接口。路由器通过APN1接入Internet进行数据通信;通过APN2接入IMS网络进行VoIP语音通信。企业使用5G多APN进行数据通信和VoIP语音通信。

图7-3 配置企业通过5G双DNN同时接入Internet和IMS组网图 数据准备 表7-3 数据准备表

项目

数据

说明

运营商分配给企业分支的APN名称

5gnet、voicenet

APN名称需提前从运营商处获取。

运营商分配给分支的5G Cellular通道接口的IP地址

Cellular1/0/0:1接口:1.1.1.1/32

Cellular1/0/0:2接口:2.2.2.2/32

5G Cellular通道接口拨号接入运营商后,运营商给5G Cellular通道接口自动分配的IP地址。本例中,假设运营商为两个5G Cellular通道接口分配的IP地址分别为1.1.1.1和2.2.2.2。

分支AR1 LAN侧接口信息

所属VLAN:10

网关地址:VLANIF10(10.1.1.1/24)

LAN侧物理接口:GE0/0/1

VLAN 10为分支子网用户所在的VLAN,且分支子网用户的网关为VLANIF10接口。

总部语音业务所在的子网网段

10.2.1.0/24

总部语音业务所在的子网网段用于配置路由信息,使语言业务和数据业务走不同的路由。

配置思路创建两个APN模板,一个APN模板接入Internet,另一个APN模板接入IMS网络。在5G Cellular接口上使能多APN功能,并配置5G下行流量异常时发送ICMP报文检测DNS服务器是否可达。在5G Cellular通道接口上配置轮询DCC拨号连接,并绑定APN模板。配置分支内网,由AR1为该企业分支内网用户分配IP地址。配置NAT功能,指定5G Cellular通道接口的IP地址作为该企业分支公网地址。配置静态路由,指定出接口为5G Cellular通道接口,使数据业务和语音业务可以通过不同的5G Cellular通道接口上行传输到5G网络。

在5G Cellular接口下执行命令dialer enable-circular配置轮询拨号功能时,设备会同时下发自动拨号、IP地址协商和5G Modem自愈的相关配置,无需再重复配置。

操作步骤

配置APN模板

# 配置APN模板5gnet,该模板用来接入Internet。

system-view [Huawei] sysname AR1 [AR1] apn profile 5gnet [AR1-apn-profile-5gnet] apn 5gnet [AR1-apn-profile-5gnet] quit

# 配置APN模板voicenet,该模板用来接入IMS网络。

[AR1] apn profile voicenet [AR1-apn-profile-voicenet] apn voicenet [AR1-apn-profile-voicenet] quit 在5G Cellular接口上使能多APN功能。[AR1] interface cellular 1/0/0 [AR1-Cellular1/0/0] multi-apn enable [AR1-Cellular1/0/0] quit

在5G Cellular通道接口上配置轮询DCC拨号连接,绑定APN模板。

# 在5G Cellular通道接口1上配置轮询DCC拨号连接,绑定APN模板5gnet。

[AR1] interface cellular 1/0/0:1 [AR1-Cellular1/0/0:1] dialer enable-circular [AR1-Cellular1/0/0:1] apn-profile 5gnet [AR1-Cellular1/0/0:1] shutdown [AR1-Cellular1/0/0:1] undo shutdown [AR1-Cellular1/0/0:1] quit

# 在5G Cellular通道接口2上配置轮询DCC拨号连接,绑定APN模板voicenet。

[AR1] interface cellular 1/0/0:2 [AR1-Cellular1/0/0:2] dialer enable-circular [AR1-Cellular1/0/0:2] apn-profile voicenet [AR1-Cellular1/0/0:2] shutdown [AR1-Cellular1/0/0:2] undo shutdown [AR1-Cellular1/0/0:2] quit

配置分支内网,为该企业分支内网用户分配IP地址。

# 创建VLAN10,将GE0/0/1接口加入VLAN10。

[AR1] vlan 10 [AR1-vlan10] quit [AR1] interface GigabitEthernet 0/0/1 [AR1-GigabitEthernet0/0/1] port link-type access [AR1-GigabitEthernet0/0/1] port default vlan 10 [AR1-GigabitEthernet0/0/1] quit

# 使能DHCP功能,并配置接口工作在接口地址池模式。

[AR1] dhcp enable [AR1] interface Vlanif 10 [AR1-Vlanif10] ip address 10.1.1.1 255.255.255.0 [AR1-Vlanif10] dhcp select interface [AR1-Vlanif10] quit

配置NAT功能。

[AR1] acl number 3000 [AR1-acl-adv-3000] rule 5 permit ip [AR1-acl-adv-3000] quit [AR1] interface cellular 1/0/0:1 [AR1-Cellular1/0/0:1] nat outbound 3000 [AR1-Cellular1/0/0:1] quit [AR1] interface cellular 1/0/0:2 [AR1-Cellular1/0/0:2] nat outbound 3000 [AR1-Cellular1/0/0:2] quit

配置静态路由,数据业务走缺省路由,出接口为Cellular1/0/0:1;语音业务走另一条静态路由,出接口为Cellular1/0/0:2。

[AR1] ip route-static 0.0.0.0 0.0.0.0 Cellular 1/0/0:1 [AR1] ip route-static 10.2.1.0 255.255.255.0 Cellular 1/0/0:2 [AR1] quit 验证在AR1上执行命令display ip interface brief Cellular 1/0/0:1,查看Cellular1/0/0:1接口获取到的IP地址。 display ip interface brief Cellular 1/0/0:1 *down: administratively down ^down: standby (l): loopback (s): spoofing (E): E-Trunk down Interface IP Address/Mask Physical Protocol Cellular1/0/0:1 1.1.1.1/32 up up 在AR1上执行命令display cellular 1/0/0 all,查看Cellular1/0/0接口的状态信息。 display Cellular 1/0/0 all Modem State: Hardware Information. ===================== Model = RG801 Modem Type = 5G module Modem Firmware Version = RG801HEAAAR01A07M8G Hardware Version = HiB5000_MODEM Ver.A Integrate circuit card identity (ICCID) = 98681020100202000069 International Mobile Subscriber Identity (IMSI) = 460070075591996 Mobile Station International ISDN Number (MSISDN) = None International Mobile Equipment Identity (IMEI) = 867147050004457 Factory Serial Number (FSN) = 0123456789ABCDEF Modem Status = Online Profile Information. ==================== Profile 1 -------- PDP Type = IPv4, Header Compression = OFF Data Compression = OFF Access Point Name (APN) = 5gnet Packet Session Status = Active * - Default profile Network Information. ==================== Current Service Status = Service available Service Domain = Combined Current Service = PS Packet Service = Attached Packet Session Status = Active Current Roaming Status = Roaming Network Selection Mode = Automatic Network Connection Mode = LTE-NR Current Network Connection = 5G(NSA) Mobile Country Code (MCC) = 369 Mobile Network Code (MNC) = 77 Mobile Operator Information = Unknown Tracking Area Code (TAC) = 1002 Cell ID = 9881858 Radio Information. ================== Current Bands : WCDMA: AUTO LTE: B3 NR: AUTO LTE: Current Band = B3 Current RSSI >= -51 dBm Current RSRP = -71 dBm (strong) Current RSRQ = -6 dB Current SINR = 6 dB NR: Current Band = N78 Current RSRP = -65 dBm (strong) Current RSRQ = -10 dB Current SINR = 38 dB Bands supported : WCDMA: WCDMA850 WCDMA900 WCDMA2100 FDD LTE: B1 B3 B5 B7 B8 B20 B28 TDD LTE: B34 B38 B39 B40 B41 FDD NR: N1 N3 N28 TDD NR: N41 N77 N78 N79 Modem Security Information. =========================== SIM ID = 1 PIN Verification = Disabled PIN Status = Ready Number of Retries remaining = 3 SIM Status = OK 配置文件AR1配置文件# sysname AR1 # vlan batch 10 # dhcp enable # acl number 3000 rule 5 permit ip # interface Vlanif10 ip address 10.1.1.1 255.255.255.0 dhcp select interface # interface GigabitEthernet0/0/1 port link-type access port default vlan 10 # interface Cellular1/0/0 multi-apn enable modem auto-recovery icmp-unreachable action modem-reboot # interface Cellular1/0/0:1 dialer enable-circular apn-profile 5gnet dialer timer autodial 10 nat outbound 3000 modem auto-recovery dial action modem-reboot fail-times 128 modem auto-recovery services-unavailable action modem-reboot test-times 0 interval 3600 ip address negotiate # interface Cellular1/0/0:2 dialer enable-circular apn-profile voicenet dialer timer autodial 10 nat outbound 3000 modem auto-recovery dial action modem-reboot fail-times 128 modem auto-recovery services-unavailable action modem-reboot test-times 0 interval 3600 ip address negotiate # apn profile 5gnet apn 5gnet apn profile voicenet apn voicenet # ip route-static 0.0.0.0 0.0.0.0 Cellular1/0/0:1 ip route-static 10.2.1.0 255.255.255.0 Cellular1/0/0:2 # return


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有