Hi,
Shiv Shankar wrote:
>
> i am working on mobile ip and struc at one palce. ie. i have been
> build a binding update header and sending it to the home agent. home agent is
> proccessing it and increasing variable "Bindupdtrecvd" by one but it is not
> updateng other information like bindingupdate list ( home address,
> careofaddress, lifetime,type). and also not returning any error. so please
> tell me where could be mistake.
did you see the binding ack from the HA in response to the binding
update you sent? if not, your binding update might have some wrong
parts. if you could show the dump of packets between MN and HA,
someone (maybe I) can tell you the packet format and the sequence was
correct or not.
> destination header is like this below
> 1byte -> nextheader
> 1byte->headerlength
> 1byte->option type
> 1byte->option length
> 8 byte-> option data
> 4byte->padding
>
> i will prefer if you can send me the complete destination option header for
> binding update.
here is a sample IPv6 packet that includes a binding update dest opt.
this packet format is based on the draft-13.
6000 0000 0040 3c3f 2001 the_ care of__
addr of__ MN__ ____ 2001 the_ addr of__
home agnt ____ ____ 3302 0102 0000 c910
^^^^^^^^^^^^^^^^^^^ <= home address dest opt
2001 the_ home addr of__ MN__ ____ ____
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3c04 0000 0000 05dc 0000 0005 ad2a 36c2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <= authtication header
6f43 f189 a001 3719 3b01 c608 c000 0005
~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^ <= binding update dest opt
0000 ffe7 0102 0000
^^^^^^^^^ ~~~~~~~~~ <= padding of dest opt
in this case, the binding update dest opt includes following
infomation.
next header(1) 0x3b (no next header)
length(1) 1 (16 bytes)
opt type(1) 0xc6 (binding update)
opt len(1) 8
flags(1) 0xc0 (ack request, home registration)
prefix len(1) 0
seq no(2) 5
lifetime(4) 0x0000ffe7
does this help you?
---
Keiichi SHIMA <[EMAIL PROTECTED]>
IIJ Research Laboratory
Internet Initiative Japan, Inc.
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]