AW: [support] multihoming does not work
Trinks, Marcus (K-EFFI)
marcus.trinks at volkswagen.de
Fri Jul 4 17:13:41 JST 2008
I would like to mention that MIP works now with two interfaces. But I could not really figure out
why it doesent work before since I didnt change the config files.
best regards
Marcus
________________________________
Von: support-bounces at l2tp.nautilus6.org [mailto:support-bounces at l2tp.nautilus6.org] Im Auftrag von Trinks, Marcus (K-EFFI)
Gesendet: Donnerstag, 3. Juli 2008 12:27
An: support at l2tp.nautilus6.org
Betreff: [support] multihoming does not work
Dear nautilus6 community,
I have set up a MIP testbed based on 2.6.24-1-mip6-686. Mobility with one egress interface on the mobile router
works fine. But when i try to add a second interface I cannot register the mobile router with the second interface
to the home agent.
My mip6d.conf at the mobile router looks as follows:
# This is an example of mip6d NEMO enabled Mobile Router configuration file
NodeConfig MN;
DebugLevel 10;
DoRouteOptimizationCN disabled;
DoRouteOptimizationMN disabled;
UseCnBuAck disabled;
# Explicit Modus an
MobRtrUseExplicitMode enabled;
# Optimierte Handover eingeschaltet
OptimisticHandoff enabled;
# The Binding Lifetime in Sekunden
MnMaxHaBindingLife 60;
# ethX durch das Egress Interface ersetzen
# (Das ist das Interface welches mit dem Home Link oder Foreign Link verbunden ist)
Interface "eth1" {
MnIfPreference 1;
IfType MN;
}
Interface "eth2" {
MnIfPreference 2;
IfType MN;
}
# Ersetze eth0 durch das Egress Interface
MnHomeLink "eth1" {
IsMobRtr enabled;
HomeAgentAddress 2001:1:1:0::1000;
HomeAddress 2001:1:1:0::1/64 (2001:1:1:1::/64);
}
# IPsec Konfiguration - Momentan nicht unterstützt
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
#EOF
My startupskript at the mobile router is like this:
#!/bin/bash
# Mobile Router MR - Startup script
# Interface definition
IF1=eth1
IF2=eth0
# Put here the path to your radvd binary
RADVD=/usr/sbin/radvd
# Put here the path to your mip6d binary
NEMOD=/usr/sbin/mip6d
# Deny RA and setup forwarding
echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
# IF1 is the egress interface. Do not configure any address on it.
ifconfig $IF1 up
# IF2 is the ingress interface, connected to the NEMO-Link
ifconfig $IF2 up
ifconfig $IF2 inet6 add 2001:1:1:1::1/64
# IF3 ist das zweite Egress Interface
ifconfig $IF3 up
# Execute the router advertisement daemon
$RADVD -C /etc/radvd.conf
# Execute the NEMO daemon
$NEMOD -c /etc/mip6d.conf
The mip6d.conf at the home agent ist the following:
# This is an example of mip6d NEMO enabled Home Agent configuration file
NodeConfig HA;
# Set DebugLevel to 0 if you do not want debug messages
DebugLevel 10;
# Replace eth1 with the interface connected to the HOME LINK
Interface "eth1";
HaAcceptMobRtr enabled;
# MNP configuration
HaServedPrefix 2001:1:1:0::/64;
BindingAclPolicy 2001:1:1:0::1 (2001:1:1:1::/64) allow;
BindingAclPolicy 2001:1:1:0::2 (2001:1:1:1::/64) allow;
DefaultBindingAclPolicy allow;
# IPsec configuration - NO IPSEC AT THE MOMENT
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
# EOF
Would be great if somebody could give me support. Thanks a lot.
Thanks a lot in advanced.
best regards,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.nautilus6.org/pipermail/support/attachments/20080704/d587f3ee/attachment.htm
More information about the Support
mailing list