Re: confusion in /etc/network/interfaces

2017-03-06 Thread Dominik George
>> "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. > >I've found my own brain to have a similar limitation, and find >interface >aliases useful for clarity even when I have ip(8)

Re: confusion in /etc/network/interfaces

2017-03-06 Thread Jonathan Dowland
On Sat, Mar 04, 2017 at 09:10:16PM +0100, Sven Hartge wrote: > 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. I'v

Re: confusion in /etc/network/interfaces

2017-03-04 Thread Sven Hartge
Dominik George 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:

Re: confusion in /etc/network/interfaces

2017-03-04 Thread Muhammad Yousuf Khan
sorry what i meant is eth1:1 sorry my mistake. but thanks for the clarification. On Sun, Mar 5, 2017 at 12:45 AM, Muhammad Yousuf Khan wrote: > sorry what i meant is eth1:1 sorry my mistake. > but thanks for the clarification. > > > On Sat, Mar 4, 2017 at 11:40 PM, Pascal Hambourg > wrote: > >>

Re: confusion in /etc/network/interfaces

2017-03-04 Thread Pascal Hambourg
Le 04/03/2017 à 18:40, Dominik George a écrit : eth:1 is nonsense. Why ? There could be an interface named "eth".

Re: confusion in /etc/network/interfaces

2017-03-04 Thread Dominik George
Hi, >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. Cheers, Nik

confusion in /etc/network/interfaces

2017-03-04 Thread Muhammad Yousuf Khan
Hi All, 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. Thanks, Yousuf