Hi all,

I'm running MIPL 2.0.2 under Ubuntu Dapper with the 2.6.16 patch. My
testbed setup is almost the same as
http://gnist.org/~lars/doc/Mobile-IPv6-HOWTO/Mobile-IPv6-HOWTO.html. I'm
following the HOWTO and everything works great until the "Movement
detection" part, where I move to the foreign wireless network and  the
MN autoconfigures a new ipv6 address and default route from the AR's
router advertisement. The MN should then send a BU to the HA, but it
just never happens.

The network is correctly configured, the routes are working and every
node can ping every other node. Some info about the network:

- Home network prefix: FEC2::/64 (Radv advertises the FEC2::2/64 prefix
with HA flag on)
- HA Address: FEC2::2
- HoA: FEC2::4
- Foreign network prefix: FEC1::/64 (Radv advertises the FEC1::/64
prefix)

- Mobile IPv6 configuration file for the Mobile Node:
---------------------------------------------------------
NodeConfig MN;
DebugLevel 10;
MnDiscardHaParamProb enabled;
Interface "eth1";
MnHomeLink "eth1" {
    HomeAgentAddress fec2::2;
    HomeAddress fec2::4/64;
}
UseMnHaIPsec disabled;
---------------------------------------------------------

- Mobile IPv6 configuration file for the HA:
---------------------------------------------------------
NodeConfig HA;
DebugLevel 10;
Interface "wlan0";
UseMnHaIPsec disabled;
---------------------------------------------------------

As you can see in the following log, the MN knows it's home, but after I
move the MN to the foreign wireless network there's no BU, even if a new
ipv6 for the foreign network is successfully auto-configured. First,
let's see the mipl HA log:

---------------------------------------------------------
[EMAIL PROTECTED]:~$ sudo mip6d -c /etc/mip6d.conf
mip6d[6042]: MIPL Mobile IPv6 for Linux v2.0.2 started (Home Agent)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching
from terminal
conf_show: config_file = /etc/mip6d.conf
conf_show: vt_hostname = localhost
conf_show: vt_service = 7777
conf_show: mip6_entity = 2
conf_show: debug_level = 10
conf_show: PolicyModulePath = [internal]
conf_show: DefaultBindingAclPolicy = 0
conf_show: NonVolatileBindingCache = disabled
conf_show: KeyMngMobCapability = disabled
conf_show: UseMnHaIPsec = disabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 0
conf_show: MnRouterProbeTimeout = 0.000000
conf_show: InitialBindackTimeoutFirstReg = 1.500000
conf_show: InitialBindackTimeoutReReg = 1.000000
conf_show: UseCnBuAck = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
conf_show: OptimisticHandoff = disabled
conf_show: SendMobPfxAdvs = enabled
conf_show: SendUnsolMobPfxAdvs = enabled
conf_show: MaxMobPfxAdvInterval = 86400
conf_show: MinMobPfxAdvInterval = 600
conf_show: HaMaxBindingLife = 262140
conf_show: DoRouteOptimizationCN = enabled
xfrm_cn_init: Adding policies and states for CN
xfrm_ha_init: Adding policies and states for HA
---------------------------------------------------------

Now let's see the output of "ifconfig eth1" before starting MIPL on the
MN:

---------------------------------------------------------
eth1      Link encap:Ethernet  HWaddr 00:13:02:11:41:4C
          inet6 addr: fec2::213:2ff:fe11:414c/64 Scope:Site
          inet6 addr: fe80::213:2ff:fe11:414c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38099 errors:0 dropped:95149 overruns:0 frame:0
          TX packets:821 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:697912 (681.5 KiB)  TX bytes:842208 (822.4 KiB)
          Interrupt:177 Base address:0x4000 Memory:dcfff000-dcffffff
---------------------------------------------------------


Now we start MIPL on the MN:

---------------------------------------------------------
mip6d[1735]: MIPL Mobile IPv6 for Linux v2.0.2 started (Mobile Node)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching
from terminal
conf_show: config_file = /etc/mip6d.conf
conf_show: vt_hostname = localhost
conf_show: vt_service = 7777
conf_show: mip6_entity = 1
conf_show: debug_level = 4000
conf_show: PolicyModulePath = [internal]
conf_show: DefaultBindingAclPolicy = 0
conf_show: NonVolatileBindingCache = disabled
conf_show: KeyMngMobCapability = disabled
conf_show: UseMnHaIPsec = disabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 0
conf_show: MnRouterProbeTimeout = 0.000000
conf_show: InitialBindackTimeoutFirstReg = 1.500000
conf_show: InitialBindackTimeoutReReg = 1.000000
conf_show: UseCnBuAck = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = enabled
conf_show: SendMobPfxSols = enabled
conf_show: OptimisticHandoff = disabled
conf_show: SendMobPfxAdvs = enabled
conf_show: SendUnsolMobPfxAdvs = enabled
conf_show: MaxMobPfxAdvInterval = 86400
conf_show: MinMobPfxAdvInterval = 600
conf_show: HaMaxBindingLife = 262140
conf_show: DoRouteOptimizationCN = enabled
xfrm_cn_init: Adding policies and states for CN
xfrm_mn_init: Adding policies and states for MN
conf_home_addr_info: HoA address fec2:0:0:0:0:0:0:4
conf_home_addr_info: HA address fec2:0:0:0:0:0:0:2
__tunnel_add: created tunnel ip6tnl1 (33) from fec2:0:0:0:0:0:0:4 to
fec2:0:0:0:0:0:0:2 user count 1
conf_home_addr_info: Home address fec2:0:0:0:0:0:0:4
flag_hoa: set HoA fec2:0:0:0:0:0:0:4/128 iif 33 flags 10 preferred_time
4294967295 valid_time 4294967295
conf_home_addr_info: Added new home_addr_info successfully
__md_discover_router: discover link on iface eth1 (5)
md_change_default_router: add new router fe80:0:0:0:213:f7ff:fe2a:339 on
interface eth1 (5)
mn_addr_do_dad: DAD succeeded!
mn_move: 1535
mn_move: in home net
mv_hoa: move HoA fec2:0:0:0:0:0:0:4/64 from iface 33 to 5
---------------------------------------------------------

Let's see ifconfig right after this point in the MIPL MN log. The HoA
(fec2::4 has been assigned to the wireless eth1 interface):

----------------------------------------------------------
eth1      Link encap:Ethernet  HWaddr 00:13:02:11:41:4C
          inet6 addr: fec2::4/64 Scope:Site
          inet6 addr: fe80::213:2ff:fe11:414c/64 Scope:Link
          inet6 addr: fec2::213:2ff:fe11:414c/64 Scope:Site
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1965 errors:0 dropped:95384 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:703176 (686.6 KiB)  TX bytes:847620 (827.7 KiB)
          Interrupt:177 Base address:0x4000 Memory:dcfff000-dcffffff

ip6tnl1   Link encap:UNSPEC  HWaddr
FE-C2-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::213:2ff:fe11:414c/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1460  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
----------------------------------------------------------

Now I move to the foreign network:

sudo iwconfig eth1 essid mipl-foreign mode ad-hoc enc off

And the MN mipl log shows this:

---------------------------------------------------------
md_expire_router: expiring router fe80:0:0:0:213:f7ff:fe2a:339 on iface
eth1 (5)
__md_discover_router: discover link on iface eth1 (5)
md_change_default_router: add new router fe80:0:0:0:213:f7ff:fe23:fbe3
on interface eth1 (5)
---------------------------------------------------------

ifconfig now shows:

---------------------------------------------------------
eth1      Link encap:Ethernet  HWaddr 00:13:02:11:41:4C
          inet6 addr: fec2::4/64 Scope:Site
          inet6 addr: fec1::213:2ff:fe11:414c/64 Scope:Site
          inet6 addr: fe80::213:2ff:fe11:414c/64 Scope:Link
          inet6 addr: fec2::213:2ff:fe11:414c/64 Scope:Site
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2164 errors:0 dropped:95722 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:708888 (692.2 KiB)  TX bytes:849496 (829.5 KiB)
          Interrupt:177 Base address:0x4000 Memory:dcfff000-dcffffff

ip6tnl1   Link encap:UNSPEC  HWaddr
FE-C2-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::213:2ff:fe11:414c/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1460  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

------------------------------------------------------------

So a new IPv6 (fec1::213:2ff:fe11:414c) for the foreign network was
successfully configured, but no BU update was sent, and ifconfig shows
that MIPL didn't add the HoA to the tunnel. Now, if I try to ping the HA
or any other node I get:

[EMAIL PROTECTED]:~$ ping6 fec2::2
connect: Invalid argument

Pinging the HA only works if I force ping to use the newly assigned CoA
as source:

[EMAIL PROTECTED]:~$ ping6 -I fec1::213:2ff:fe11:414c fec2::2
PING fec2::2(fec2::2) from fec1::213:2ff:fe11:414c : 56 data bytes
64 bytes from fec2::2: icmp_seq=1 ttl=62 time=1009 ms

What's wrong here??? 

Thanks a lot for your help!

Regards,
Pedro


_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to