Re: single machine, different IP addresses
Camaleón <noelamac@gmail.com> wrote:
> On Tue, 08 Feb 2011 11:27:27 +0100, Artur Frydel wrote:
>> IMO the better choice is to use ip tool. For example;
>> ip a a 192.168.0.1/24 dev eth0
> "ip" tool settings will lost after computer restarts unless you make an
> script that sets the data on every network reboot... I think IP alias
> (virtual interface) is the way to go.
It is enough to insert
post-up ip addr add dev eth0 192.168.0.1/24
into the stanza of the appropriate interface.
Rob
--
For every problem there is one solution which is simple, neat, and wrong.
-- H. L. Mencken
Reply to: