[support] Bug MCoA + correction
NGUYEN Duc Kien
kien.duc-nguyen at univ-paris8.fr
Fri Oct 3 18:15:51 JST 2008
Hi,
Here a bug in MCoA (20080108) + the cause + our correction.
(-) Circumstance:
We
have MR who has 2 egress interface iface1 & iface2. First of all
we disconnect iface1, then iface2. After that iface1is reconnected: in
this case MR has only one interface iface1 connected.
(-) Error:
We
always see 2 bules on MR/2 bces on HA, and the applications which use
MCoAv6 like Interpol continue to take iface2’s BID to mark the
packages -> corresponding flows are stopped because iface2 remains still off-line.
(-) Cause:
MCoA
keeps the last bule even the corresponding interface is disconnected,
and when the other interfaces reconnect, it is always not deleted.
(-) Correction:
- 1st method: Delete the bule corresponding to interface off-line when another interface connects.
- 2rd method: Personally, I prefer to delete the last bule to simplify some xfrm problems in IPv4.
I
think in the actual MCoA code, you want to keep it because the time to
(delete + then create) > the time to modify tunnels. It is rather useful
in the case we have only one interface like
UMIP to make handover; but with MCoA that is not very important. I thus modify in src/mn.c->mcoa_mn_chk_ho_verdict (): remove “active_coa > 1 &&“.
Regards,
Kien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.nautilus6.org/pipermail/support/attachments/20081003/7b5a734c/attachment-0001.htm
More information about the Support
mailing list