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


Groups > linux.debian.user > #178486

Re: confusion in /etc/network/interfaces

From Dominik George <nik@naturalnet.de>
Newsgroups linux.debian.user
Subject Re: confusion in /etc/network/interfaces
Date 2017-03-06 11:40 +0100
Message-ID <thYdB-6Qv-39@gated-at.bofh.it> (permalink)
References <thlvz-41m-7@gated-at.bofh.it> <thlYC-4gH-9@gated-at.bofh.it> <thojL-630-7@gated-at.bofh.it> <thXUd-6JB-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> "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

Back to linux.debian.user | Previous | Next — Previous 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