Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #178401 > unrolled thread
| Started by | Muhammad Yousuf Khan <sirtcp@gmail.com> |
|---|---|
| First post | 2017-03-04 18:20 +0100 |
| Last post | 2017-03-06 11:40 +0100 |
| Articles | 7 — 5 participants |
Back to article view | Back to linux.debian.user
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
| From | Muhammad Yousuf Khan <sirtcp@gmail.com> |
|---|---|
| Date | 2017-03-04 18:20 +0100 |
| Subject | confusion in /etc/network/interfaces |
| Message-ID | <thlvz-41m-7@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [next] | [standalone]
| From | Dominik George <nik@naturalnet.de> |
|---|---|
| Date | 2017-03-04 18:50 +0100 |
| Message-ID | <thlYC-4gH-9@gated-at.bofh.it> |
| In reply to | #178401 |
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
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2017-03-04 19:50 +0100 |
| Message-ID | <thmUG-4Xc-15@gated-at.bofh.it> |
| In reply to | #178405 |
Le 04/03/2017 à 18:40, Dominik George a écrit : > > eth:1 is nonsense. Why ? There could be an interface named "eth".
[toc] | [prev] | [next] | [standalone]
| From | Muhammad Yousuf Khan <sirtcp@gmail.com> |
|---|---|
| Date | 2017-03-04 20:50 +0100 |
| Message-ID | <thnQK-5A0-5@gated-at.bofh.it> |
| In reply to | #178408 |
[Multipart message — attachments visible in raw view] — view raw
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 <sirtcp@gmail.com> 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 <pascal@plouf.fr.eu.org> > wrote: > >> Le 04/03/2017 à 18:40, Dominik George a écrit : >> >>> >>> eth:1 is nonsense. >>> >> >> Why ? There could be an interface named "eth". >> >> >
[toc] | [prev] | [next] | [standalone]
| From | Sven Hartge <sven@svenhartge.de> |
|---|---|
| Date | 2017-03-04 21:20 +0100 |
| Message-ID | <thojL-630-7@gated-at.bofh.it> |
| In reply to | #178405 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Dowland <jmtd@debian.org> |
|---|---|
| Date | 2017-03-06 11:20 +0100 |
| Message-ID | <thXUd-6JB-1@gated-at.bofh.it> |
| In reply to | #178418 |
[Multipart message — attachments visible in raw view] — view raw
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've found my own brain to have a similar limitation, and find interface aliases useful for clarity even when I have ip(8) available. -- Jonathan Dowland Please do not CC me, I am subscribed to the list.
[toc] | [prev] | [next] | [standalone]
| From | Dominik George <nik@naturalnet.de> |
|---|---|
| Date | 2017-03-06 11:40 +0100 |
| Message-ID | <thYdB-6Qv-39@gated-at.bofh.it> |
| In reply to | #178484 |
>> "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) available. OTOH, it is important to be aware of the addresses being on the same interface, e.g. when it comes to firewall rules and ARP and the like. There are a few pitfalls in having more than one address on one interface which need to be taken into account. So I kind of like iproute2 making this clearer. -nik
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web