[CentOS] more than one IP address on network device?

Walter H. Walter.H at mathemainzel.info
Mon Sep 5 20:05:35 UTC 2016


On 05.09.2016 15:28, Alexander Dalloz wrote:
> Am 05.09.2016 um 14:27 schrieb Jonathan Billings:
>> On Sep 4, 2016, at 1:27 PM, Walter H. <walter.h at mathemainzel.info> 
>> wrote:
>>> 'ifconfig' doesn't show these additional addresses ...
>>
>> This is one of the many reasons why people don’t use ‘ifconfig’ anymore.
>
> As additional information: ifconfig as part of net-tools is deprecated 
> since 2009.
of course one can run ip .... commands having the same result as the 
ifconfig thing, but
how would this go, when e.g. eth0 shall be up at OS startup?

e.g. /etc/sysconfig/network-scripts/route6-sit1
with this content
::/0 dev sit1
does the job automatically using ip ....
(ip route add ::/0 dev sit1)

you will find e.g. where one runs
iptables -A ....
ip6tables -A ...
or other firewall solutions;
but all this doesn't make any sense as long it is done automatically 
after OS startup;
>
> https://serverfault.com/questions/633087/where-is-the-statement-of-deprecation-of-ifconfig-on-linux 
>
>
> net-tools isn't any longer installed by default on CentOS 7.
no ip ... command?



More information about the CentOS mailing list