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

Yamaban foerster at lisas.de
Mon Sep 5 13:15:02 UTC 2016


On Mon, 5 Sep 2016 15:05, Kenneth Porter wrote:
> On Monday, September 05, 2016 9:27 AM -0400 Jonathan Billings wrote:
>
>>  This is one of the many reasons why people don't use 'ifconfig'
>>  anymore.
>
> Is there a preferred tool? Perhaps a script that will dump out the full 
> network configuration for easy checking?

How about using the "ip" tool?

"ip addr show"  and
"ip route show"

should give the needed info, at least with Centos 7.x

  - Yamaban.



More information about the CentOS mailing list