Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178418

Re: confusion in /etc/network/interfaces

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: confusion in /etc/network/interfaces
Date 2017-03-04 21:20 +0100
Message-ID <thojL-630-7@gated-at.bofh.it> (permalink)
References <thlvz-41m-7@gated-at.bofh.it> <thlYC-4gH-9@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


Dominik George <nik@naturalnet.de> 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.

Grüße,
Sven


-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

confusion in /etc/network/interfaces Muhammad Yousuf Khan <sirtcp@gmail.com> - 2017-03-04 18:20 +0100
  Re: confusion in /etc/network/interfaces Dominik George <nik@naturalnet.de> - 2017-03-04 18:50 +0100
    Re: confusion in /etc/network/interfaces Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-03-04 19:50 +0100
      Re: confusion in /etc/network/interfaces Muhammad Yousuf Khan <sirtcp@gmail.com> - 2017-03-04 20:50 +0100
    Re: confusion in /etc/network/interfaces Sven Hartge <sven@svenhartge.de> - 2017-03-04 21:20 +0100
      Re: confusion in /etc/network/interfaces Jonathan Dowland <jmtd@debian.org> - 2017-03-06 11:20 +0100
        Re: confusion in /etc/network/interfaces Dominik George <nik@naturalnet.de> - 2017-03-06 11:40 +0100

csiph-web