Web lists-archives.com

Re: confusion in /etc/network/interfaces

Dominik George <nik@xxxxxxxxxxxxx> wrote:

>> I need to know that what is the difference b/w eth1.0101 and eth:1.
>> actually i need to know what is the main difference in "." and ":".
>> any suggestion will be highly appreciated.

> : denotes an alias (second address on same interface), . denotes a VLAN, and eth:1 is nonsense.

Worth noting: the interface:alias notation was introduced because
"ifconfig" can not handle multiple IPv4 addresses on one interface and
needs this kind of crutch.

The far more modern command "ip" has no such limitations.


Sigmentation fault. Core dumped.