Re: UMIP errors
Hello,
On Jun 1, 2013, at 14:41 , zhiwei Han <hansir111 <at> gmail.com> wrote:
> Dear Romain,
>
> Hello! Thank you very much.
> I can not enter the laboratory at weekend, I can not show you my configuration now. I will show you as soon as I
can.
> I run command "mip6d" on HA and MN when MN is in homenet, I think the MN send BU to HA ,and HA send BA to MN,
because some message about BU/BA printed on the HA and MN screen.
I don't think so, because the MN is not supposed to exchange any BU/BA with the HA when starting in the home
network. As I explained before, Mobile IPv6 is not really involved when the MN is at home (usual routing is
used and no MN-HA tunnel is created).
> But when MN moves to visitnet, I do not see such messages on the HA screen.
This is probably the reason.
>
> ps:
> I am afraid maybe I don't know the correct way to get logs.
> I run command " mip6d ", but there is no mip6d.log on MN or HA.
> So I use "mip6d -l /var/log/mip6d.log" , then I can see the logs on HA and MN.
> But this time there are no messages on the screen.
> It seems that the process "mip6d" works in the background.
> And I run command " ps -aux|grep mip6d ", I can see the process.
You are also supposed to specify the configuration file on the commandline (with the '-c' option). Can you
also share your MN and HA configuration files?
Regards,
Romain
PS: please keep the mailing list in CC in our mail exchanges.
>
>
> thank you ,thank you very much for your reading.
>
>
> 2013/5/31 Romain KUNTZ <r.kuntz <at> gmail.com>
> Hello,
>
> From the MN logs, it seems that your MN does not send any Binding Update to the HA.
> Can you send your MN and HA configuration file too ?
>
> Romain
>
>
>
> On May 31, 2013, at 13:54 , zhiwei Han <hansir111 <at> gmail.com> wrote:
>
> > Dear Romain,
> > Thank you very much!
> > I do not have the real IPv6 network. I use 2 desktops and 1 laptop to build my testbed, I use Ubuntu 12.04.
> > desktop 1: ( two netcards,a wired netcard " eth1 " and a wireless netcard " wlan3 " ) as the HA and router.
> > eth1 2001:db8:fffe::1/64
> > wlan3 2001:db8:ffff::1000/64---homenet 2001:db8:ffff::/64
> > desktop 2: ( two netcards, a wired netcard " eh0 " and a wireless netcard " wlan0 " ) as the AR(acess router)
> > eth0 2001:db8:fffe::2/64
> > wlan0 2001:db8:ffee::1000/64 ---visitnet 2001:db8:ffee::/64
> >
> > laptop: (one netcard, wireless "wlan0" ) as MN
> > wlan0 hoa 2001:db8:ffff::1/64 ---home link "homenet"
> > the HA and AR are connect by a wired lan.
> >
> >
> >
> > <aaa.png>
> >
> > I use "ad-hoc" mode to build the homenet and visitnet.
> > HA: iwconfig wlan3 mode ad-hoc essid homenet enc off
> > AR: iwconfig wlan0 mode ad-hoc essid visitnet enc off
> >
> > when MN is in homenet,
> > MN: iwconfig wlan0 mode ad-hoc essid homenet enc off
> > then MN ping6 HA(wlan3) OK!
> > when MN move to visitnet,
> > MN: iwconfig wlan0 mode ad-hoc essid visitnet enc off!
> > then MN ping6 AR(wlan0) OK!
> >
> > ---------------my process-------------------------
> > 1. MN is in homenet, I try to ping6 each other, it works well.
> > 2. I run command radvd on HA and AR to send router advertisement.
> > 3. I run command " mip6d " on HA,and then MN.
> > now I can see many message printed on the screen, (sorry I have not known all the meaning of the messages)
> > 4. I run command " telnet localhost 7777 ", then command " bul ", I can see:
> >
> > ===BUL_ENTRY===
> > home address: 2001:db8:ffff::1
> > care-of-address: 2001:db8:ffff::1
> > CN address: 2001:db8:ffff::1000
> > ...
> >
> > HA can ping6 2001:db8:ffff::1 successfully.
> > now I run command "ifconfig" on MN, I can see a tunnel
> >
> > ip6tnl1 Link encap:未指定 硬件地址 20-01-0D-B8-FF-EE-00-00-00-00-00-00-00-00-00-00
> > inet6 地址: 2001:db8:ffff::1/128 Scope:Global
> > inet6 地址: fe80::226:c7ff:fe0c:f0c4/64 Scope:Link
> > UP POINTOPOINT RUNNING NOARP MTU:1460 跃点数:1
> > 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
> > 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
> > 碰撞:0 发送队列长度:0
> > 接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
> > ......
> > 5. I run command "iwconfig wlan0 essid visitnet enc off" on MN ,and then MN moves to visitnet.
> > now "telnet localhost 7777" then " bul " on MN, I can see
> >
> > ===BUL_ENTRY===
> > home address: 2001:db8:ffff::1
> > care-of-address: 2001:db8:ffee::226:c7ff:fe0c:f0c4
> > CN address: 2001:db8:ffff::1000
> > ...
> >
> > the MN get Care-of-Address, but I can not ping6 2001:db8:ffff::1(MN's hoa).
> > please tell me if you find some mistakes of the mipv6 process.
> > the mip6d logs are in the attachment.
> >
> > Thank you for your help!
> > Hans
> >
> >
> > 2013/5/31 Romain KUNTZ <r.kuntz <at> gmail.com>
> > Hello,
> >
> > On May 31, 2013, at 4:23 , zhiwei Han <hansir111 <at> gmail.com> wrote:
> >
> > > Dear,
> > >
> > > I want to create a mipv6 testbed.I have compiled the kernel 3.8.2 and installed the UMIP source code
successfully according to the website
> > > http://umip.org/docs/umip-install.html
> > > http://umip.org/docs/umip-mip6.html
> > >
> > > brief introduction:
> > > my home link: 2001:db8:ffff::/64 ,essid homenet
> > > ha: 2001:db8:ffff::1000/64
> > > MN's hoa: 2001:db8:ffff::1/64
> > >
> > > my foreign link :2001:db8:ffee::/64, essid visitnet
> > >
> > > My question is that, when the MN stays in home link,command "mip6d" works well. I can ping6 the MN's home
address 2001:db8:ffff::1. And I can see the buffer by telnet localhost 7777 on MN,like blew:
> > > home-of-address: 2001:db8:ffff::1
> > > care-of-address : 2001:db8:ffff::1
> > > home agent address: 2001:db8:ffff::1000
> >
> > When the MN is at home, Mobile IPv6 is not really involved (usual routing is used and no MN-HA tunnel is
created), so this means that at least your testbed routing seems to be OK.
> >
> > > But when MN hand over to the foreign network by using command "iwconfig wlan0 essid visitnet",I can see
the buffer by telnet terminal,like blew:
> > >
> > > home-of-address: 2001:db8:ffff::1
> > > care-of-address : 2001:db8:ffee::xxxx:xxxx:xxxx:xxxx.(according to mac address)
> > > home agent address: 2001:db8:ffff::1000
> > >
> > > And I run command "ifconfig" on MN, there is a ipv6 tunnel "ip6tnl1",whose IPv6 address is 2001:db8:ffff::1.
> > >
> > > BUT this time,I can't ping6 2001:db8:ffff::1(MN's home address) on HA or MN itself !
> > > I don not know the reason .
> >
> > I would need more information : can you send your testbed topology, your MN and HA configuration, as well
as the mip6d logs of the MN and the HA? We can probably find the reason from the logs.
> >
> > Thank you,
> > Romain
> >
> >
> > >
> > > I have been puzzled by this question. Can you please help?
> > > Thank you!
> > >
> > > _______________________________________________
> > > Support mailing list
> > > Support <at> ml.nautilus6.org
> > > http://ml.nautilus6.org/mailman/listinfo/support
> >
> >
> > <MNmip6d.log><HAmip6d.log>
>
>
_______________________________________________
Support mailing list
Support <at> ml.nautilus6.org
http://ml.nautilus6.org/mailman/listinfo/support