Hello,

Le mardi 28 mars 2006 06:24, vous avez écrit :
> Adding IPv6 addresses to an existing /etc/network/interfaces file is
> cumbersome, as IPv6 does not support the logical interfaces, like
> eth0:23.

Well, it is cumbersome, but do-able:
...
        up ip -6 addr add 2001:db8::1/64 dev $IFACE
        down ip -6 addr del 2001:db8::1/64 dev $IFACE

> It would be convenient to make the /etc/network/interfaces  
> file support similar concepts for both IPv4 and IPv6 interfaces. 

IMHO, people should no longer use logical interfaces for IPv4 either. In 
both case, the use of iproute/netlink instead of net-tools/ioctl allows 
multiples addresses.

I personnaly find the idea of removing the ":xx" part of the interface 
really ugly (as in uglier than using the "cumbersome" approach above). 
I would expect naughty side effects, since it breaks common 
assumptions.

> Also, for inet6 interfaces, the iproute2 commands can be used to
> handle interface operations instead of ifconfig.

True. But again, it is also true for IPv4 or any other protocol family. 
Also, you can add and remove (IPv6-only) addresses using 
ioctl/ifconfig/net-tools. Is there anything that does not work properly 
when using the old interface? If not, I don't really see the point of 
updating, at least not only IPv6; it might make sense to move 
everything to iproute, but why just IPv6?

-- 
Rémi Denis-Courmont
http://www.remlab.net/

Attachment: pgprGWI0gtYpv.pgp
Description: PGP signature

Reply via email to