Configuring a Network

From rbachwiki
Revision as of 02:06, 27 March 2019 by 130.156.1.84 (talk)
Jump to navigation Jump to search

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
nslookup # same as dig but depreciated
dig # used to query records

Files which lists ports used

/etc/services