Difference between revisions of "Configuring a Network"

From rbachwiki
Jump to navigation Jump to search
Line 8: Line 8:
==DNS Server File==
==DNS Server File==
  /etc/resolv.conf
  /etc/resolv.conf
== Files which lists ports used==
/etc/services

Revision as of 00:17, 27 March 2019

Network Commands

lsmod # see what processes is loaded into memory
nmtui # modify network info
ifdown #unconfigures a NIC
ifup # configures Nic using /etc/sysconfig/

Configure Network interface

/etc/sysconfig/network-scripts/ifcfg-interface file

DNS Server File

/etc/resolv.conf

Files which lists ports used

/etc/services