[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02329) Re: Mobile IPv6



Krishna,

Thank you for your help,
I look under /proc/net and there is no ipv6, the only thing find is an ipv6_route and ipv6_bcache. In the case of the home agent there is also mip6_home_agents file. Is there some other parameter that I need to enable in the kernel, so that the /proc/net shows ipv6?


Krishna Kumar wrote:



When you start mobile-ip script as a HA, it sets
/proc/net/ipv6/conf/all/forwarding to 1 to show that it is a router.
radvd will start only if the system is a router, check /var/log/messages
for radvd exit message if forwarding==0.
So it starts when you run the HA script. Normally, router's are not allowed
to autoconfigure their addresses, that
is why radvd will not configure the system interfaces.

You can do following :
1. echo 1 > /proc/net/ipv6/conf/all/forwarding
2. radvd
Following 3 steps are for the router to configure it's own addresses :
3. echo 0 > /proc/net/ipv6/conf/all/forwarding
4. <wait for a few seconds, atleast till you get one RA, this will
configure the router's interfaces>
5. echo 1 > /proc/net/ipv6/conf/all/forwarding
6. start mobility.

So mobility is not dependent on radvd or vice-versa.

- KK



|---------+---------------------------->
|         |           William Sanchez  |
|         |           <wsanchez@ideorla|
|         |           ndo.org>         |
|         |                            |
|         |           04/25/2003 01:57 |
|         |           PM               |
|         |           Please respond to|
|         |           usagi-users      |
|         |                            |
|---------+---------------------------->
 >-----------------------------------------------------------------------------------------------------------------|
 |                                                                                                                 |
 |       To:       usagi-users@xxxxxxxxxxxxxx                                                                      |
 |       cc:                                                                                                       |
 |       Subject:  (usagi-users 02321) Mobile IPv6                                                                 |
 |                                                                                                                 |
 >-----------------------------------------------------------------------------------------------------------------|




I am trying to test Mobile IPv6 by using usagi-20030331, it looks like the HA is working and I am able to start the radvd only after I start /etc/init.d/mobile-ip6 script. Im having problems configuring the router so that radvd can operate. Is it normal to start mobile-ip6 script prior to radvd.? Do I need to configure the router as a CN and also run the mobile-ip6 script prior to running radvd? I should mention that the kernel configuration is a combiantion of Mario Tortonesi's "Obtaining the best IPv6 support for Linux" and the note to set MIP6 that comes with the distribution.

THANK YOU