Re: Aliases

Ralf Baechle (ralf@uni-koblenz.de)
Sat, 18 Aug 2001 23:45:11 +0200


On Sat, Aug 18, 2001 at 03:25:31PM -0400, David Ford wrote:

> >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
>
> You can shorten this to:
>
> ip a a 192.168.2.0/24 brd + dev eth0
>
> ..and leaving the scope global [by default] which makes it fully reachable.

I did not mean to reproduce the whole over 50 pages of docs documentation
in my posting.

Ralf
-
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/