Re: Unnumbered IP interfaces

From: Bernd Eckenfels (ecki@lina.inka.de)
Date: Sun May 28 2000 - 15:25:49 EST


In article <20000526041600.D13992@haybaler.sackheads.org> you wrote:
> If the box is a router and not generating any traffic (or at least very little
> traffic), point-to-point interfaces don't need an address... or in the case that
> they do generate traffic (ICMP unreach, etc) then they can use the address of
> another interface as configured.

> Just one way of reducing address-space wastage

In Linux you can do that by assigning multiple interfaces the same address.
This is possible since in the routing table you dont have to give the ip
address of the interface as the gateway for interface routes, but you can
directly tell the kernel which interface (by name) to use. An automatic
alias (i.e. use always the ip of eth0) is not possible afaik, but u dont
need that very often, i think.

Greetings
Bernd

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:19 EST