27 Aug
2006
27 Aug
'06
19:45
You can't set multiple IP addresses to a single interface. You need to create an alias interface, lo:1, for instance.
This is wrong. You can create multiple IP addresses for a single interface without the use of aliases: ip a a 1.2.3.4/5 dev eth0 ip a a 2.3.4.5/6 dev eth0 However, it may not be possible to do that right away with the config scripts, though.
Which is what I've tried to do with the config I posted.
However, you shouldn't be adding ip addresses to the loopback, unless absolutely necessary.
It is absolutely necessary.
The "lo" interface already responds to the whole 127.0.0.0/8 range even though only one address (.1) is assigned. What more? Jan Engelhardt --