Hello,
I'm trying to test for Mobile IPv6 conformance using the following setup:
Test Node: FreeBSD 5.3
Node Under Test: Linux implementation running flavor of 2.6.10 kernel
Test Tools: v6eval-3.0.2, ct-mipv6-mn (version 3.1.4) Jun. 17, 2005
Network: eth4 on NUT and rl0 on TN are connected to a hub alone.
The mipv6d config file on the NUT looks like this:
=============================================
# cat /etc/mipv6/mip6d.conf
# This is mip6d Mobile Node configuration file
NodeConfig MN;
## If set to > 0, will not detach from tty
DebugLevel 0;
## Support route optimization with other MNs
DoRouteOptimizationCN disabled;
## Use route optimization with CNs
DoRouteOptimizationMN disabled;
UseCnBuAck enabled;
Interface "eth4" {
MnIfPreference 10;
}
MnRouterProbesRA 1;
MnRouterProbesLinkUp 0;
MnHomeLink "eth4" {
# HomeAgentAddress 3ffe:501:ffff:100:200:ff:fe00:a0a0;
# HomeAddress 3ffe:501:ffff:100:203:47ff:fe95:315c/64;
HomeAddress 3ffe:501:ffff:100:20e:cff:fe72:f180/64;
HomeAddress 3ffe:501:ffff:100::/64;
# proto type code route opt.
# MnRoPolicy ICMP 129 0 enabled;
# MnRoPolicy ICMP any any disabled;
# proto dst src route opt.
# MnRoPolicy TCP 80 any enabled;
# MnRoPolicy TCP any any disabled;
}
##
## IPsec configuration
##
UseMnHaIPsec disabled;
## Key Management Mobility Capability
KeyMngMobCapability disabled;
#IPsecPolicySet {
# HomeAgentAddress 3ffe:2620:6:1::1;
# HomeAddress 3ffe:2620:6:1::1234/64;
#
# IPsecPolicy HomeRegBinding UseESP;
# IPsecPolicy MobPfxDisc UseESP;
# IPsecPolicy TunnelMh UseESP;
#}
==========================================
What happens with this setup is this:
reboot>
reboot> Reboot NUT.
reboot> * Wait until NUT boot up completely.
reboot> Ex.) Wait until catch up login prompt.
reboot>
reboot> Press Enter key for continue.
reboot>
Restarting Mobile Node by mip6EnableMN.rmt
mip6EnableMN>
mip6EnableMN> Enable Mobile Node function.
mip6EnableMN> * Home prefix is 3ffe:501:ffff:100::/64.
mip6EnableMN>
mip6EnableMN> Press Enter key for continue.
mip6EnableMN>
Start Capturing Packets (Link0)
Clear Captured Packets (Link0)
NUT starts at Link0.
Send RA: HA0(LLA) -> Multicast sll(ha0) prefix(ha0) hainfo
Receive NS: ANY -> ANY
Receive NS: UNKNOWN(UNSPECIFID) -> unknown()(TARGET=unknown)
DestinationAddress is unknown node.[ff02::1:ff95:315c]
no-reply
Receive NS: ANY -> ANY
Receive NS: UNKNOWN(UNSPECIFID) -> NUT(SOL)(TARGET=NUTH)
NS is DAD
no-reply
Receive NS: ANY -> ANY
Receive NS: UNKNOWN(UNSPECIFID) -> NUT(SOL)(TARGET=NUT)
NS is DAD
no-reply
Receive NA: ANY -> ANY option(free)
Receive NA: unknown() -> UNKNOWN(ALL_NODE_MULTI)(TARGET=unknown)
Send RA: HA0(LLA) -> Multicast sll(ha0) prefix(ha0) hainfo
Send RA: HA0(LLA) -> Multicast sll(ha0) prefix(ha0) hainfo
NUT moves from Link0 to LinkX.
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Receive NS: ANY -> ANY option(free)
Receive NS: NUT(LLA) -> HA0(GA)(TARGET=HA0)
DestinationAddress is unknown
node.[3ffe:501:ffff:100:200:ff:fe00:a0a0]
no-reply
Receive RS: ANY -> ANY
Receive RS: UNKNOWN(UNSPECIFID) -> UNKNOWN(ALL_RT_MULTI)
Send RA: ANY -> ANY sll(any) prefix(any)
Send RA: R1(LLA) -> UNKNOWN(ALL_NODE_MULTI)
Receive NS: ANY -> ANY
Receive NS: UNKNOWN(UNSPECIFID) -> NUT(SOL)(TARGET=NUTX)
NS is DAD
no-reply
Receive NS: ANY -> ANY
Receive NS: UNKNOWN(UNSPECIFID) -> NUT(SOL)(TARGET=NUT)
NS is DAD
no-reply
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Receive NS: ANY -> ANY option(free)
Receive NS: NUT(LLA) -> R1(LLA)(TARGET=R1)
Send NA: ANY -> ANY tll(any)
Send NA: R1(LLA) -> NUT(LLA)(TARGET=R1)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
Send RA: R1(LLA) -> Multicast sll(r1) prefix(linkx)
HA0 does not receive Binding Update. 32 [sec]
Clear Captured Packets ()
Fail exists.
-> FAIL
*_My Questions_*:
1. I have IPSec disabled on both NUT (above) and TN (in config.txt).
Can I test mip6 with IPSec disabled?
2. When I start mip6d, I get an "ip6tnl1" network interface
automatically set up. What is this interface? Should the TN know about
it? Should it be in tn.def?
3. Are my IP addresses correct?
On TN, I have: rl0: inet6 fe80::20d:88ff:fe25:e7c1%rl0
prefixlen 64
On NUT, I have: eth4: inet6 addr: fe80::2a0:a5ff:fe55:9a1/64
ip6tnl1: inet6 addr:
3ffe:501:ffff:100:203:47ff:fe95:315c/128 Scope:Global
inet6 addr: fe80::2a0:a5ff:fe55:9a3/64
Scope:Link
4. Do I need any further configurations?