Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

[PATCH] IPv6addr: Support a parameter to specify interface name

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


inouekazu at intellilink

Aug 3, 2009, 5:53 PM

Post #1 of 2 (580 views)
Permalink
[PATCH] IPv6addr: Support a parameter to specify interface name

Hi lists,

I implemented a function to IPv6addr.
I'd like to explain the role of attached patch.
It's for changeset:cf020d609b57.
And it's to add a new parameter "nic" to specify interface.
I referred to Dejan's opinion
(http://www.gossamer-threads.com/lists/linuxha/dev/55234).

I would like to hear your opinions.

Best Regards,
Kazunori INOUE
Attachments: IPv6addr_support_nic_param.patch (6.78 KB)


Pascal.Andre at hp

Aug 4, 2009, 6:41 AM

Post #2 of 2 (519 views)
Permalink
Re: [PATCH] IPv6addr: Support a parameter to specify interface name [In reply to]

Hi Kazunori-san,

Eventhough I know that backward compatibility with Linux-HA v1 may not be the most important issue, is your modification compatible with v1 ? In other words, how can a v1 user declare the 'nic' to be used for IPv6 addresses ?

For IPv4, a v1 user had to declare its IP address as follows: <ip>/<prefix-len>/<interface> (ex: 135.9.8.7/24/eth0).

Now, would it be possible to declare IPv6 addresses in the same way ?
Ex: IPv6addr::3ffe:1111:2222:3333:4444:5556:6666:7777/64/eth0

That's what was done in the patch I proposed a few months ago (the patch you link to in your mail). Unfortunately, it appeared that my patch was too 'v1 oriented' ;) and Dejan asked me to add v2 support before re-submitting it. I had a look at what to do for this, without success (I'm quite a newbie about Linux-HA). Without more time to devote on this issue, I put it aside. I'm glad you raised the issue again ;). Now, I would be very thankful if your patch could fix this problem for v1 users too (unless it does it already). Maybe a solution could be to allow both ways to add the 'nic': via the parameter 'nic' or by appending it at the end the IPv6 address string. What do you think ?

Thanks and regards

Pascal ANDRE


> -----Original Message-----
> From: linux-ha-dev-bounces [at] lists
> [mailto:linux-ha-dev-bounces [at] lists] On Behalf Of
> Kazunori INOUE
> Sent: Tuesday, August 04, 2009 2:54 AM
> To: linux-ha-dev [at] lists
> Cc: shimazakik [at] intellilink
> Subject: [Linux-ha-dev] [PATCH] IPv6addr: Support a parameter
> to specify interface name
>
> Hi lists,
>
> I implemented a function to IPv6addr.
> I'd like to explain the role of attached patch.
> It's for changeset:cf020d609b57.
> And it's to add a new parameter "nic" to specify interface.
> I referred to Dejan's opinion
> (http://www.gossamer-threads.com/lists/linuxha/dev/55234).
>
> I would like to hear your opinions.
>
> Best Regards,
> Kazunori INOUE
>
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.