Moxa ANT-WSB-ANM-05 Manuel D’Utilisation

Page de 70
www.moxa.com         info@moxa.com
58
2009 Industrial Wireless Guidebook
Cellular Networks
3
 From LAN to WAN
We now switch the role of the Ethernet device from TCP Server to TCP Client: 
Now the OnCell device is a gateway for the TCP Client to route its traffic to the public domain through the 
cellular network. The NAT function built into the OnCell device allows the WAN and LAN interfaces to direct 
traffic to each other. The Ethernet device can now locate the server on the public domain to establish a remote 
connection. For example, multiple Ethernet devices at a remote site can act as TCP clients and all connect to 
the same server in the control center for central management.
When the OnCell is acting as a client, its WAN IP address will not be limited to public WAN IP addresses. The 
WAN IP address of the OnCell IP modem can be public or private, static or dynamic without any extra settings.
 
How to configure the OnCell as a gateway to the public domain
For the OnCell G3100 series, you do not need to perform extra settings to use the OnCell as a gateway for 
connected Ethernet devices to be able to access the public internet. The built-in NAT function is enabled by 
default, so by simply setting the default gateway IP address of the Ethernet device to the OnCell’s LAN IP 
address, the Ethernet device will be able to connect to the Internet and initiate TCP connection requests to the 
TCP server.
Please note that if you are going to be accessing a domain name on the Internet, not only do you need to set 
the OnCell as your default gateway, but a public DNS server is also required for domain name access.
 The OnCell can be both TCP Server and TCP Client
In some applications, Ethernet devices act in both the server and the client role. In these cases, the OnCell 
can play both roles as well. The virtual server settings and gateway settings can be used simultaneously in the 
same way a traditional router can forward traffic in both directions. As shown in the network diagram below, 
you only need two OnCell devices for two Ethernet devices to communicate with each other. The Ethernet 
devices do not need to be located in a hardwire Internet-ready area as long as there is a cellular signal present 
and the TCP Server/Client pair of the OnCell device can bridge a LAN connection.