Package: ifupdown Version: 0.6.8 Severity: wishlist Tags: patch
Greetings, a lot of setups require the addition of multiple ip addresses to a single network interface. The default ifupdown system debian employs offers no configuration directives to achieve this. The attached script in conjunction with the iproute package enables the configuration file /etc/network/interfaces to solve this issue by the introduction of a new parameter calles "addresses": iface eth0 inet static # the usual configuration address 192.168.0.1 netmask 255.255.255.0 # additional addresses, even multiple per line addresses 192.168.1.5/24 192.168.1.6/24 # multiple lines can be added by using an appended label addresses-sslsites 192.168.10.1/24 192.168.10.4/24 addresses-debug 10.0.0.2/8 The script (http://wertarbyte.de/debian/addresses) is placed in the directory /etc/network/if-up.d/ and a symlink towards it in if-down.d interprets the new parameters, merges all specified addresses and adds them by using "ip". When deconfiguring the interface, the addresses are removed as well. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-xen-vserver-amd64 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages ifupdown depends on: ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip ii net-tools 1.60-17 The NET-3 networking toolkit ifupdown recommends no packages. -- debconf information: ifupdown/convert-interfaces: true
addresses
Description: application/shellscript