The text of a manual · part 73 of 76
AP-51xx Access Point Product Reference Guide: Usage Scenarios, pages 693 to 702
Pages 693 to 702 of 724, from AP-51xx Access Point Product Reference Guide
The original document is the PDF (7.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol AP-5131
Page 693
Usage Scenarios This appendix provides practical usage scenarios for many of the access point’s key features. This information should be referenced as a supplement to the information contained within this Product Reference Guide. The following scenarios are described: • •
Configuring Automatic Updates using a DHCP or Linux BootP Server Configuring an IPSEC Tunnel and VPN FAQs
B.1 Configuring Automatic Updates using a DHCP or Linux BootP Server This section provides specific details for configuring either a DHCP or Linux BootP Server to send firmware or configuration file updates to an access point. The AutoUpdate feature updates the access point firmware and/or configuration automatically when the access point is reset or does a DHCP request. The update process is conducted over the LAN or
Page 694
B-2
AP-51xx Access Point Product Reference Guide
WAN port depending on which server responds first to the access point’s request for an automatic update. The firmware is automatically updated each time firmware versions are found to be different between what is running on the access point and the firmware file that resides on the server. The configuration file is automatically applied when the configuration filename is found to be different between what resides on the access point and the filename residing on the server or when the configuration version is found to be different between what resides on the access point and the configuration version residing on the server. The configuration version can be modified in the text file to cause the configuration to be applied when required. The parameter name in the file is "cfg-version-1.1-01". The access point only checks the two characters after the third hyphen (01) when making a comparison. Change the last two characters to update the configuration. The two characters can be alpha-numeric. NOTE A Motorola AP-5181 model access point does not support firmware prior to version 1.1.1.x.
B.1.1 Windows - DHCP Server Configuration See the following sections for information on these DHCP server configurations in the Windows environment: • • •
Embedded Options - Using Option 43 Global Options - Using Extended/Standard Options DHCP Priorities
B.1.1.1 Embedded Options - Using Option 43 This section provides instructions for automatic update of firmware and configuration file via DHCP using extended options or standard options configured globally. The setup example described in this section includes: • • •
1 AP-5131 or AP-5181 model access point 1 Microsoft Windows DHCP Server 1 TFTP Server
Note the following caveats regarding this procedure before beginning: •
Ensure the LAN Interface is configured as a DHCP Client
Page 695
Usage Scenarios
•
If the existing and update firmware files are the same, the firmware will not get updated.
To configure the DHCP Server for automatic updates: 1. Set the Windows DHCP Server and access point on the same Ethernet segment. 2. Configure the Windows based DHCP Server as follows: a. Highlight the Server Domain Name (for example, apfw.motorola.com). From the Action menu, select Define Vendor Classes. b. Create a new vendor class. For example, AP51xx Options. c. Enter the vendor class Identifier MotorolaAP.51xx-V1-1-1. Enter the value in ASCII format, the server converts it to hex automatically. Use the chart below to determine which vendor class ID to use based on the firmware. AP Firmware
Vendor Class ID
1.1 (or older)
SymbolAP.5131-V1-1
1.1.1.x
SymbolAP.51xx-V1-1-1
1.1.2.x
MotorolaAP.51xx-V1-1-2
2.0
MotorolaAP.51xx-V2-0-0 d. From the Action menu, select Set Predefined Options. e. Add the following 3 new options under AP51xx Options class: Code
Data type
Access point TFTP Server IP Address (Note: Use any one option)
181 186
IP address String
Access point Firmware File Name
187
String
Access point Config File Name (Note: Use any one option)
129 188
String String f. Highlight Scope Options from the tree and select Configure Options. g. Go to the Advanced tab. From under the Vendor Class AP51xx Options, check all three options mentioned in the table above and enter a value for each option. 3. Copy the firmware and configuration files to the appropriate directory on the TFTP Server. 4. Restart the access point. 5. While the access point boots, verify the access point:
B-3
Page 696
B-4
AP-51xx Access Point Product Reference Guide
• Obtains and applies the expected IP Address from the DHCP Server • Downloads both the firmware and configuration files from the TFTP Server and updates both as needed. Verify the file versions within the System Settings screen. NOTE If the firmware files are the same, the firmware will not get updated. If the configuration file name matches the last used configuration file on the access point or if the configuration file versions are the same, the access point configuration will not get updated.
B.1.1.2 Global Options - Using Extended/Standard Options The following are instructions for automatic firmware and configuration file updates via DHCP using extended options or standard options configured globally. The setup example described in this section includes: • • •
1 AP-5131 or AP-5181 model access point 1 Microsoft Windows DHCP Server 1 TFTP Server.
To configure Global options using extended/standard options: 1. Set the Windows DHCP Server and access point on the same Ethernet segment. 2. Configure the Windows based DHCP Server as follows: a. Highlight the Server Domain Name (for example, apfw.motorola.com). From the Action menu, select Set Predefined Options. b. Add the following 3 new options under DHCP Standard Options class: Extended Options
Code
Data type
Access point TFTP Server IP Address (Note: Use any one option)
181 186
IP address String
Access point Firmware File Name
187
String
Access point Config File Name (Note: Use any one option)
129 188
String String
Standard Options
Code
Data type
Access point TFTP Server IP Address
66
String
Page 697
Usage Scenarios
Standard Options
Code
Data type
Access point Firmware File Name
67
String
NOTE If using Standard Options and the configuration of the access point needs to be changed, use option 129 or 188 as specified in the Extended Options table. Standard options 66 and 67 are already present in the DHCP Standard Options Class by default. c. Highlight Scope Options and select Configure Options. d. Under the General tab, check all 3 options mentioned within the Extended Options table and enter a value for each option. 3. Copy both the firmware and configuration files to the appropriate directory on the TFTP Server. By default, auto update is enabled on the access point (since the LAN Port is a DHCP Client, out-of-the-box auto update support is on the LAN Port). 4. Restart the access point. 5. While the access point boots up, verify the access point: • Obtains and applies the expected IP Address from the DHCP Server • Downloads the firmware and configuration files from the TFTP Server and updates both as required. Verify the file versions within the System Settings screen. NOTE If the firmware files are the same, the firmware will not get updated. If the configuration file name matches the last used configuration file on the access point or if the configuration file versions are the same, the access point configuration will not get updated. NOTE The update process is conducted over the LAN or WAN port depending on which Server responds first to the access point’s request for an automatic update.
B.1.1.3 DHCP Priorities The following flowchart indicates the priorities used by the access point when the DHCP server is configured for multiple options.
B-5
Page 698
B-6
AP-51xx Access Point Product Reference Guide
--------------------------------------------------------------------------------------------
If the DHCP Server is configured for options 186 and 66 (to assign TFTP Server IP addresses) the access point uses the IP address configured for option 186. Similarly, if the DHCP Server is configured for options 187 and 67 (for the firmware file) the access point uses the file name configured for option 187. If the DHCP Server is configured for embedded and global options, the embedded options take precedence.
B.1.2 Linux - BootP Server Configuration See the following sections for information on these BootP server configurations in the Linux environment: • •
BootP Options BootP Priorities
Page 699
Usage Scenarios
B.1.2.1 BootP Options This section contains instructions for the automatic update of the access point firmware and configuration file using a BootP Server. The setup example described in this section includes: • • •
1 AP-5131 or AP-5181 model access point 1 Linux/Unix BOOTP Server 1 TFTP Server.
To configure BootP options using a Linux/Unix BootP Server: 1. Set the Linux/Unix BootP Server and access point on the same Ethernet segment. 2. Configure the bootptab file (/etc/bootptab) on the Linux/Unix BootP Server in any one of the formats that follows: Using options 186, 187 and 188: A P -5 1 3 1 :h a = 0 0 a 0 f8 8 a a 6 d 8 \ :sm = 2 5 5 .2 5 5 .2 5 5 .0 \ :ip = 1 5 7 .2 3 5 .9 3 .1 2 8 \ :g w = 1 5 7 .2 3 5 .9 3 .2 \ :T 1 8 6 = ”1 5 7 .2 3 5 .9 3 .2 5 0 ”\ :T 1 8 7 = "a p fw .b in "\ :T 1 8 8 = "cfg .txt":
< LA N M A C A d d re ss> < S u b n e t M a sk> < IP A d d re ss> < g a te w a y> < T FT P S e rve r IP > < Firm w a re file > < C o n fig u ra tio n file >
Using options 66, 67 and 129: A P -5 1 3 1 :h a = 0 0 a 0 f8 8 a a 6 d 8 \ < LA N M A C A d d re ss> :sm = 2 5 5 .2 5 5 .2 5 5 .0 \ < S u b n e t M a sk> :ip = 1 5 7 .2 3 5 .9 3 .1 2 8 \ < IP A d d re ss > :g w = 1 5 7 .2 3 5 .9 3 .2 \ < g a te w a y> :T 6 6 = ”1 5 7 .2 3 5 .9 3 .2 5 0 ”\ < T FT P S e rve r IP > :T 6 7 = "a p fw .b in "\ < Firm w a re file > < C o n fig u ra tio n file > :T 1 2 9 = "cfg .txt":
B-7
Page 700
B-8
AP-51xx Access Point Product Reference Guide
Using options sa, bf and 136: AP-5131:ha=00a0f88aa6d8\ :sm =255.255.255.0\ :ip=157.235.93.128\ :gw =157.235.93.2\ :sa=157.235.93.250\ :bf=/tftpboot/cfg.txt\ :T136=”/tftpboot/”:
< LAN M AC Address> <Subnet M ask> <IP A ddress> <gatew ay> <TFTP Server IP> <Configuration file> <TFTP root directory>
NOTE The bf option prefixes a forward slash (/) to the configuration file name. The forward slash may not be supported on Windows based TFTP Servers.
3. Copy the firmware and configuration files to the appropriate directory on the TFTP Server. By default, auto update is enabled on the access point (since the LAN Port is a DHCP Client, out-of-the-box auto update support is on the LAN Port). 4. Restart the access point. 5. While the access point boots, verify the access point: • Sends a true BootP request. • Obtains and applies the expected IP Address from the BootP Server. • Downloads both the firmware and configuration files from the TFTP Server and updates them as required. Verify the file versions within the System Settings screen. Whenever a configuration file is specified, the access point will tftp the config file, parse it and use the firmware file name in the config file. If T136 is provided by the server, the access point strips off the TFTP root directory from the fully qualified configuration file name to obtain a relative file name. For example, if using bf=/opt/tftpdir/ftp/dist/ap.cfg and T136="/opt/tftpdir", the config file name is ftp/dist/ap.cfg. T136 is only used for this purpose. It is NOT used to append to the config file name or the firmware file name. If T136 is not specified, the access point uses the entire bf field as the config file name. NOTE The update process is conducted over the LAN or WAN port depending on which Server responds first to the access point’s request for an automatic update.
Page 701
Usage Scenarios
NOTE If the firmware files are the same, the firmware will not get updated. If the configuration file name matches the last used configuration file on the access point or if the configuration file versions are the same, the access point configuration will not get updated. The LAN Port needs to be configured as a BootP client. There's no BootP support on the WAN Port. The WAN supports only DHCP.
B.1.2.2 BootP Priorities The following flowchart displays the priorities used by the access point when the BootP server is configured for multiple options:
If the BootP Server is configured for options 186 and 66 (to assign TFTP server IP addresses) the access point uses the IP address configured for option 186. Similarly, if the BootP Server is configured for options 188 and 129 (for the configuration file) the AP uses the file name configured for option 188.
B.2 Configuring an IPSEC Tunnel and VPN FAQs The access point has the capability to create a tunnel between an access point and a VPN endpoint. The access point can also create a tunnel from one access point to another access point. The following instruction assumes the reader is familiar with basic IPSEC and VPN terminology and technology. • •
Configuring a VPN Tunnel Between Two Access Points Configuring a Cisco VPN Device
B-9
Page 702
B-10
AP-51xx Access Point Product Reference Guide
•
Frequently Asked VPN Questions
B.2.1 Configuring a VPN Tunnel Between Two Access Points The access point can connect to a non-AP device supporting IPSec, such as a Cisco VPN device labeled as "Device #2". For this usage scenario, the following components are required: • 2 access points (either an AP-5131 or AP-5181 model) • 1 PC on each side of the access point’s LAN. To configure a VPN tunnel between two access points: 1. 2. 3. 4.
Ensure the WAN ports are connected via the internet. On access point #1, select WAN -> VPN from the main menu tree. Click Add to add the tunnel to the list. Enter a tunnel name (tunnel names do not need to match).