Use the ifcfg command of linux to configure the network interface
This article mainly introduces the use of linux ifcfg command to configure the network interface, the article is very detailed, has a certain reference value, interested friends must read it!
The ifcfg command is a Bash script that sets network interface parameters in linux.
Syntax format: ifcfg [parameters]
Common parameters:
Reference example
Stop the IP address on the specified network interface:
[root@linuxcool ~] # ifcfg eth0 stop
Configure the IP address for the network interface:
[root@linuxcool ~] # ifcfg eth2 add 192.168.60.11 Universe 24
Delete the network address for the network port:
[root@localhost ~] # ifcfg eth0 delete 192.168.10.250 and above are all the contents of configuring the network interface using the ifcfg command of linux. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!