4. Test bedNow you should have a working MIPL patched kernel, installed userlevel tools and enabled automatic startup at boot. If anything went wrong, go through the above sections carefully. 4.1. TestcaseThe addresses we are using in our test-bed are site-local. Note that linking local addresses won't work! Our test-bed consist of four nodes; see figure "Mobile IPv6 testbed".
Mobile IPv6 testbed 4.2. Step-by-step4.2.1. Fully functional IPv6 networkBefore we can start testing mobile IP, we need a fully functional IPv6 network. All the nodes should be able to ping each other. This is a crucial part. If, for example, AR is not able to ping HA, then there will be no binding update. I will give a brief instruction to get our network up and running using IPv6. For more info on setting up an IPv6 network, you can read Peter Bieringer's excellent Linux IPv6 HOWTO. I've turned off encryption for simplicity - NOTE that you should ALWAYS use encryption when dealing with wireless networks! Also note that the different wireless networks have different ESSIDs!
Instead of modifying proc variables, you can use sysctl. Note: We are setting static routes on our test-bed. You should now be able to ping all the hosts from every host. 4.2.2. Configuring radvd on ARWhen MN comes to a new network, it does a link-local address configuration, going to the next phase if that succeeds. I'll let [RFC2462] (IPv6 Stateless Address Autoconfiguration) describe the next phase: "The next phase of autoconfiguration involves obtaining a Router Advertisement or determining that no routers are present. If routers are present, they will send Router Advertisements that specify what sort of autoconfiguration a host should do. If no routers are present, stateful autoconfiguration should be invoked." "Routers send Router Advertisements periodically, but the delay between successive advertisements will generally be longer than a host performing autoconfiguration will want to wait. To obtain an advertisement quickly, a host sends one or more Router Solicitations to the all-routers multicast group." --- page 8 This is where we use RADVD. Read [RFC2462] more more details concerning IPv6 Stateless Address Autoconfiguration. We'll configure RADVD on AR's wireless interface. The radvd.conf file should contain this:
We then start it:
You should now be able to use radvdump to see that the radvd messages really are being sent periodically:
4.2.3. Configuring radvd on HATo enable the MN to know when it's home, HA should also be sending out RAs. We should therefore enable RADVD on the HA as well. The /etc/radvd.conf file should contain:
To be completed. 4.2.4. Configuring MIPv6The last configuration is MIPv6 settings in network-mip6.conf. In RedHat the file is found under /etc/sysconfig/network-mip6.conf. The file should be pretty self-explanatory.
Next, start mobile-IP:
You can verify that it started by doing:
If a tunnel comes up ip6tnl1, mobile-ip6 is started. Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |