Making a Router a Mobile Node


You want to configure a router to act as a Mobile Node.


The configuration required to make a router act as a Mobile Node must specify the Home Agent and match its authentication parameters:

RouterMobile#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
RouterMobile(config)#router mobile
RouterMobile(config)#ip mobile secure home-agent spi 100 key ascii cookbook
RouterMobile(config)#ip mobile router
RouterMobile(config)#interface FastEthernet0/0
RouterMobile(config-if)#ip address
RouterMobile(config-if)#ip irdp
RouterMobile(config-if)#ip mobile router-service roam
RouterMobile(config-if)#ip mobile router-service solicit


Starting in IOS Version 12.2(4)T, Cisco introduced the ability for a router to act as a Mobile Node. This may sound somewhat strange because routers don’t generally get up and roam around the network. But, in fact, it makes a great deal of sense to have this capability. For example, in the Introduction to this chapter we mentioned the idea of putting a mobile network on a train. In this example, users on the train can connect to a local network segment and let the router handle the task of roaming ...

Get Cisco IOS Cookbook, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.