Discussion:
[support] mip6d stuck at ha_if_addr_setup message
sana qadir
2013-08-23 12:00:45 UTC
Permalink
Hello,

I am trying to setup a MIPv6 router (2001:db8:ffff::1000) as a Home Agent (on wlan0) but I get stuck with the following output when I start mip6d:
user at home_agent:~$ sudo mip6d -c
/usr/local/etc/mip6d.conf
mip6d[5827]: UMIP Mobile IPv6 for Linux
v1.0 started (Home Agent)
Fri Aug 23 19:38:44 main: UMIP Mobile
IPv6 for Linux started in debug mode, not detaching from terminal
Fri Aug 23 19:38:44 conf_show:
Configuration file = /usr/local/etc/mip6d.conf
Fri Aug 23 19:38:44 conf_show: VT
hostname = localhost
Fri Aug 23 19:38:44 conf_show: VT
service = 7777
Fri Aug 23 19:38:44 conf_show:
NodeConfig = 2
Fri Aug 23 19:38:44 conf_show:
DebugLevel = 10
Fri Aug 23 19:38:44 conf_show:
DebugLogFile = stderr
Fri Aug 23 19:38:44 conf_show:
DoRouteOptimizationCN = enabled
Fri Aug 23 19:38:44 conf_show:
NonVolatileBindingCache = disabled
Fri Aug 23 19:38:44 conf_show:
PolicyModulePath = [internal]
Fri Aug 23 19:38:44 conf_show:
KeyMngMobCapability = disabled
Fri Aug 23 19:38:44 conf_show:
UseMnHaIPsec = disabled
Fri Aug 23 19:38:44 conf_show:
HaMaxBindingLife = 262140
Fri Aug 23 19:38:44 conf_show:
SendMobPfxAdvs = enabled
Fri Aug 23 19:38:44 conf_show:
SendUnsolMobPfxAdvs = enabled
Fri Aug 23 19:38:44 conf_show:
MinMobPfxAdvInterval = 600
Fri Aug 23 19:38:44 conf_show:
MaxMobPfxAdvInterval = 86400
Fri Aug 23 19:38:44 conf_show:
HaAcceptMobRtr = disabled
Fri Aug 23 19:38:44 conf_show:
HaServedPrefix = no prefixes
Fri Aug 23 19:38:44 conf_show:
DefaultBindingAclPolicy = allow
Fri Aug 23 19:38:44 xfrm_cn_init:
Adding policies and states for CN
Fri Aug 23 19:38:44 xfrm_ha_init:
Adding policies and states for HA
Fri Aug 23 19:38:44 ha_if_addr_setup:
Joined anycast group 2001:db8:ffff:0:fdff:ffff:ffff:fffe on iface 5
^C
The details of radvd configuration are:

user at home_agent:~$ cat /etc/radvd.conf
interface wlan0
{
# We are sending advertisments
(route)
AdvSendAdvert on;
MaxRtrAdvInterval 3;
MinRtrAdvInterval 1;
AdvIntervalOpt on;
AdvHomeAgentFlag on;
AdvHomeAgentInfo on;
HomeAgentLifetime 1800;
HomeAgentPreference 10;
# Netmask length must be "/64"
# (see RFC 2462, sect 5.5.3, page
18)
prefix 2001:DB8:ffff::/64
{
# Says to hosts:
# "Everything sharing
this prefix is on the
# same link as you."
AdvOnLink on;
# Says to hosts:
# "Use the prefix to
autoconfigure your address"
AdvAutonomous on;
AdvRouterAddr on;
};
};
interface eth0
{
AdvSendAdvert off;
};
user at home_agent:~$

My mip6d.conf file is:
user at home_agent:~$ cat /usr/local/etc/mip6d.conf

## mip6d Home Agent configuration file
NodeConfig HA;

## If set to > 0, will not detach from tty
DebugLevel 10;

## List of interfaces where we serve as Home Agent - i.e. the interface conected to the home link
Interface "wlan0";?

# Binding information
DefaultBindingAclPolicy allow;

# Disable IPsec static keying
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
user at home_agent:~$


Also,


