Re: more than one IP address on network device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxx> 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?

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux