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.
--On Monday, September 05, 2016 4:15 PM +0200 Yamaban <foerster at lisas.de> wrote:> How about using the "ip" tool?Thanks. I looked at the man page and it looks like it's the Swiss army knife of Linux networking. Lots of subcommands. I'll dig through that.
Alexander Dalloz
2016-Sep-05 13:50 UTC
[CentOS] more than one IP address on network device?
Am 05.09.2016 um 15:29 schrieb Kenneth Porter:> --On Monday, September 05, 2016 4:15 PM +0200 Yamaban > <foerster at lisas.de> wrote: > >> How about using the "ip" tool? > > Thanks. I looked at the man page and it looks like it's the Swiss army > knife of Linux networking. Lots of subcommands. I'll dig through that.Probably a useful summary of ip (from iproute2) usecases: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/ While at it, forget about netstat and route as well ;) Alexander
Always Learning
2016-Sep-06 00:14 UTC
[CentOS] more than one IP address on network device?
On Mon, 2016-09-05 at 15:15 +0200, Yamaban wrote:> "ip addr show" and > "ip route show" > > should give the needed info, at least with Centos 7.xWorks on C5 and C6 too. -- Regards, Paul. England, EU. England's place is in the European Union.
On Tue, 6 Sep 2016 02:14, Always Learning wrote:> On Mon, 2016-09-05 at 15:15 +0200, Yamaban wrote: > >> "ip addr show" and >> "ip route show" >> >> should give the needed info, at least with Centos 7.x > > Works on C5 and C6 too.Good to know, b/c as my contact with C5 is minimal and no-existant with C6 , I could not check myself. C7 otoh, I use regulary. - Yamaban.