User Tools

Site Tools


itk:changing_ip_address_of_attached_device

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

itk:changing_ip_address_of_attached_device [2016/05/26 20:54]
mazhang created
itk:changing_ip_address_of_attached_device [2016/05/26 20:54] (current)
mazhang
Line 1: Line 1:
 ====== Changing IP Address of Attached Device ====== ====== Changing IP Address of Attached Device ======
  
-In /etc/sysconfig/network-scripts/ you'll find a bunch of files start begin with "ifcfg-". For example, for device "enp1s7", you'll find a config file called "ifcfg-enp1s7". In here you can change the IP address assigned to the device when it is connected. Do "sudo /etc/init.d/network restartafter changing the file for it to take effect.+In /etc/sysconfig/network-scripts/ you'll find a bunch of files start begin with "ifcfg-". For example, for device "enp1s7", you'll find a config file called "ifcfg-enp1s7". In here you can change the IP address assigned to the device when it is connected. Do 
 +<code>sudo /etc/init.d/network restart</code> 
 +after changing the file for it to take effect.
itk/changing_ip_address_of_attached_device.1464296069.txt.gz · Last modified: 2016/05/26 20:54 by mazhang