Antony Stone writes: > On Wednesday 23 June 2004 8:01 pm, Dick St.Peters wrote: > > > Antony Stone writes: > > > The deprecated way to get multiple IPs results in pseudo-interface names > > > such as eth1:0, eth1:1 etc as you discussed. > > > > Deprecated by whom? > > http://mirrors.bieringer.de/Linux+IPv6-HOWTO/conf-ipv6-in-ipv4-point-to-point-tunnels.html > (Section headings 9.3.1.1 & 9.3.1.2) > http://seclists.org/lists/honeypots/2004/Jan-Mar/0209.html > http://www.uwsg.iu.edu/hypermail/linux/kernel/0108.2/0485.html These are deprecating the use of "ifconfig", not the use of pseudo-interface names. You can use pseudo-interface names with "ip": ip addr add dev eth0 a.b.c.d/e label eth0:1 What's more, the author of the last of your references doesn't seem to be aware that the labels aren't limited to numbers. His remark about the number of labels being limited to <10000 doesn't take into account labels eth0:aaaa through eth0:ZZZZ. Even that's not all; labels like eth0:/^%# are allowed too. I suspect non-printing characters will work also, although I haven't tried any yet. As additional icing on this "ip" cake, you can assign multiple IPs to a single pseudo-interface label, making it possible to deal with groups of IPs at once. However, most people aren't dealing with ipv6-in-ipv4 tunnels, honeypots, or thousands of IPs per interface, as are the references you cite. "ifconfig" will handle the vast majority of cases and is simpler to use when the power of "ip" is not needed. -- Dick St.Peters, stpeters@xxxxxxxxxxxxx