Mobile IP

From: Huy Luu (hluu@xxxxxxxxxxxx)
Date: Thu Mar 21 2002 - 20:49:51 GMT-3


   
Friens,

I'm can't configure ip mobile. Here is my topology and config:

                                       OSPF OSPF EIGRP
137.20.40.1 e0/1 R4-------R3 ------- R5 ----------- R6 e 0/1
192.168.100.1

I have a host on R6 configured for IP mobile with ip address
192.168.100.10. When I move that host to R4 ethernet 0/1, it works. I can
ping 192.168.100.10 from any where on the network.

When I move the host back to R6, R6 still has an EIGRP route
192.168.100.10/32 learned from R4. Ping from the host to 192.168.100.1
time out. I had to go to R4, remove the arp entry, then this route is
removed from the routing table and now the host can ping the default
gateway on R6

Can this process be avoided so that I can plug in this host anywhere on the
network and I can reach it from anywhere else? Can someone please verify
my config. Thankyou.

R6>ena
Password:
R6#sho run
Building configuration...

Current configuration : 2011 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
enable password cisco
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ipx routing 0005.3276.b5c0
!
!
!
!
!
!
!
interface Loopback0
 ip address 10.1.1.1 255.255.255.0
 ipx network 730
!
interface Loopback1
 ip address 10.1.2.1 255.255.255.0
 ipx network 740
!
interface Loopback2
 ip address 160.10.10.1 255.255.255.0
!
interface Loopback3
 ip address 161.10.10.1 255.255.255.0
!
interface Loopback4
 ip address 170.10.10.1 255.255.255.0
!
interface Ethernet0/0
 bandwidth 100000
 ip address 137.20.50.7 255.255.255.0
 ipx network 510
!
interface BRI0/0
 no ip address
 shutdown
!
interface Ethernet0/1
 ip address 192.168.100.1 255.255.255.0
 ip mobile arp
 no keepalive
 ipx network 710
!
router mobile
!
router eigrp 100
 redistribute connected
 redistribute static
 redistribute rip metric 2000 120 255 255 1500
 redistribute mobile metric 2000 15 255 255 1500
 network 137.20.50.0 0.0.0.255
 no auto-summary
 no eigrp log-neighbor-changes
!
router rip
 network 192.168.100.0
!
router bgp 3
 no synchronization
 bgp log-neighbor-changes
 network 10.1.0.0
 network 160.10.0.0
 network 161.10.0.0
 network 170.10.0.0
 network 210.10.0.0
 network 210.0.0.0 mask 255.0.0.0
 neighbor 137.20.50.1 remote-as 2
 neighbor 137.20.50.1 soft-reconfiguration inbound
!
ip classless
ip route 192.168.1.0 255.255.255.0 Null0
ip route 192.168.2.0 255.255.255.0 Null0
ip route 192.168.3.0 255.255.255.0 Null0
ip route 192.168.4.0 255.255.255.0 Null0
ip route 192.168.5.0 255.255.255.0 Null0
ip route 192.168.6.0 255.255.255.0 Null0
no ip http server
ip mobile home-agent
ip mobile host 192.168.100.2 192.168.100.10 interface Ethernet0/1
!
access-list 1 permit any
route-map local300 permit 10
 match ip address 1
 set local-preference 300
!
!
!
!
!
!
alias exec si sho ip int brief
alias exec rt sho ip route
!
line con 0
line aux 0
line vty 0 3
 password cisco
 no login
line vty 4
 no login
!
end

R6#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     170.10.0.0/24 is subnetted, 1 subnets
C 170.10.10.0 is directly connected, Loopback4
     137.20.0.0/16 is variably subnetted, 6 subnets, 2 masks
D EX 137.20.30.0/24 [170/1336320] via 137.20.50.1, 05:16:14, Ethernet0/0
D EX 137.20.3.0/24 [170/1336320] via 137.20.50.1, 05:16:14, Ethernet0/0
C 137.20.50.0/24 is directly connected, Ethernet0/0
D EX 137.20.101.0/24 [170/1336320] via 137.20.50.1, 05:16:14,
Ethernet0/0
D EX 137.20.103.0/24 [170/1336320] via 137.20.50.1, 05:16:14,
Ethernet0/0
D EX 137.20.101.3/32 [170/1336320] via 137.20.50.1, 05:16:15,
Ethernet0/0
S 192.168.4.0/24 is directly connected, Null0
S 192.168.5.0/24 is directly connected, Null0
     160.10.0.0/24 is subnetted, 1 subnets
C 160.10.10.0 is directly connected, Loopback2
     10.0.0.0/24 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, Loopback1
C 10.1.1.0 is directly connected, Loopback0
S 192.168.6.0/24 is directly connected, Null0
     161.10.0.0/24 is subnetted, 1 subnets
C 161.10.10.0 is directly connected, Loopback3
S 192.168.1.0/24 is directly connected, Null0
S 192.168.2.0/24 is directly connected, Null0
     192.168.100.0/24 is subnetted, 1 subnets
C 192.168.100.0 is directly connected, Ethernet0/1
S 192.168.3.0/24 is directly connected, Null0

R4#sho run
Building configuration...

Current configuration : 2864 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
boot system flash c2600-d-mz.120-8.bin
enable password cisco
!
!
!
!
!
ip subnet-zero
no ip domain-lookup

