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

(usagi-users 02341) Re: RADVD



William.

Thank you for the example, the HA radvd config file I think is correct, In your example below, the ravdv will advertise 3ffe:302:11:2, which has a a subnet of two, should this route advertisement prefix be used only by mobiles or computers in that subnet (2) or should another HA or router generate a Global IP using this prefix, even though the site local address subnet is set to 3 example fec0:0:0:3:45:45fe:ff46:4565.
As you mention below, the mobile does auto configure a Global address using the prefix and appending the Mac address with some manipulation (ff:fe etc), in addition to this, the mobile is also auto configuring another Global IP with the same prefix but a random Interface ID. In the case of the Link Local address fe80::MAC ADDRESS all the interfaces do have one.


Thank YOU.


william chao wrote:

The radvd.conf should specify the interface that your wireless network resides. Please see the following example.

interface eth1
{
AdvSendAdvert on;
#
# These settings cause advertisements to be sent every 3-10 seconds. This
# range is good for 6to4 with a dynamic IPv4 address, but can be greatly
# increased when not using 6to4 prefixes.
#
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
#
# Disable Mobile IPv6 support
#
AdvHomeAgentFlag off;
#
# example of a standard prefix
#
prefix 3ffe:302:11:2::/64 <---- your network prefix goes here
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};


On top of the fe80:: address you get from IPV6 by default, you will also get 3ffe:302:11:2:: address.



At 01:37 PM 5/1/2003 -0400, you wrote:

Thank you for the information. In regard to your quetion the CN will be a PC in the network running mobile-ip6 and configure as a Correspondent node. Unfortunatly I am not at the testing that part yet, for now I would like to get the router working properly so that radvd can run, once this is done, I will test the Mobile node sending a binding update to the HA once it gets a care off address. Thus as you can see I am going in small spets and I am using ethereal to see what is going on ion the network. Can you tell me in the behavior I mention beloww is normal, that is a computer with a different subnet gets a route advertisement from a different subnet and it creates a Global IP using that subnet?

I will apreciate if you can share any documentation that you might have regarding the configuration etc.

Thank You

william chao wrote:

At Naval Research Lab (NRL), we setup linux 7.3 with MIPL 0.9.5. doing exactly what you are trying to do. We successfully switched the MN from one AP to another and make the MN talked back and forward between two networks.

We did have some problem with some AP. We tried Linksys, 3com, and DLINK. Only DLINK can carried and forward IPV6 traffic. I suggest you use the MN to ethereal the AP and make sure to can see RADVD's traffic. Then you should make sure you have an IPV6 address on your MN. Then you can switch to another network where the Corresponding node is. I don't see you CN. What are you trying to do without a CN?

Good luck.




At 11:35 AM 5/1/2003 -0400, you wrote:

Hello,  I hope some one can direct me to solve my problem.

I am trying to test Mobile IPv6, I am using LapTops (LT)using Lucent and CISCO cards. The objective is just to show transparent mobility with IPv6. I am having problems setting up the router so that radvd can run properly.

LT1 (HA)has a wire interface (eth0) that is connected to the LAN (IPv4) with Subnet ID 1, and eth1 is wireless and it has the subnet ID of 2
LT2 (MN) has one wireless interface (eth0) and it's subnet ID is 2
LT3 (ROUTER) has two wireless interfaces, one (eth0) goes to the access point that is connected to another subnet (IPv4) and eth1 has the subnet ID of 3


I have some questions about the behavior of the radvd and some others regarding the router configuration.

I am having problems setting up the router so that radvd can run properly. As of today, I have configured the HA,
/etc/network-mip6.conf looks as follows:
FUCTIANALITY=ha
TUNNEL_SITELOCAL=yes
DEBUGLEVEL=1
MIN_TUNNEL_NR=2
MAX_TUNNEL_NR=3
HOMELINK=eth1


The /etc/radvd.conf is set so that it will advertice 3ffe:302:11:2::/64

Now since the Mobile is also configure to be in the same subnet, it will listen to the radvd and it uses the prefix to set itself with and Global IP v6 address by appending the MAC address and the fffe. In addition to this address it also set another Ipv6 Global address where the prefix including the subnet is the same as the other but the Interface ID looks to be set at random. IS THIS THE CORRECT BEHAVIOR? what is the other Global address used for?

Since I was not having much luck in setting up the router, to run radvd and test the mobile going from one subnet to another, I decided to set the LP3 as a home agent but with subnet 3 and see if radvd will run, I did not have any luck I check and the kernel settings of LP1 and LP3 are the same, at least in the network configuration portion. Since I the time I was testing LP1(eth1) LP2(eth0) and LP3(eth1) had all the same ESSID, I notice that the LP3(eth1) was actually using the LP1's radvd with subnet 2 to set Two Global
addresses, one use the MAC of its eth1 interface to set the Interface ID and the other Interface ID of the second Global ID was set at random I think.
Is this the correct behavior? As I mention above LP3 had a subnet of 3 and it pickup a radvd with the subnet 2 to set it's Global Ip address?


I will really appreciate any help.
In the case of the router, I did set ipforwarding in IPv6 but still did not work.



Thank you