[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: better /etc/init.d/network



> 
> As we're discussing things here... i think it's important that we add the
> possbility to attach IPv6 addresses to an interface. Since you can have
> multiple IPv6 addresses on an interface i was thinking of something like
> this:
> 
> IPADDR = 192.168.2.1
> IP6ADDR = 3ffe:604:5:4::1/80
> IP6ADDR = 5ffe:12:2::1/80
> 
> Taking the current IPv6 aggregatable addressing scheme in mind it might be
> better to seperate the prefixes from the addresses, something like:
> 
> PREFIX6 = 3ffe:604:5:4/80
> PREFIX6 = 5ffe:12:2/80
> HOST6 = 1
> 
> If there's noone objecting to the addition of IPv6 stuff to the interface
> we could work out a proper way of specifying it on the debian-ipv6 list.
> 
> Comments?
> 
> Michel Onstein     |   CistroN Group    |  Linux-, Internet-
> promera@cistron.nl |                    |  Telecom specialists
> 

I don't know very much about IPv6. If anyone could give me some synthetic
information about the commands and the syntax needed to configure an IPv6
interface and add routing entries I will be glad to add the feature.

In the meantime you can try the next version of the package:

  http://www.cs.unitn.it/~dz/debian/net_1.1-1_all.deb

I have added the NETGROUP and OPTIONS fields to the config file and the
new hooks before_net_up() and after_net_down(). I haven't added support
for scripts like <interface>.postup.<package> for two reasons, first you
can do the same things with net_up and the other functions and second I
don't like the idea of package postinst script messing with my network
configuration files. Those things should be done by hand.
Also the suggestion of an user option seems bad to me. I don't want my
users start and stop network interfaces. And it would also require a
setuid script, which is of course a very bad idea.

-- 
Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto               email: dz@cs.unitn.it               |
|  Via Marconi, 141                phone: ++39-0461534251              |
|  38057 Pergine Valsugana (TN)      www: http://www.cs.unitn.it/~dz/  |
|  Italy                             pgp: finger dz@tango.cs.unitn.it  |
+----------------------------------------------------------------------+


Reply to: