HP-UX Mobile IPv4 A.03.01 Administrator's Guide

%QPHKIWTKPICPF#FOKPKUVGTKPI*QOGCPF(QTGKIP#IGPVU
%QPHKIWTKPIC(QTGKIP#IGPV
Chapter 6
63
Step 5: (Optional) Configure Router Addresses (configure router)
In most topologies, you do not need to configure any router addresses.
When a Mobile Node attaches to a foreign network, it must determine the IP routers in
the foreign network so that it can route IP packets to addresses outside of the foreign
network. One way to do this is to use any router addresses that the Foreign Agents send
in the Agent Advertisements.
If no router addresses are configured, the Mobile Node may use an advertised Care-of
Address or the Foreign Agent's address from the source address field of the IP packet.
This is usually sufficient in topologies where the interface that the Foreign Agent uses to
send advertisements is also the interface to which the Mobile Nodes should send packets
for routing. All Foreign Agents can forward packets from Mobile Nodes, even if they are
not IP routers.
If you want to configure router addresses, use the mipconfig configure router
command, as shown below. You can configure up to 8 (eight) routers for each interface.
c[onfigure] r[outer] [interface_name] [-r router_addr -p preference -n
netmask] [-r router_addr -p preference -n netmask] ...]]
Where:
interface_name is the name of an interface with Foreign Agent services.
router_addr is the router IP address to include in agent advertisements.
preference is the preference for the router specified by router_addr. A higher value
indicates a higher preference. If multiple router entries have the same preference value,
mipconfig assigns the most recently configured router a higher value.
netmask is the network mask corresponding to router_addr.
You can also omit all options and mipconfig will prompt you for each option value. For
more information on the configure router command, refer to “configure router” on
page 133.