Re: [Fedora] General Linux Networking

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

 



Øyvind Lode wrote:

Yes. Already tried that....
"ifconfig" displays the ip adresses and subnet mask of all NICs.
Also ran "ifconfig eth0" just to display for the NIC I wanted but just gives me ip address and subnet mask so no info on Default Gateway, DNS Servers... + a lot of info about packages completed successfully, errors, collitions etc.


Am I missing something?

Nope. That information is still traditionally managed in several places because it wasn't (and some might say still isn't) really that related.


'ifconfig' displays network interface information (IP,netmask,etc).

'netstat -r' displays network routing table information (including default route).

the contents of '/etc/resolv.conf' contain your DNS information.

It would be relatively trivial to create a small script which gathers that data, reformats it, and prints a Windows-like 'ipconfig' style summary.

Note that the newer 'redhat-config-network' GUIs do pull all that data together.

-Bevan




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux