Re: confusion in /etc/network/interfaces
- Date: Sat, 4 Mar 2017 21:10:16 +0100
- From: Sven Hartge <sven@xxxxxxxxxxxxx>
- Subject: 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.