BelAir20E User Guide
Using Layer 2 Tunnels
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Configuring Tunnels for
PMIP Implementations
/protocol/te-<eng>/set tunnel-pmip <index (1-5)> ha-ip <ip_addr>
secret <string>
spi <number>
[lease-time <seconds> ]
/protocol/te-<eng>/set tunnel-pmip <index (1-5)>
advanced dns1 <ip_addr> [dns2 <ip_addr>]
These commands are used to create a Proxy Mobile IPv4 (PMIP) tunnel. A PMIP
tunnel allows a mobile client to change its point-of-attachment to the Internet
without changing its IP address. In this implementation, the network tracks the
movements of the mobile client and initiates the required mobility signalling on
its behalf. In PMIP mode, the BelAir AP acts as MIP Foreign Agent.
Use the
set tunnel-pmip ha-ip
command to create a tunnel to a PMIP home
agent. PMIP tunnels may co-exist with regular L2TP tunnels and L2VPN tunnels
on the same BelAir unit.
The
ha-ip
parameter specifies the IP address of PMIP Home Agent (HA).
The
secret
parameter specifies the authentication password for access to the
PMIP HA.
The
spi
parameter specifies the index identifying a security context between
the AP and home agent. It is an integer value that should be greater than 255.
The
spi
parameter and the
secret
parameter are used together to authenticate
the AP with the HA.
The optional
lease-time
parameter specifies the maximum lease-time in
seconds for the client session. If the client does not send packets for more than
the specified lease-time, its session is dropped. The default value is
300 seconds.
When client traffic is forwarded through the PMIP tunnel, the AP acts as a
DHCP server and provides all corresponding parameters (such as client's IP
address, subnet mask, gateway, and DNS addresses). The AP proxies all these
parameters from the HA. If the HA is unable to provide some of these
parameters (it must provide at least the client's IP address), the following logic
is used by the AP:
• The subnet mask is determined as corresponding to the IP class by IP
address. For example, for IP address 67.100.125.10 subnet mask is 255.0.0.0.
• The gateway is taken as first address within a specified subnet. For the
previous example, the gateway address is 67.0.0.1. This gateway address is
provided by the AP itself and may not correspond to any real IP address in
the network.