!appletalk routing
appletalk route-redistribution
ipx routing 0004.9aee.6900
ipx type-20-helpered
!
!
!
!
!
!
!
interface Tunnel0
 no ip address
 appletalk cable-range 5000-5000 5000.162
 appletalk zone GRE
 tunnel source 137.20.103.2
 tunnel destination 137.20.101.1
!
interface Ethernet0/0
 ip address 137.20.103.2 255.255.255.0
 appletalk cable-range 200-200 200.233
 appletalk zone R4E00
 ipx network 320
 ipx output-rip-delay 120000
 ipx type-20-propagation
!
interface BRI0/0
 no ip address
 shutdown
 isdn x25 static-tei 0
!
interface Serial0/0
 bandwidth 56
 no ip address
 encapsulation frame-relay IETF
 keepalive 3
 no fair-queue
 frame-relay interface-dlci 414
 frame-relay lmi-type ansi
!
interface Ethernet0/1
 ip address 137.20.40.1 255.255.255.0
 no ip redirects
 ip mobile arp
 ip mobile foreign-service
 no keepalive
 appletalk cable-range 100-100 100.196
 appletalk zone R4E01
!
router mobile
!
router ospf 100
 log-adjacency-changes
 area 1 virtual-link 137.20.30.1
 redistribute mobile subnets
 network 137.20.40.0 0.0.0.255 area 40
 network 137.20.103.0 0.0.0.255 area 1
!
router rip
 network 200.200.200.0
!
router bgp 1
 no synchronization
 bgp log-neighbor-changes
 redistribute static
 neighbor 10.33.1.33 remote-as 2
 neighbor 10.33.1.33 ebgp-multihop 2
 no auto-summary
!
ip classless
ip route 10.33.1.33 255.255.255.255 10.34.1.1
ip route 50.50.50.0 255.255.255.0 Null0
no ip http server
!
!
ip prefix-list CONFLICT_ROUTES seq 5 permit 190.10.10.0/24 le 32
!
ip prefix-list SAC_IBT seq 5 permit 192.168.10.0/24 le 32
ip prefix-list SAC_IBT seq 10 deny 0.0.0.0/0 le 32
!
ip prefix-list include_network seq 5 permit 2.2.2.0/24 le 32
access-list 1 permit 10.90.10.5 log
access-list 10 permit any
access-list 12 deny any
access-list 20 deny 60.60.60.0 0.0.0.255
access-list 20 permit any
route-map EIGRP_OSPF deny 10
 match tag 200
!
route-map EIGRP_OSPF permit 20
 match ip address prefix-list SAC_IBT
 set tag 100
!
route-map EIGRP_OSPF deny 30
!
route-map OSPF_EIGRP deny 10
 match ip address prefix-list CONFLICT_ROUTES
!
route-map OSPF_EIGRP deny 20
 match tag 100
!
route-map OSPF_EIGRP permit 30
 set tag 200
!
route-map eigrp_ospf permit 10
 match ip address prefix-list include_network
!
route-map eigrp_ospf deny 20
!
route-map ospfeigrp permit 10
 set tag 100
!
route-map block60 deny 5
 match ip address 20
!
route-map block60 permit 10
 match ip address 10
!
route-map bgp permit 10
!
!
!
!
!
!
alias exec si sho ip int brief
alias exec rt sho ip route
!
line con 0
line aux 0
line vty 0 4
 password cisco
 no login
!
no scheduler allocate
end

R4#rt
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     170.10.0.0/24 is subnetted, 1 subnets
O E1 170.10.10.0 [110/174] via 137.20.103.1, 05:49:21, Ethernet0/0
     50.0.0.0/24 is subnetted, 1 subnets
S 50.50.50.0 is directly connected, Null0
     137.20.0.0/16 is variably subnetted, 7 subnets, 2 masks
O IA 137.20.30.0/24 [110/11] via 137.20.103.1, 05:49:21, Ethernet0/0
O IA 137.20.3.0/24 [110/11] via 137.20.103.1, 05:49:21, Ethernet0/0
O E1 137.20.50.0/24 [110/174] via 137.20.103.1, 05:49:21, Ethernet0/0
C 137.20.40.0/24 is directly connected, Ethernet0/1
C 137.20.103.0/24 is directly connected, Ethernet0/0
O IA 137.20.101.3/32 [110/10] via 137.20.103.1, 05:49:21, Ethernet0/0
O IA 137.20.101.5/32 [110/74] via 137.20.103.1, 05:49:21, Ethernet0/0
O E1 192.168.4.0/24 [110/174] via 137.20.103.1, 05:49:21, Ethernet0/0
     160.10.0.0/24 is subnetted, 1 subnets
O E1 160.10.10.0 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
     10.0.0.0/24 is subnetted, 2 subnets
O E1 10.1.2.0 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
O E1 10.1.1.0 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
O E1 192.168.6.0/24 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
     161.10.0.0/24 is subnetted, 1 subnets
O E1 161.10.10.0 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
O E1 192.168.2.0/24 [110/174] via 137.20.103.1, 05:49:23, Ethernet0/0
O E1 192.168.100.0/24 [110/174] via 137.20.103.1, 05:37:14, Ethernet0/0



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:17 GMT-3