The text of a manual · part 12 of 25
Using the Cisco Aironet 340 Series Wireless Bridges: Configuring Mobile IP
Pages 93 to 98 of 218, from Using the Cisco Aironet 340 Series Wireless Bridges
The original document is the PDF (1.8 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 Cisco 340 Bridge
Page 93
Chapter 7 - Configuring Mobile IP
7 CHAPTER 7
Configuring Mobile IP This chapter describes how to set up the bridge to serve as a mobile IP home or foreign agent. It assumes you understand the concepts and configuration necessary to use Mobile IP. Mobile IP is a protocol that allows roaming across different IP subnets while maintaining their original IP address. It requires a Mobile IP stack to be set up on the client device as well. This IP stack is available from FTP corporation and other IP stack vendors. Each client is assigned an IP address and a home agent IP address by the network administrator. The Home agent resides on the subnet for which the client’s IP address is local. When the client roams to a foreign subnet, it contacts a foreign agent on that subnet, supplying its home agent address. The foreign agent contacts the home agent with the client’s information. The home agent begins relaying any packet found on its local LAN destined to the client’s IP address first back to the foreign agent and from there back to the client.
Page 94
7-2
Aironet 340 Series Bridge
Using the Configuration Mobile IP Menu Configuration Mobile-IP Menu Option
Value
1 - AgentType
[ off
Description ]
- Home / Foreign Agent
2 - Mobile
- Home Agent Active Mobile Nodes
3 - Visitors
- Foreign Agent Visitor List
4 - Add
- Add Mobile Nodes
5 - Remove
- Remove Mobile Nodes
6 - Display
- Display Home Agent Authorized Addresses
7 - Setup
[ menu ]
- Agent Configuration
8 - Advert
[ menu ]
- Advertisement Setup
Enter an option number or name, "=" main menu, <ESC> previous menu >
Setting the Agent Type (AgentType) Determine the type of agent the unit is configured for, Home or Foreign. Setting this to OFF disables the Mobile IP processing.
Displaying the Active Clients (Mobile, Visitors) On a home agent the Mobile option displays information about mobile nodes that are currently away from their home network. Mobile Node
Care of Addr
Flags
Lifetime
---------------
---------------
------
--------
149.23.165.1
149.23.130.20
SBDMGV
120/200
The first column displays the node’s IP address; the next shows the foreign agent it is connected with. The lifetime column displays the count in seconds since this entry was refreshed and the count at which it will be removed. To understand the meaning of the flags, you should read the internet RFCs for Mobile IP. The flags have the following meanings:
n
S - allow simultaneous care of addresses n
B - forward broadcasts to the node n
D - send directly to the mobile node n
M - use minimum encapsulation method n
G - use GRE encapsulation method n
V - use Van Jacobsen compression
Page 95
Configuring Mobile IP 7 - 3
On a foreign agent the Visitors option display information about the mobile nodes currently visiting this agent. Mobile Node
Mac Address
Home Agent
State
Lifetime
---------------
------------
---------------
-----
--------
149.023.165.001
004096123456
149.023.165.050
Est
180/200
The first column is the node’s IP address followed by its MAC address and then its home agent IP address. The state is either established or waiting for home agent confirmation. The lifetime column displays the count in seconds since this entry was refreshed and the count at which it will be removed.
Authorizing Mobile Nodes to Roam (Add/Remove/Display) Before a node is allowed to roam, the home agent must be told information about the node to validate its identity. The Add option allows you to validate a range of IP addresses. You are prompted for the low and high IP addresses in the range. They can be the same address to validate a single user. You may require that the setup packets sent between the home agent, foreign agent, and the node itself must be encrypted. You can either enter noauthentication or a security parameter index and an MD5 key. The Remove option removes entries from the table. You may either specify a single low IP address or all. The Display option displays the currently authorized nodes. Low Address
High Address
SPI
---------------
---------------
----------
149.023.165.001
149.023.165.002
149.023.165.010
149.023.165.011
Md5 Key ----------------------------
1 900000000000000000000000
Page 96
7-4
Aironet 340 Series Bridge
Set up the Agent Parameters (Setup) This menu lets you configure the parameters that control the operation of the agents. Configuration Mobile-IP Setup Menu Option
Value 600
Description
1 - Lifetime
[
]
- Max Registration Lifetime
2 - ReplayProt
[ timestamps ]
- Replay Protection Method
3 - Broadcasts
[ off
]
- Broadcast Forwarding
4 - RegRequired
[ on
]
- Registration Required
5 - HostRedirects
[ off
]
- Enable ICMP Host Redirects to MN
Enter an option number or name, "=" main menu, <ESC> previous menu >
The Lifetime parameter has two functions. It is the maximum amount of time the Home Agent will grant a mobile node to be registered on a foreign network before renewing its registration. Note that the lifetime a mobile node asks for during the registration process may be more or less than this value. However, the Home Agent will only grant a lifetime up to this value. The lifetime value is also placed in the agent advertisement packets. mobile odes typically use this field from the advertisements to generate the Lifetime value for the Registration Request. The ReplayProt option determines the scheme used to prevent attacks based on capturing packets and playing them back at a later time. Two replay protection methods are allowed in Mobile IP: timestamps (mandatory) and nonces (optional). Due to a patent that may apply to noncebased replay protection, we do not support nonces at this time. This value must be set to timestamps. The Broadcasts option determines whether mobile nodes are allowed to request that broadcasts from their home network are forwarded via tunneling to the mobile node. Some protocols require broadcast packets from the home network to maintain proper operation (i.e., NetBIOS). Unless needed, this option should be left at the default value of off to avoid unnecessary traffic. If the RegRequired is off, mobile nodes are allowed the option of registering to a Home Agent without the use of a Foreign Agent via a colocated care-of-address dynamically acquired while on the foreign net-
Page 97
Configuring Mobile IP 7 - 5 work. This is useful in cases where Foreign Agents have not yet been deployed on the foreign network; however, this scheme consumes IP addresses on that network. Setting this value to on will force mobile nodes on this network to always register using a Foreign Agent. The HostRedirects option indicates whether or not the Foreign Agent will send an ICMP message to mobile nodes registered through it specifying the Address of an IP Router for the mobile node to use. If set to “off” (default), the mobile node will always use the Foreign Agent as its default gateway (router). Setting this value to “on” may improve performance while visiting a foreign network; however, there may be connectivity problems which result due to ARP broadcasts from the mobile node.
Control Agent Advertisements (Advert) Agents advertise themselves on the LAN so that the mobile nodes can find them and determine whether they are home or away. Configuration Mobile-IP Setup Menu Option
Value
1 - AdvertType
[ multicast ]
- Advertisement type
Description
2 - AdvertInterval
[
5
]
- Advertisement interval
3 - PrefixLen
[ off
]
- Advertise prefix length extension
4 - AdvertRtrs
[ on
]
- Advertise routers
Enter an option number or name, "=" main menu, <ESC> previous menu >
The AdvertType value specifies the type of datagram the Mobile Agent will use when sending out ICMP Agent Advertisements. The RFC 1256 recommendation and the default for the Access Point is to use the All Hosts Multicast address (224.0.0.1). In testing, it was discovered that some mobile nodes were not automatically joining this multicast group and thus were ignoring the agent advertisements. For these mobile nodes this value should be changed to ‘broadcast,’ which will use the limited broadcast address (255.255.255.255) for all unsolicited agent advertisements. The AdvertInterval value specifies how frequently (in seconds) the Mobile Agent will send out an ICMP Router Advertisement multicast. These advertisements are used by the mobile nodes to locate the Mobile
Page 98
7-6
Aironet 340 Series Bridge
Agents and to determine to which network they are currently attached. The more frequent the advertisement, the sooner the mobile node will be aware that it has attached to a new network and start the registration/deregistration process (if necessary). Since these are either multicast or broadcast datagrams (see below), the Access Point must be configured to forward these types of frames onto the RF network. We are currently working on a scheme to allow link layer notification of re-attachment resulting in a Router Solicitation from the mobile node. This will prompt a unicasted Router Advertisement from the Mobile Agent to the mobile node and allow multicast/broadcast forwarding on the Access Point to be turned off. The PrefixLen option allows the Prefix Length extension to the Mobility Agent (router) advertisement to be enabled or disabled. This extension is used to indicate the number of bits in the subnet mask for the Mobility Agent generating the advertisement. The presence of the Prefix Length extension may be helpful to some mobile nodes in determining if they have attached to a foreign network. The default value is off. (Note: This option should be “on” for FTP TSR stacks and “off” for VxD stacks.) RFC 2002 (Mobile IP) states that IP Routers MAY be included in the Router Advertisement (RFC 1256) portion of the Agent Advertisement. However, since the IP Address of the Agent itself is included in the router list, doing so may cause some hosts to select the Mobility Agent as its default router. In an attempt to minimize this situation, the Mobile Agent also includes the IP Address of its default router in the list of advertised routers with a higher “preference” value. If a host continues to select a Mobility Agent as its default router, the Agent can be configured to advertise zero routes by setting AdvertRtrs to “off”. The default value is “on”.