diff options
author | Nicolas Cavallari <nicolas.cavallari@green-communications.fr> | 2016-03-01 18:59:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-01 18:59:08 +0100 |
commit | e5aba8871254d411766b9d04d89dcff4ded21e76 (patch) | |
tree | 87ee4b576b0e291e43df6ca42f4fdfba9cd52b2c /loginutils/adduser.c | |
parent | 352f79acbd759c14399e39baef21fc4ffe180ac2 (diff) | |
download | busybox-e5aba8871254d411766b9d04d89dcff4ded21e76.tar.gz |
ifupdown: allow duplicate interface definitions
This patch allow to have multiple interface definitions, much like
Debian's ifupdown. More specifically, it removes the check for a
duplicate definition, so the impact on binary size should be fairly
minimal.
This configuration:
iface eth0 inet static
address 192.168.0.15
netmask 255.255.0.0
gateway 192.168.0.1
iface eth0 inet static
address 10.0.0.1
netmask 255.255.255.0
Will add two addresses to eth0 if ip is used. If ifconfig is used,
the standards methods will likely not stack, but the administrator may
still use the manual method. The DHCP method may work depending on the
DHCP client in use.
This is a fairly advanced feature for power users who knows what they
are doing. There are not many other network configuration systems that
allows multiple addresses on an interface.
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/adduser.c')
0 files changed, 0 insertions, 0 deletions