Local Area Mobility
Problem
You want to set up Local Area Mobility to allow devices to roam throughout your network.
Solution
In this example, the roaming device will have a statically
configured address in the 192.168.10.0/24
range. We have to configure
the home router to use Proxy ARP for mobile nodes, allowing other
locally connected devices in the same range to communicate
transparently with the roaming device:
RouterHome#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterHome(config)#interface
RouterHome(config-if)#
FastEthernet0/0
ip address
RouterHome(config-if)#
192.168.10.1 255.255.255.0
ip proxy-arp
RouterHome(config-if)#ip mobile arp
RouterHome(config-if)#exit
RouterHome(config)#router eigrp
RouterHome(config-router)#
99
network
RouterHome(config-router)#
192.168.10.0
default-metric
RouterHome(config-router)#
10000 10 255 1 1500
redistribute mobile
RouterHome(config-router)#no auto-summary
RouterHome(config-router)#exit
RouterHome(config)#end RouterHome#
Then we have to configure the foreign router, which supports the network segment where our roaming node temporarily finds itself:
RouterForeign#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterForeign(config)#interface
RouterForeign(config-if)#
FastEthernet0/0
ip address
RouterForeign(config-if)#
192.168.110.1 255.255.255.0
ip proxy-arp
RouterForeign(config-if)#ip mobile arp
RouterForeign(config-if)#exit
RouterForeign(config)#router eigrp
RouterForeign(config-router)# ...
99
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.