Configuring Virtual-LPWA Interface on the IR800 Series
The Cisco LoRaWAN Gateway is connected to IR800 series via an Ethernet cable with PoE+ to work as a LoRaWAN gateway. By creating a VLPWA interface on the IR800 series, you can:
-
Manage hardware and software of the Cisco LoRaWAN Gateway.
-
Send and receive VLPWA protocol modem message to monitor the status of the Cisco LoRaWAN Gateway.
-
Send SNMP traps to the IoT Field Network Director (IoT FND).
Note |
Cisco IOS Release 15.6(3)M or later is required for the IR800 series to manage the Cisco LoRaWAN Gateway. |
Note |
You need to install the Actility Thingpark LRR software as the LoRa forwarder firmware, which is loaded through the Cisco IOS software, for the Cisco LoRaWAN Gateway to work. |
You can find other documentation for the Cisco LoRaWAN Gateway at: http://www.cisco.com/c/en/us/support/routers/interface-module-lorawan/tsd-products-support-series-home.html
This chapter provides information of configuring virtual interface mode (virtual-lpwa) of the LoRaWAN gateway. For detailed information about standalone mode configuration, see Cisco Wireless Gateway for LoRaWAN Software Configuration Guide.
Configuring Ethernet Interface and Creating VLPWA Interface
When you configure IP address for the Ethernet interface or Vlan interface, the IP address allocated must be aligned with the prefix configured for the DHCP pool allocated to the LoRaWAN interface.
The Cisco LoRaWAN Gateway communicates through IOS, therefore a private IPv4 address is assigned with NAT being configured.
Configuring IR809 for One Cisco LoRaWAN Gateway
Beginning in privileged EXEC mode, follow these steps to configure the Ethernet interface on IR809, and create the VLPWA interface for one Cisco LoRaWAN Gateway.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal |
Enters global configuration mode. |
||
Step 2 |
interface gigabitEthernet ID |
Configures the Gigabit Ethernet (GE) port. |
||
Step 3 |
ip address address mask |
Configures the GE interface IP address.
|
||
Step 4 |
ip nat inside |
Identifies the interface as the NAT inside interface. |
||
Step 5 |
ip virtual-reassembly in |
Enables virtual fragment reassembly (VFR) on the interface. |
||
Step 6 |
exit |
Exits to global configuration mode. |
||
Step 7 |
interface Virtual-LPWA vlpwa-id |
Creates VLPWA interface.
|
||
Step 8 |
end |
Exits to privileged EXEC mode. |
||
Step 9 |
write memory |
Saves the configurations. |
Configuring IR809 for Multiple Cisco LoRaWAN Gateways
Beginning in privileged EXEC mode, follow these steps to configure the Ethernet interface on IR809 and create the VLPWA interface for multiple Cisco LoRaWAN Gateways.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal |
Enters global configuration mode. |
||
Step 2 |
interface gigabitEthernet ID |
Configures the Gigabit Ethernet (GE) port. |
||
Step 3 |
no shutdown |
Enables the interface. |
||
Step 4 |
exit |
Exits to privileged EXEC mode. |
||
Step 5 |
interface gigabitEthernet ID.subID |
Configures sub-interface on the GE port. |
||
Step 6 |
encapsulation dot1Q vlan-id native |
Configures IEEE802.1Q encapsulation of traffic on a interface. |
||
Step 7 |
ip address address mask |
Configures the GE interface IP address.
|
||
Step 8 |
ip nat inside |
Identifies the interface as the NAT inside interface. |
||
Step 9 |
ip virtual-reassembly in |
Enables virtual fragment reassembly (VFR) on the interface. |
||
Step 10 |
exit |
Exits to global configuration mode. |
||
Step 11 |
interface Virtual-LPWA vlpwa-id |
Creates VLPWA interface.
|
||
Step 12 |
end |
Exits to privileged EXEC mode. |
||
Step 13 |
write memory |
Saves the configurations. |
Configuring IR829
Each LoRaWAN gateway or virtual-lpwa must be isolated in a dedicated VLAN. If you put it in a VLAN shared with other devices, it may cause the virtual-lpwa interface not being operational.
Beginning in privileged EXEC mode, follow these steps to configure the Ethernet interface on IR829 and create the VLPWA interface.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal |
Enters global configuration mode. |
||
Step 2 |
interface vlan vlan-id |
Configures the vlan interface.
|
||
Step 3 |
ip address address mask |
Configures the vlan interface IP address.
|
||
Step 4 |
exit |
Exits to global configuration mode. |
||
Step 5 |
interface gigabitEthernet ID |
Configures the Gigabit Ethernet port. |
||
Step 6 |
switchport mode access |
Sets trunking mode to ACCESS on the given port. |
||
Step 7 |
switchport access vlan ID |
Sets VLAN when interface is in access mode. |
||
Step 8 |
exit |
Exits to global configuration mode. |
||
Step 9 |
interface Virtual-LPWA vlpwa-id |
Creates VLPWA interface.
|
||
Step 10 |
end |
Exits to privileged EXEC mode. |
||
Step 11 |
write memory |
Saves the configurations. |
Configuring DHCP Pool for the Cisco LoRaWAN Gateway
The Cisco LoRaWAN Gateway connects to the IR800 series through the Ethernet interface. The communication between Cisco LoRaWAN Gateway firmware and IOS is conducted over IP. Therefore, an IP address must be assigned to the Cisco LoRaWAN Gateway through an IOS local DHCP server pool.
If you connect multiple Cisco LoRaWAN Gateways to a single IR800 router, each interface must have its own DHCP pool.
On the IR800 series, beginning in privileged EXEC mode, follow these steps to configure DHCP pool.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal |
Enters global configuration mode. |
||
Step 2 |
ip dhcp pool pool-name |
Creates a DHCP server address pool and enters DHCP pool configuration mode.
|
||
Step 3 |
network network-number mask |
Specifies the subnet network number and mask of the DHCP address pool. Make sure to allow only one dhcp address releasable to modem. |
||
Step 4 |
default-router address |
Specifies the IP address of the default router for a DHCP client. The default router address will be assigned to the associated VLAN interface afterwards. |
||
Step 5 |
option 43 hex client-ID |
Enables vendor specific option 43 and assign the associated Cisco LoRaWAN Gateway client ID number as the hex value. |
||
Step 6 |
dns-server address |
Defines DNS services. |
||
Step 7 |
exit |
Exits to global configuration mode. |
||
Step 8 |
ip dhcp excluded-address address |
Masks all redundant addresses including the default router in DHCP pool. |
||
Step 9 |
end |
Exits to privileged EXEC mode. |
||
Step 10 |
write memory |
Saves the configurations. |
Example
The following is an example of configuring DHCP pool on IR809:
IR809#configure terminal
IR809(config)#ip dhcp pool modempool
IR809(dhcp-config)#network 192.168.1.0 255.255.255.248
IR809(dhcp-config)#default-router 192.168.1.1
IR809(dhcp-config)#option 43 hex 01
IR809(dhcp-config)#dns-server 192.168.1.1
IR809(dhcp-config)#exit
IR809(config)#
IR809(config)#ip dhcp excluded-address 192.168.1.1
IR809(config)#ip dhcp excluded-address 192.168.1.3 192.168.1.6
IR809(config)#exit
IR809#
The following is an example on IR809 using the sub-interface method:
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.3 192.168.1.6
!
ip dhcp pool modempool1
network 192.168.1.0 255.255.255.248
default-router 192.168.1.1
option 43 hex 01
!
interface Virtual-LPWA1
!
interface GigabitEthernet1.101
encapsulation dot1Q 101 native
ip address 192.168.1.1 255.255.255.248
ip nat inside
ip virtual-reassembly in
!
end
The following is an example on IR829 using the VLAN method:
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.3 192.168.1.6
!
ip dhcp pool modempool1
network 192.168.1.0 255.255.255.248
default-router 192.168.1.1
option 43 hex 01
!
interface Virtual-LPWA1
!
interface GigabitEthernet1
switchport access vlan 101
!
interface Vlan101
ip address 192.168.1.1 255.255.255.248
!
end