RE: mobile IP/ARP

From: Simon Baxter (Simon.Baxter@xxxxxxxxxxxxxx)
Date: Mon Sep 18 2000 - 03:05:34 GMT-3


   
Here's how...
PC(150.3.99.33) - RR ethernet0 - RR-R1(via aux ports) - R1 attached to
150.3.0.0/16 network
!
version 11.2
!
hostname R1
!
!
interface Ethernet0
 ip address 150.3.99.200 255.255.0.0
 ip mobile arp timers 2 5
 no logging event subif-link-status
 ntp broadcast
!
interface Async1
 ip address 4.4.4.2 255.255.255.0
 encapsulation ppp
 no logging event subif-link-status
 async default routing
 async dynamic routing
 async mode dedicated
!
router ospf 10
 redistribute mobile
 network 0.0.0.0 255.255.255.255 area 0
!
line aux 0
 modem InOut
 rotary 1
 transport input all
 stopbits 1
 speed 38400
 flowcontrol hardware

version 11.2
!
hostname RR
!
interface Ethernet0
 ip address 132.16.1.2 255.255.255.0
 ip mobile arp timers 2 5
!
interface Async1
 ip address 4.4.4.3 255.255.0.0
 encapsulation ppp
 async default routing
 async dynamic routing
 async mode dedicated
!
router ospf 10
 redistribute mobile metric 222 subnets
 network 0.0.0.0 255.255.255.255 area 0
!
ip classless
ip route 0.0.0.0 0.0.0.0 150.3.9.220
alias exec c conf t
!
line aux 0
 modem InOut
 stopbits 1
 rxspeed 38400
 txspeed 38400
 flowcontrol hardware

RR#sh ip ro
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, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is 150.3.9.220 to network 0.0.0.0

     4.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C 4.4.0.0/16 is directly connected, Async1

O 4.4.4.0/24 [110/5262] via 4.4.4.2, 00:19:29, Async1
C 4.4.4.2/32 is directly connected, Async1
     132.16.0.0/24 is subnetted, 1 subnets
C 132.16.1.0 is directly connected, Ethernet0
     150.3.0.0/16 is variably subnetted, 2 subnets, 2 masks
O 150.3.0.0/16 [110/2641] via 4.4.4.2, 00:19:29, Async1
M 150.3.99.33/32 [180/1] via 150.3.99.33, 00:00:04, Ethernet0
S* 0.0.0.0/0 [1/0] via 150.3.9.220
RR#sh ip os da ex

       OSPF Router with ID (132.16.1.2) (Process ID 10)

                Type-5 AS External Link States

  LS age: 11
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 150.3.99.33 (External Network Number )
  Advertising Router: 132.16.1.2
  LS Seq Number: 80000001
  Checksum: 0x3DE2
  Length: 36
  Network Mask: /32
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 222
        Forward Address: 0.0.0.0
        External Route Tag: 0

RR#
[Resuming connection 1 to 4.4.4.2 ... ]

R1#sh ip ro
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, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is not set

     4.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
O 4.4.0.0/16 [110/5262] via 4.4.4.3, 00:19:49, Async1
C 4.4.4.0/24 is directly connected, Async1
C 4.4.4.3/32 is directly connected, Async1
     132.16.0.0/24 is subnetted, 1 subnets
O 132.16.1.0 [110/2641] via 4.4.4.3, 00:19:49, Async1
     150.3.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 150.3.0.0/16 is directly connected, Ethernet0
O E2 150.3.99.33/32 [110/222] via 4.4.4.3, 00:00:19, Async1
R1#

stupidly easy huh??



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