NETWORK
NETWORK
CONFIGURATIONS
Network is basically collection of computer which are being
connected with each other to share resources between them
- It is being done with help of IP address
- IP is a large address which help to connect different node on the
network
COMMANDS FOR NETWORK CONFIGURATION
- ifconfig à to view
network setting such as IP address & MAC address
- nmtui à (
network manager tool user interface ) – To input the IP address and further
setting on Linux machine
- ifup <interface name > à To enable particular Ethernet interface
- ifdown <interface name > à To disable particular interface
- systemctl restart network à To restart services of network setting
- systemctl status network à to check detail regarding network services
MAJOR
FILE LOCATIONS
à Network configuration file
# /etc/sysconfig/network-scripts/if cfg
<interface name >
àDNS service file
# /etc/resolve.con
è
Temporary DNS resolution
entry
#/etc/hosts
è
Set Host name
# hostnamectl set-hostname <name >
There Are Two Methods For Ip Assignment
1> Static
2> Dynamic