user at home_agent:~$ cat
/etc/network/interfaces
# the loopback network interface
auto lo
iface lo inet loopback
# the MIPv6 wireless interface
allow-hotplug wlan0
iface wlan0 inet6 static
address 2001:db8:ffff:0::1000
netmask 64
user at home_agent:~$ user at home_agent:~$ ifconfig wlan0
wlan0???? Link encap:Ethernet? HWaddr 00:60:b3:30:2d:24?
????????? inet6 addr: 2001:db8:ffff::1000/64 Scope:Global
????????? inet6 addr: fe80::260:b3ff:fe30:2d24/64 Scope:Link
????????? UP BROADCAST RUNNING MULTICAST? MTU:1500? Metric:1
????????? RX packets:0 errors:0 dropped:0 overruns:0 frame:0
????????? TX packets:3727 errors:0 dropped:0 overruns:0 carrier:0
????????? collisions:0 txqueuelen:1000
????????? RX bytes:0 (0.0 B)? TX bytes:538795 (538.7 KB)

user at home_agent:~$
user at home_agent:~$ sudo sysctl -p
net.ipv6.conf.all.forwarding = 1
user at home_agent:~$


Any help would be greatly appreciated. I just can't seem to figure out what is wrong.

Please let me know if you want any additional information/output.

Thanks
Sana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.nautilus6.org/pipermail/support/attachments/20130823/e70b29b7/attachment.html>
Romain KUNTZ
2013-08-23 15:57:30 UTC
Permalink
Hello Sana,
Post by sana qadir
Hello,
user at home_agent:~$ sudo mip6d -c /usr/local/etc/mip6d.conf
mip6d[5827]: UMIP Mobile IPv6 for Linux v1.0 started (Home Agent)
Fri Aug 23 19:38:44 main: UMIP Mobile IPv6 for Linux started in debug mode, not detaching from terminal
Fri Aug 23 19:38:44 conf_show: Configuration file = /usr/local/etc/mip6d.conf
Fri Aug 23 19:38:44 conf_show: VT hostname = localhost
Fri Aug 23 19:38:44 conf_show: VT service = 7777
Fri Aug 23 19:38:44 conf_show: NodeConfig = 2
Fri Aug 23 19:38:44 conf_show: DebugLevel = 10
Fri Aug 23 19:38:44 conf_show: DebugLogFile = stderr
Fri Aug 23 19:38:44 conf_show: DoRouteOptimizationCN = enabled
Fri Aug 23 19:38:44 conf_show: NonVolatileBindingCache = disabled
Fri Aug 23 19:38:44 conf_show: PolicyModulePath = [internal]
Fri Aug 23 19:38:44 conf_show: KeyMngMobCapability = disabled
Fri Aug 23 19:38:44 conf_show: UseMnHaIPsec = disabled
Fri Aug 23 19:38:44 conf_show: HaMaxBindingLife = 262140
Fri Aug 23 19:38:44 conf_show: SendMobPfxAdvs = enabled
Fri Aug 23 19:38:44 conf_show: SendUnsolMobPfxAdvs = enabled
Fri Aug 23 19:38:44 conf_show: MinMobPfxAdvInterval = 600
Fri Aug 23 19:38:44 conf_show: MaxMobPfxAdvInterval = 86400
Fri Aug 23 19:38:44 conf_show: HaAcceptMobRtr = disabled
Fri Aug 23 19:38:44 conf_show: HaServedPrefix = no prefixes
Fri Aug 23 19:38:44 conf_show: DefaultBindingAclPolicy = allow
Fri Aug 23 19:38:44 xfrm_cn_init: Adding policies and states for CN
Fri Aug 23 19:38:44 xfrm_ha_init: Adding policies and states for HA
Fri Aug 23 19:38:44 ha_if_addr_setup: Joined anycast group 2001:db8:ffff:0:fdff:ffff:ffff:fffe on iface 5
^C
This is normal: the HA is simply waiting for a registration from mobile nodes. The HA will never quit as long as you don't stop it.

If you expect to run the HA in the background, you have to set DebugLevel to 0 in the HA configuration file.

Regards,
Romain

Loading...