Linux-Home
- Linux-Background
- Basics of Terminal
- User Administrator
- Permission in Linux
- Partition in Linux
- Logical Volume Manager
- IP Address Assignment
- Red Hat Package Manager
- Network File System
- File Transfer Protocol
- Backup in Linux
- Domain Name System
- Apache Web Server
- Disk Quotas in Linux
- Dynamic Host Configuration Protocol
- Mail Server in Linux
- RAID in Linux
Reference
IP address :
IP address can be :-
- Static IP address - Addresses that are manually assigned and do not change over time.
IP address :
An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication.
- Dynamic IP address - Addresses that are automatically assigned for a specific period of time and can change after this period is over.
ifconfig command :
It is used to assign temporary IP address and also check the system IP address.
nmtui command : [network manager tool]
It is used to assign permanent IP address.
service network restart command :
It is used to update permanent IP address database.
Assigning temporary IP address :-
Assign temporary IP address - [root@localhost~]#ifconfig enp1s6 192.168.0.130 To check the system IP address - [root@localhost~]#ifconfig
Assigning permanent IP address :-
Assign permanent IP address - [root@localhost~]#nmtui Edit a connection : enp1s6 <Edit...> IPv4 configuration => select <manual> IP and click on <show> Addresses 192.168.0.78/24 Click <OK> to quit. Update network service - [root@localhost~]#service network restart To check the system IP address - [root@localhost~]#ifconfig