lkml.org 
[lkml]   [2001]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Aliases
From
Date
Ralf Baechle <ralf@uni-koblenz.de> writes:
>
> For various reasons interfaces aliases are deprecated. The recommended
> way of doing things these days is just adding more addresses to an
> interface with the ip(8) program from the iproute package. It works like:
>
> ip addr add 192.168.2.0/24 broadcast 192.168.2.255 scope host dev eth0

Newer ifconfig also supports "add" for IPv4 (older supported it only for
v6)

The problem of the original poster is also likely to have an too old ifconfig;
older ones had some O(n^2) algorithms with hurt with many interfaces.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.025 / U:1.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site