DHCP/Addressing. Sierra Wireless RV50
Διαφήμιση
Διαφήμιση
ALEOS 4.5.2 Software Configuration User Guide for AirLink RV50
Public Mode
Public Mode is similar to IP pass-through. When Public Mode is enabled, by default the Public Mode host becomes the DMZ host. Public Mode is required when the connected device needs a routable IP address and has no other connection to obtain it.
Tip:
When using Public Mode, Sierra Wireless recommends connecting the AirLink gateway directly to the computer or other end device. Using a hub or switch may prevent the AirLink gateway from updating the IP address of the end device when an IP address is received from the mobile network.
Port Use
Applications running on a LAN client such as a router or laptop must use different ports from those used by ALEOS features on the AirLink gateway. For a list of
inbound ports used by ALEOS, see Inbound Ports Used by ALEOS on page 431.
DHCP/Addressing
This page governs the DHCP and addressing for all interfaces.
The LAN Address Summary is a display of the IP addresses assigned to interfaces on their respective configuration pages. To change the addressing for the Ethernet interface, go to the Ethernet side menu. To change the addressing for the USBnet interface, go to the USB side menu.
Note: If the gateway has not been reset since configuration changes were made, the current configuration in use may be different.
88 4118967
LAN Configuration
Rev 4 Jun.16
Figure 5-2: ACEmanager: LAN > DHCP/Addressing
89
ALEOS 4.5.2 Software Configuration User Guide for AirLink RV50
Field
General
Host Connection
Mode
Description
Sets the Host Interface to use the Public IP address granted by the mobile network or private IP addresses. All host interfaces which are not using the public IP address use private IP addresses. The options are:
•
Ethernet Uses Public IP*
•
All Hosts Use Private IP—(default)
•
USB Uses Public IP*
•
Serial DUN Uses Public IP*
•
First Host gets Public IP*
If you select this option, you do not have to specify the type of connection that uses the Public IP address. The first device to connect uses the Public IP address, regardless of whether it has a USB or Ethernet connection.
* Until the gateway is able to obtain a mobile network connection, it provides private IP addresses in response to DHCP requests.
For more information on Private and Public mode, see
Private and Public Mode on page 87.
Note: If you plan on using
Dynamic Mobile Network Routing (DMNR)
, select Ethernet
Uses Public IP in this field.
Note: The connected computer receives the DHCP address from ALEOS and it also provides a static route (192.168.13.31 by default) that allows you to access ACEmanager from a connected device.
Public Mode Subnet
Mask
This field appears when Ethernet, USB, or Serial (RS232) Uses Public IP is selected in the
Host Connection Mode field. Public Mode subnet mask indicates the range of Public Mode host IP addresses. Options are:
•
255.255.255.0 (24-bit) (default)
•
255.255.255.255 (32-bit)
Choose the option that matches the subnet mask received from the mobile network.
Lease Timer
(seconds)
The amount of time the DHCP client is given for the use of the IP address (in seconds)
Options are:
•
120–4294967295—Number of seconds the IP address is leased for.
If you want to set the value to “infinity”, enter 4294967295 (equivalent to 136 years).
The actual maximum value depends on the maximum supported by your DHCP client.
The default lease time is 3600 seconds (1 hour).
LAN Address Summary
Displays the interfaces which have been enabled. By default, only the Ethernet and USBNET Interfaces are enabled.
This table also includes VLAN if configured.
Interface
Device IP
The physical interface port or VLAN ID
The IP address of the AirLink gateway for the specified interface port. By default, this is set to 192.168.13.31 for Ethernet, and 192.168.14.31 for USB/net.
90 4118967
LAN Configuration
Field
Subnet Mask
Access WAN
Description
Subnet mask indicates the range of device IP addresses that can be reached directly.
Changing this limits or expands the number of clients that can connect to the AirLink gateway. The default of 255.255.255.0 means that 253 clients can connect to the AirLink gateway. Uses 192.168.13. as the first three octets of the IP address if the gateway IP is
192.168.13.31.
Appears if the interface is configured to allow connected device(s) access to the Internet
Note: Internet access cannot be disabled for Ethernet hosts.
DHCP Mode
Indicates whether or not the interface has a DHCP server enabled to provide dynamically allocated IP addresses provided to connected devices
Note: The DHCP server can only be disabled for Ethernet and VLAN.
Starting IP
Ending IP
Ethernet DHCP pool starting IP address (DHCP low address)
The ending IP for the interface (DHCP high address). If the starting and ending IP are the same, there is a single address in the pool and only one connected device receives an IP address from the DHCP server for that interface. Some interfaces, such as USB, can only have a single device connection. For others, statically assigned IP addresses in the same subnet, but outside of the DHCP pool, can still connect and use the gateway in the same way as a DHCP connected device.
Tip:
If you are using Private Mode for all hosts (*HOSTPRIVMODE=1), make sure that device IP, Starting IP, and Ending
IP are on the same subnet defined by the DHCP network mask. If the subnet mask is 255.255.255.0, it is safe to use
192.168.x.y for each as long as the x is the same number (0 in the example screen shot above) and the y is different (1 and 2 in the example) and between 1 and 254.
Rev 4 Jun.16
91
ALEOS 4.5.2 Software Configuration User Guide for AirLink RV50
Field Description
DHCP Reservation List
Reservation List
Use this list to reserve IP addresses for up to 5 connected devices, based on their MAC addresses. This feature is useful if you have multiple connected devices behind the AirLink gateway where you need to use DHCP addressing and also need to assign a specific IP addresses to some devices.
To reserve an IP address:
1.
Click Add More.
2.
Complete the
fields.
The device does not need to be connected when you complete these fields.
3.
Click Apply.
To delete a reserved IP address, click the X beside the reserved IP address.
Note:
•
A reserved IP address must be from a private subnet configured for the applicable interface. For example, 192.168.13.10 for an Ethernet connected device.
•
When Host Connection Mode is set to Public for a particular interface, the DHCP reservations for that interface are overridden. Any device connected to the specified interface (and port for Ethernet) receives the public IP. Any other device connected to the same interface type does not receive any IP from DHCP.
•
The reservation list supports Ethernet hosts.
MAC Address
IP Address
Enter the MAC address of the device you want to reserve an IP address for.
Enter the IP address you want to reserve for the device.
DHCP Options
Enables IT Administrators to configure up to 10 DHCP options, allowing you to push DHCP options to connected devices.
Interface
Select the interface to use:
•
All (default)
•
Ethernet
•
USB
Note: VLAN hosts only receive the DHCP options when the Interface is set to All.
Option Code
Option Value
Choose from the options in the drop-down menu. For a list of supported Option Codes, see
. For additional information on the option codes, refer to the Internet Engineering
Task Force (IETF) memorandum on Internet Protocols and Standards, RFC-2131.
The format for the option value depends on the
Option Code selected, as formats must
conform with RFC 2132. For a list of accepted formats for each of the supported DHCP
Use a comma to separate multiple values.
DHCP Vendor Specific Options
Enables IT Administrators to configure up to 5 vendor-specific options
Vendor Class
Enter the vendor class
92 4118967
LAN Configuration
Field Description
Vendor Option Code
Enter the vendor option code. Possible entries are:
•
0–255
Vendor Option Length
This field allows you to specify the DHCP vendor specific option length in order to ensure that the DHCP datagram is correctly formatted for the DHCP client. Options are:
•
Undefined— Use this setting for IP addresses and strings (default)
•
1 byte—Use for decimal values of 255 or less
•
2 bytes—Use for decimal values between 256 and 65535
•
4 bytes—Use for decimal values greater than 65535
Note: If the size used for the data is not correct, the option is ignored by the client.
Vendor Option Value
Enter the vendor option value in one of the following formats:
•
Dotted-quad IPv4 address
•
Decimal number
•
Colon-separated hex digits
•
Text string
Use a comma to separate multiple values.
Table 5-1: Supported DHCP Options
DHCP Option
002 Time Offset
003 Router
007 Log Server
009 LPR Server
013 Boot File Size
015 Domain Name
016 Swap Server
017 Root Path
018 Extension Path
019 IP Forward Enable/Disable
020 Non-Local Source Routing
021 Policy Filter
022 Max Datagram Reassembly Size
023 IP TTL
Rev 4 Jun.16
Type of entry
32-bit unsigned integer
1 or more IP addresses
1 or more IP addresses
1 or more IP addresses
16-bit unsigned integer
Fully Qualified Domain Name
(FQDN)
1 or more IP addresses
ASCII string
ASCII string
Single octet Boolean
Single octet Boolean
1 or more pairs of IP addresses or
IP address/mask pairs
16-bit unsigned integer
8-bit unsigned integer
Accepted values
(if applicable)
-43200–43200 a
1–65535
0 (Disable) or 1 (Enable)
0 (Disable) or 1 (Enable)
576–65535
1–255
93
ALEOS 4.5.2 Software Configuration User Guide for AirLink RV50
Table 5-1: Supported DHCP Options
DHCP Option Type of entry
026 Interface MTU
16-bit unsigned integer
027 All Subnets Are Local
031 Perform Router Discovery
032 Router Solicitation Address
034 Trailer Encapsulation
035 ARP Timeout
036 Ethernet Encapsulation
037 TCP TTL
038 TCP Keepalive
Single octet Boolean
Single octet Boolean
Single IP address
Single octet Boolean
32-bit unsigned integer
Single octet Boolean
8-bit unsigned integer
32-bit unsigned integer
040 NIS Domain
041 NIS Server
042 NTP Server
044 NetBIOS Name Server
ASCII string
Single IP address
Single IP address
1 or more IP addresses
045 NetBIOS Datagram Distribution Server
1 or more IP addresses
046 NetBIOS Node Type
8-bit unsigned integer
047 NetBIOS Scope
048 X Windows System Font Server
ASCII string
1 or more IP addresses
049 X Windows System Display Manager
064 NIS+ Domain
065 NIS+ Server
066 TFTP Server
1 or more IP addresses
Domain name
Single IP address
ASCII string or IP address
067 Bootfile Name
068 Mobile IP Home
069 SMTP Server
070 POP3 Server
ASCII string
1 or more IP addresses
1 or more IP addresses
1 or more IP addresses
071 NNTP Server
074 IRC Server
1 or more IP addresses
1 or more IP addresses a. The time offset is entered as seconds. See
for a list of hour/second conversions.
Accepted values
(if applicable)
68–65535 (Default is
1500.)
0 (Disable) or 1 (Enable)
0 (Disable) or 1 (Enable)
0 (Disable) or 1 (Enable)
6–65535
0 (Disable) or 1 (Enable)
1–255
0–65535
Domain name
1, 2, 4, or 8
Name, domain name, or
IP address
Name
94 4118967
LAN Configuration
Table 5-2: Time Offset Hour / Second conversions
Hour Seconds Hour
7
8
9
10
11
12
5
6
3
4
0
1
2
25200
28800
32400
36000
39600
43200
0
3600
7200
10800
14400
18000
21600
-5
-6
-7
-8
-1
-2
-3
-4
-9
-10
-11
-12
-3600
-7200
-10800
-14400
-18000
-21600
-25200
-28800
-32400
-36000
-39600
-43200
Seconds
Internal DHCP Server
DHCP (Dynamic Host Configuration Protocol) has become a primary component of today’s network environments. DHCP allows one server to automatically and dynamically allocate network IP addresses and other network related settings
(such as subnet masks, routers, etc.) to each computer or device without the need to set up each specifically or keep track of what addresses have already been used.
In a default configuration, the AirLink gateway acts as a DHCP host to any device connected to its ports. This DHCP host provides that device with an IP address that can be used to communicate on the Internet.
Address Assignment in Public Mode
1.
When the AirLink gateway registers on the mobile network, it is assigned an
IP address from the carrier, e.g., 10.1.2.0.
2.
When using a specific interface, the AirLink gateway acts as a DHCP server unless disabled. When the Host Connection Mode is Ethernet Uses Public IP, and the AirLink gateway receives a DHCP request from an Ethernet device connected to its ports, it hands off the assigned address to the device and sets up the default gateway address as 10.1.2.1. If the fourth octet value is already a 1, it assigns 10.1.2.2 as the router address.
Rev 4 Jun.16
95
Λήψη
Διαφήμιση